11 |
# Your programs source code should start with this |
# Your programs source code should start with this |
12 |
# (uncomment the parts you do not need to keep the program small): |
# (uncomment the parts you do not need to keep the program small): |
13 |
# ---8<--- |
# ---8<--- |
14 |
#define FT_USE_AUTOHINT // autohinter |
#define FT_USE_AUTOFIT // autofitter |
15 |
#define FT_USE_RASTER // monochrome rasterizer |
#define FT_USE_RASTER // monochrome rasterizer |
16 |
#define FT_USE_SMOOTH // anti-aliasing rasterizer |
#define FT_USE_SMOOTH // anti-aliasing rasterizer |
17 |
#define FT_USE_TT // truetype font driver |
#define FT_USE_TT // truetype font driver |
18 |
#define FT_USE_T1 // type1 font driver |
#define FT_USE_T1 // type1 font driver |
19 |
#define FT_USE_T42 // type42 font driver |
#define FT_USE_T42 // type42 font driver |
20 |
#define FT_USE_T1CID // cid-keyed type1 font driver |
#define FT_USE_T1CID // cid-keyed type1 font driver |
21 |
#define FT_USE_CFF // opentype font driver |
#define FT_USE_CFF // opentype font driver |
22 |
#define FT_USE_BDF // bdf bitmap font driver |
#define FT_USE_BDF // bdf bitmap font driver |
23 |
#define FT_USE_PCF // pcf bitmap font driver |
#define FT_USE_PCF // pcf bitmap font driver |
24 |
#define FT_USE_PFR // pfr font driver |
#define FT_USE_PFR // pfr font driver |
25 |
#define FT_USE_WINFNT // windows .fnt|.fon bitmap font driver |
#define FT_USE_WINFNT // windows .fnt|.fon bitmap font driver |
26 |
|
#define FT_USE_OTV // opentype validator |
27 |
#include "FT:src/base/ftinit.c" |
#include "FT:src/base/ftinit.c" |
28 |
# ---8<--- |
# ---8<--- |
29 |
# |
# |
70 |
# |
# |
71 |
# FreeType2 library base extensions |
# FreeType2 library base extensions |
72 |
# |
# |
73 |
ftglyph.ppc.o: $(FTSRC)/base/ftglyph.c |
ftbbox.ppc.o: $(FTSRC)/base/ftbbox.c |
74 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
75 |
|
|
76 |
ftbbox.ppc.o: $(FTSRC)/base/ftbbox.c |
ftbdf.ppc.o: $(FTSRC)/base/ftbdf.c |
77 |
|
$(CC) -c $(CFLAGS) -o $@ $< |
78 |
|
|
79 |
|
ftglyph.ppc.o: $(FTSRC)/base/ftglyph.c |
80 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
81 |
|
|
82 |
ftmm.ppc.o: $(FTSRC)/base/ftmm.c |
ftmm.ppc.o: $(FTSRC)/base/ftmm.c |
85 |
ftsynth.ppc.o: $(FTSRC)/base/ftsynth.c |
ftsynth.ppc.o: $(FTSRC)/base/ftsynth.c |
86 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
87 |
|
|
88 |
# |
fttype1.ppc.o: $(FTSRC)/base/fttype1.c |
89 |
# FreeType2 library autohinting module |
$(CC) -c $(CFLAGS) -o $@ $< |
90 |
# |
|
91 |
autohint.ppc.o: $(FTSRC)/autohint/autohint.c |
ftwinfnt.ppc.o: $(FTSRC)/base/ftwinfnt.c |
92 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
93 |
|
|
94 |
# |
# |
95 |
# FreeType2 library autohinting module extensions |
# FreeType2 library autofitting module |
96 |
# |
# |
97 |
ahoptim.ppc.o: $(FTSRC)/autohint/ahoptim.c |
autofit.ppc.o: $(FTSRC)/autofit/autofit.c |
98 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
99 |
|
|
100 |
# |
# |
134 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
135 |
|
|
136 |
# |
# |
137 |
# FreeType2 library glyph and image caching system (still experimental) |
# FreeType2 library glyph and image caching system |
138 |
# |
# |
139 |
ftcache.ppc.o: $(FTSRC)/cache/ftcache.c |
ftcache.ppc.o: $(FTSRC)/cache/ftcache.c |
140 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
182 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
183 |
|
|
184 |
# |
# |
185 |
|
# FreeType2 library gzip support for compressed PCF bitmap fonts |
186 |
|
# |
187 |
|
gzip.ppc.o: $(FTSRC)/gzip/ftgzip.c |
188 |
|
$(CC) -c $(CFLAGS) -o $@ $< |
189 |
|
|
190 |
|
# |
191 |
|
# FreeType2 library compress support for compressed PCF bitmap fonts |
192 |
|
# |
193 |
|
lzw.ppc.o: $(FTSRC)/lzw/ftlzw.c |
194 |
|
$(CC) -c $(CFLAGS) -o $@ $< |
195 |
|
|
196 |
|
# |
197 |
# FreeType2 library PFR font driver |
# FreeType2 library PFR font driver |
198 |
# |
# |
199 |
pfr.ppc.o: $(FTSRC)/pfr/pfr.c |
pfr.ppc.o: $(FTSRC)/pfr/pfr.c |
205 |
winfnt.ppc.o: $(FTSRC)/winfonts/winfnt.c |
winfnt.ppc.o: $(FTSRC)/winfonts/winfnt.c |
206 |
$(CC) -c $(CFLAGS) -o $@ $< |
$(CC) -c $(CFLAGS) -o $@ $< |
207 |
|
|
208 |
BASEPPC = ftbase.ppc.o ftglyph.ppc.o ftbbox.ppc.o ftmm.ppc.o ftsynth.ppc.o |
# |
209 |
|
# FreeType2 library OpenType validator |
210 |
|
# |
211 |
|
otvalid.ppc.o: $(FTSRC)/otvalid/otvalid.c |
212 |
|
$(CC) -c $(CFLAGS) -o $@ $< |
213 |
|
|
214 |
|
BASEPPC = ftbase.ppc.o ftbdf.ppc.o ftglyph.ppc.o ftbbox.ppc.o ftmm.ppc.o\ |
215 |
|
ftsynth.ppc.o fttype1.ppc.o ftwinfnt.ppc.o |
216 |
|
|
217 |
DEBUGPPC = ftdebug.ppc.o ftdebugpure.ppc.o |
DEBUGPPC = ftdebug.ppc.o ftdebugpure.ppc.o |
218 |
|
|
219 |
AHINTPPC = autohint.ppc.o ahoptim.ppc.o |
AFITPPC = autofit.ppc.o |
220 |
|
|
221 |
|
OTVPPC = otvalid.ppc.o |
222 |
|
|
223 |
PSPPC = psaux.ppc.o psnames.ppc.o pshinter.ppc.o |
PSPPC = psaux.ppc.o psnames.ppc.o pshinter.ppc.o |
224 |
|
|
227 |
FONTDPPC = cff.ppc.o type1.ppc.o type42.ppc.o type1cid.ppc.o truetype.ppc.o\ |
FONTDPPC = cff.ppc.o type1.ppc.o type42.ppc.o type1cid.ppc.o truetype.ppc.o\ |
228 |
bdf.ppc.o pcf.ppc.o pfr.ppc.o winfnt.ppc.o |
bdf.ppc.o pcf.ppc.o pfr.ppc.o winfnt.ppc.o |
229 |
|
|
230 |
libft2_ppc.a: $(BASEPPC) $(AHINTPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) |
libft2_ppc.a: $(BASEPPC) $(AFITPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o lzw.ppc.o |
231 |
$(AR) $@ $(BASEPPC) $(AHINTPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) |
$(AR) $@ $(BASEPPC) $(AFITPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o lzw.ppc.o |
232 |
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1 |
-@ ($(RANLIB) $@ || true) >/dev/null 2>&1 |