summaryrefslogtreecommitdiff
path: root/Build/source/libs/freetype/freetype-1.5/lib/arch/amigaos/smakefile
blob: 533c75195b47a1568538680a11710041767428e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# This file is part of the FreeType project.
#
# It builds the library for amiga using SAS/C and smake
#
# Use this file while in the 'lib/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.o

OBJS = freetype.o

OBJX = ftxgasp.o ftxkern.o ftxpost.o ftxcmap.o ftxwidth.o \
       ftxsbit.o ftxgsub.o ftxgpos.o ftxgdef.o ftxopen.o

CORE = FT:lib/
COREXT = $(CORE)extend/

OPTIMIZER = optimize optcomp=5 optdep=4 optinlocal optrdep=4

SCFLAGS = idlen=40 idir=$(CORE)arch/amigaos idir=$(CORE) idir=$(COREXT)

LIB=ttf.lib

all:	ttf.lib

assign:
	assign FT: ///

ttf.lib: $(OBJS) $(OBJX)
	oml $@ r $(OBJS) $(OBJX) 

ttfdbg.lib: $(OBJB) $(OBJX)
	oml $@ r $(OBJB) $(OBJX) 

clean:
	-delete \#?.o
	-delete //\#?.o

distclean: clean
	-delete \#?.lib


#
# 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=$@ $<
ftxerr18.o: $(COREXT)ftxerr18.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=$@ $<
ftxgdef.o: $(COREXT)ftxgdef.c
	sc $(SCFLAGS) objname=$@ $<
ftxopen.o: $(COREXT)ftxopen.c
	sc $(SCFLAGS) objname=$@ $<

# end of smakefile