📄 smakefile
字号:
# This file is part of the FreeType project.## It builds the library and test programs for amiga using SAS/C# and smake## Use this file while in the 'test/arch/amigaos' directory with# the following statements:## smake assign# smake## the 'assign' step creates an assignment to simplify referencing# the core library module, as smake has quite a few limitations in# dealing with multi-directory projects.### Copyright 1996-2001 by# David Turner, Robert Wilhelm, and Werner Lemberg.## This file is part of the FreeType project, and may only be used, modified,# and distributed under the terms of the FreeType project license,# LICENSE.TXT. By continuing to use, modify, or distribute this file you# indicate that you have read the license and understand and accept it# fully.OBJB = ttapi.o ttcache.o ttcalc.o ttcmap.o ttdebug.o \ ttextend.o ttfile.o ttgload.o ttinterp.o ttload.o \ ttmemory.o ttmutex.o ttobjs.o ttraster.oOBJS = freetype.oOBJX = ftxgasp.o ftxkern.o ftxpost.o ftxcmap.o ftxwidth.o \ ftxsbit.o ftxgsub.o ftxgpos.o ftxgdef.o ftxopen.oCORE = FT:lib/COREXT = $(CORE)extend/TST = FT:test/OPTIMIZER = optimize optcomp=5 optdep=4 optinlocal optrdep=4SCFLAGS = idlen=40 idir=$(CORE)arch/amigaos idir=$(CORE) idir=$(COREXT)TSCFLAGS = $(SCFLAGS) idir=$(TST)LIB=ttf.libTOPTS=$(TSCFLAGS) link lib=$(LIB) lib=lib:scm.lib \ lib=lib:sc.lib lib=lib:amiga.libEXE = ftzoom ftlint ftview fttimer ftmetric \ ftdump ftstring ftstrpnm ftsbit ftstrttoTOBJ = gw_amiga.o gmain.o common.o textdisp.o blitter.o display.oall: ttf.lib $(EXE)assign: assign FT: ///ttf.lib: $(OBJS) $(OBJX) oml $@ r $(OBJS) $(OBJX) ttfdbg.lib: $(OBJB) $(OBJX) oml $@ r $(OBJB) $(OBJX) clean: -delete \#?.o -delete //\#?.o -delete \#?.lib -delete $(EXE)## freetype library core single object#freetype.o: $(CORE)arch/amigaos/freetype.c sc $(SCFLAGS) code=far $(OPTIMIZER) objname=$@ $<## freetype library core as separate objects#ttapi.o: $(CORE)ttapi.c sc $(SCFLAGS) objname=$@ $<ttcache.o: $(CORE)ttcache.c sc $(SCFLAGS) objname=$@ $<ttcalc.o: $(CORE)ttcalc.c sc $(SCFLAGS) objname=$@ $<ttcmap.o: $(CORE)ttcmap.c sc $(SCFLAGS) objname=$@ $<ttdebug.o: $(CORE)ttdebug.c sc $(SCFLAGS) objname=$@ $<ttextend.o: $(CORE)ttextend.c sc $(SCFLAGS) objname=$@ $<ttfile.o: $(CORE)ttfile.c sc $(SCFLAGS) objname=$@ $<ttgload.o: $(CORE)ttgload.c sc $(SCFLAGS) objname=$@ $<ttinterp.o: $(CORE)ttinterp.c sc $(SCFLAGS) objname=$@ $<ttload.o: $(CORE)ttload.c sc $(SCFLAGS) objname=$@ $<ttmemory.o: $(CORE)ttmemory.c sc $(SCFLAGS) objname=$@ $<ttmutex.o: $(CORE)ttmutex.c sc $(SCFLAGS) objname=$@ $<ttobjs.o: $(CORE)ttobjs.c sc $(SCFLAGS) objname=$@ $<ttraster.o: $(CORE)ttraster.c sc $(SCFLAGS) objname=$@ $<## library extentions#ftxgasp.o: $(COREXT)ftxgasp.c sc $(SCFLAGS) objname=$@ $<ftxkern.o: $(COREXT)ftxkern.c sc $(SCFLAGS) objname=$@ $<ftxpost.o: $(COREXT)ftxpost.c sc $(SCFLAGS) objname=$@ $<ftxcmap.o: $(COREXT)ftxcmap.c sc $(SCFLAGS) objname=$@ $<ftxwidth.o: $(COREXT)ftxwidth.c sc $(SCFLAGS) objname=$@ $<ftxsbit.o: $(COREXT)ftxsbit.c sc $(SCFLAGS) objname=$@ $<ftxgsub.o: $(COREXT)ftxgsub.c sc $(SCFLAGS) objname=$@ $<ftxgpos.o: $(COREXT)ftxgpos.c sc $(SCFLAGS) objname=$@ $< code=farftxgdef.o: $(COREXT)ftxgdef.c sc $(SCFLAGS) objname=$@ $<ftxopen.o: $(COREXT)ftxopen.c sc $(SCFLAGS) objname=$@ $<## Test programs#ftzoom: $(TST)ftzoom.c $(TOBJ) $(LIB) sc $(TST)ftzoom.c programname=$@ $(TOBJ) $(TOPTS)ftlint: $(TST)ftlint.c common.o $(LIB) sc $(TST)ftlint.c programname=$@ common.o $(TOPTS)ftdump: $(TST)ftdump.c common.o $(LIB) sc $(TST)ftdump.c programname=$@ common.o $(TOPTS)# use unsigned char so full latin1 encoding may be used in string argumentftstring: $(TST)ftstring.c $(TOBJ) $(LIB) sc $(TST)ftstring.c uchar programname=$@ $(TOBJ) $(TOPTS)ftview: $(TST)ftview.c $(TOBJ) $(LIB) sc $(TST)ftview.c programname=$@ $(TOBJ) $(TOPTS)fttimer: $(TST)fttimer.c $(TOBJ) $(LIB) sc $(TST)fttimer.c programname=$@ $(TOBJ) $(TOPTS)ftstrpnm: $(TST)ftstrpnm.c common.o $(LIB) sc $(TST)ftstrpnm.c uchar programname=$@ common.o $(TOPTS)ftsbit: $(TST)ftsbit.c common.o textdisp.o $(LIB) sc $(TST)ftsbit.c programname=$@ common.o textdisp.o $(TOPTS)ftmetric: $(TST)ftmetric.c common.o textdisp.o $(LIB) sc $(TST)ftmetric.c programname=$@ common.o textdisp.o $(TOPTS)# use unsigned char so full latin1/UTF8 encoding may be used in argumentftstrtto: $(TST)ftstrtto.c $(TOBJ) arabic.o $(LIB) sc $(TST)ftstrtto.c uchar programname=$@ $(TOBJ) \ arabic.o $(TOPTS)## Test program support modules#gw_amiga.o: gw_amiga.c sc gw_amiga.c $(TSCFLAGS)common.o: $(TST)common.c sc $(TSCFLAGS) objname=$@ $<textdisp.o: $(TST)textdisp.c sc $(TSCFLAGS) objname=$@ $<blitter.o: $(TST)blitter.c sc $(TSCFLAGS) objname=$@ $<display.o: $(TST)display.c sc $(TSCFLAGS) objname=$@ $<gmain.o: $(TST)gmain.c sc $(TSCFLAGS) objname=$@ $<arabic.o: $(TST)arabic.c sc $(TSCFLAGS) objname=$@ $<# end of smakefile
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -