PageRenderTime 22ms CodeModel.GetById 9ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 1ms

/modules/freetype2/builds/amiga/makefile

http://github.com/zpao/v8monkey
Makefile | 294 lines | 115 code | 63 blank | 116 comment | 1 complexity | c5835787c9b6a42cb52792070e79d86d MD5 | raw file
  1#
  2# Makefile for FreeType2 link library using ppc-morphos-gcc-2.95.3-bin.tgz
  3# (gcc 2.95.3 hosted on 68k-Amiga producing MorphOS-PPC-binaries from
  4# http://www.morphos.de)
  5#
  6
  7
  8# Copyright 2005, 2006, 2007, 2009 by
  9# Werner Lemberg and Detlef W�rkner.
 10#
 11# This file is part of the FreeType project, and may only be used, modified,
 12# and distributed under the terms of the FreeType project license,
 13# LICENSE.TXT.  By continuing to use, modify, or distribute this file you
 14# indicate that you have read the license and understand and accept it
 15# fully.
 16
 17
 18#
 19# to build from the builds/amiga directory call
 20#
 21#  make assign
 22#  make
 23#
 24# Your programs source code should start with this
 25# (uncomment the parts you do not need to keep the program small):
 26# ---8<---
 27#define FT_USE_AUTOFIT // autofitter
 28#define FT_USE_RASTER  // monochrome rasterizer
 29#define FT_USE_SMOOTH  // anti-aliasing rasterizer
 30#define FT_USE_TT      // truetype font driver
 31#define FT_USE_T1      // type1 font driver
 32#define FT_USE_T42     // type42 font driver
 33#define FT_USE_T1CID   // cid-keyed type1 font driver
 34#define FT_USE_CFF     // opentype font driver
 35#define FT_USE_BDF     // bdf bitmap font driver
 36#define FT_USE_PCF     // pcf bitmap font driver
 37#define FT_USE_PFR     // pfr font driver
 38#define FT_USE_WINFNT  // windows .fnt|.fon bitmap font driver
 39#define FT_USE_OTV     // opentype validator
 40#define FT_USE_GXV     // truetype gx validator
 41#include "FT:src/base/ftinit.c"
 42# ---8<---
 43#
 44# link your programs with libft2_ppc.a and either ftsystem.ppc.o or ftsystempure.ppc.o
 45# (and either ftdebug.ppc.o or ftdebugpure.ppc.o if you enabled FT_DEBUG_LEVEL_ERROR or
 46# FT_DEBUG_LEVEL_TRACE in include/freetype/config/ftoption.h).
 47
 48all:	libft2_ppc.a ftsystem.ppc.o ftsystempure.ppc.o
 49
 50assign:
 51	assign FT: //
 52
 53FTSRC = /FT/src
 54
 55CC =     ppc-morphos-gcc
 56AR =     ppc-morphos-ar rc
 57RANLIB = ppc-morphos-ranlib
 58LD =     ppc-morphos-ld
 59CFLAGS = -DFT2_BUILD_LIBRARY -O2 -I/emu/emulinclude/includegcc -I/emu/include -Iinclude -I$(FTSRC) -I/FT/include
 60
 61#
 62# FreeType2 library base
 63#
 64ftbase.ppc.o: $(FTSRC)/base/ftbase.c
 65	$(CC) -c $(CFLAGS) -o $@ $<
 66
 67ftinit.ppc.o: $(FTSRC)/base/ftinit.c
 68	$(CC) -c $(CFLAGS) -o $@ $<
 69
 70ftsystem.ppc.o: $(FTSRC)/base/ftsystem.c
 71	$(CC) -c $(CFLAGS) -o $@ $<
 72
 73# pure version for use in run-time library etc
 74ftsystempure.ppc.o: src/base/ftsystem.c
 75	$(CC) -c $(CFLAGS) -o $@ $<
 76
 77ftdebug.ppc.o: $(FTSRC)/base/ftdebug.c
 78	$(CC) -c $(CFLAGS) -o $@ $<
 79
 80# pure version for use in run-time library etc
 81ftdebugpure.ppc.o: src/base/ftdebug.c
 82	$(CC) -c $(CFLAGS) -o $@ $<
 83
 84#
 85# FreeType2 library base extensions
 86#
 87ftbbox.ppc.o: $(FTSRC)/base/ftbbox.c
 88	$(CC) -c $(CFLAGS) -o $@ $<
 89
 90ftbdf.ppc.o: $(FTSRC)/base/ftbdf.c
 91	$(CC) -c $(CFLAGS) -o $@ $<
 92
 93ftbitmap.ppc.o: $(FTSRC)/base/ftbitmap.c
 94	$(CC) -c $(CFLAGS) -o $@ $<
 95
 96ftcid.ppc.o: $(FTSRC)/base/ftcid.c
 97	$(CC) -c $(CFLAGS) -o $@ $<
 98
 99ftfstype.ppc.o: $(FTSRC)/base/ftfstype.c
100	$(CC) -c $(CFLAGS) -o $@ $<
101
102ftgasp.ppc.o: $(FTSRC)/base/ftgasp.c
103	$(CC) -c $(CFLAGS) -o $@ $<
104
105ftglyph.ppc.o: $(FTSRC)/base/ftglyph.c
106	$(CC) -c $(CFLAGS) -o $@ $<
107
108ftgxval.ppc.o: $(FTSRC)/base/ftgxval.c
109	$(CC) -c $(CFLAGS) -o $@ $<
110
111ftlcdfil.ppc.o: $(FTSRC)/base/ftlcdfil.c
112	$(CC) -c $(CFLAGS) -o $@ $<
113
114ftmm.ppc.o: $(FTSRC)/base/ftmm.c
115	$(CC) -c $(CFLAGS) -o $@ $<
116
117ftotval.ppc.o: $(FTSRC)/base/ftotval.c
118	$(CC) -c $(CFLAGS) -o $@ $<
119
120ftpatent.ppc.o: $(FTSRC)/base/ftpatent.c
121	$(CC) -c $(CFLAGS) -o $@ $<
122
123ftpfr.ppc.o: $(FTSRC)/base/ftpfr.c
124	$(CC) -c $(CFLAGS) -o $@ $<
125
126ftstroke.ppc.o: $(FTSRC)/base/ftstroke.c
127	$(CC) -c $(CFLAGS) -o $@ $<
128
129ftsynth.ppc.o: $(FTSRC)/base/ftsynth.c
130	$(CC) -c $(CFLAGS) -o $@ $<
131
132fttype1.ppc.o: $(FTSRC)/base/fttype1.c
133	$(CC) -c $(CFLAGS) -o $@ $<
134
135ftwinfnt.ppc.o: $(FTSRC)/base/ftwinfnt.c
136	$(CC) -c $(CFLAGS) -o $@ $<
137
138ftxf86.ppc.o: $(FTSRC)/base/ftxf86.c
139	$(CC) -c $(CFLAGS) -o $@ $<
140
141#
142# FreeType2 library autofitting module
143#
144autofit.ppc.o: $(FTSRC)/autofit/autofit.c
145	$(CC) -c $(CFLAGS) -o $@ $<
146
147#
148# FreeType2 library postscript hinting module
149#
150pshinter.ppc.o: $(FTSRC)/pshinter/pshinter.c
151	$(CC) -c $(CFLAGS) -o $@ $<
152
153#
154# FreeType2 library PS support module
155#
156psaux.ppc.o: $(FTSRC)/psaux/psaux.c
157	$(CC) -c $(CFLAGS) -o $@ $<
158
159#
160# FreeType2 library PS glyph names module
161#
162psnames.ppc.o: $(FTSRC)/psnames/psnames.c
163	$(CC) -c $(CFLAGS) -o $@ $<
164
165#
166# FreeType2 library monochrome raster module
167#
168raster.ppc.o: $(FTSRC)/raster/raster.c
169	$(CC) -c $(CFLAGS) -o $@ $<
170
171#
172# FreeType2 library anti-aliasing raster module
173#
174smooth.ppc.o: $(FTSRC)/smooth/smooth.c
175	$(CC) -c $(CFLAGS) -o $@ $<
176
177#
178# FreeType2 library 'sfnt' module
179#
180sfnt.ppc.o: $(FTSRC)/sfnt/sfnt.c
181	$(CC) -c $(CFLAGS) -o $@ $<
182
183#
184# FreeType2 library glyph and image caching system
185#
186ftcache.ppc.o: $(FTSRC)/cache/ftcache.c
187	$(CC) -c $(CFLAGS) -o $@ $<
188
189#
190# FreeType2 library OpenType font driver
191#
192cff.ppc.o: $(FTSRC)/cff/cff.c
193	$(CC) -c $(CFLAGS) -o $@ $<
194
195#
196# FreeType2 library TrueType font driver
197#
198truetype.ppc.o: $(FTSRC)/truetype/truetype.c
199	$(CC) -c $(CFLAGS) -o $@ $<
200
201#
202# FreeType2 library Type1 font driver
203#
204type1.ppc.o: $(FTSRC)/type1/type1.c
205	$(CC) -c $(CFLAGS) -o $@ $<
206
207#
208# FreeType2 library Type42 font driver
209#
210type42.ppc.o: $(FTSRC)/type42/type42.c
211	$(CC) -c $(CFLAGS) -o $@ $<
212
213#
214# FreeType2 library CID-keyed Type1 font driver
215#
216type1cid.ppc.o: $(FTSRC)/cid/type1cid.c
217	$(CC) -c $(CFLAGS) -o $@ $<
218
219#
220# FreeType2 library BDF bitmap font driver
221#
222bdf.ppc.o: $(FTSRC)/bdf/bdf.c
223	$(CC) -c $(CFLAGS) -o $@ $<
224
225#
226# FreeType2 library PCF bitmap font driver
227#
228pcf.ppc.o: $(FTSRC)/pcf/pcf.c
229	$(CC) -c $(CFLAGS) -o $@ $<
230
231#
232# FreeType2 library gzip support for compressed PCF bitmap fonts
233#
234gzip.ppc.o: $(FTSRC)/gzip/ftgzip.c
235	$(CC) -c $(CFLAGS) -o $@ $<
236
237#
238# FreeType2 library compress support for compressed PCF bitmap fonts
239#
240lzw.ppc.o: $(FTSRC)/lzw/ftlzw.c
241	$(CC) -c $(CFLAGS) -o $@ $<
242
243#
244# FreeType2 library PFR font driver
245#
246pfr.ppc.o: $(FTSRC)/pfr/pfr.c
247	$(CC) -c $(CFLAGS) -o $@ $<
248
249#
250# FreeType2 library Windows FNT/FON bitmap font driver
251#
252winfnt.ppc.o: $(FTSRC)/winfonts/winfnt.c
253	$(CC) -c $(CFLAGS) -o $@ $<
254
255#
256# FreeType2 library TrueTypeGX Validator
257#
258gxvalid.ppc.o: $(FTSRC)/gxvalid/gxvalid.c
259	$(CC) -c $(CFLAGS) -o $@ $<
260
261#
262# FreeType2 library OpenType validator
263#
264otvalid.ppc.o: $(FTSRC)/otvalid/otvalid.c
265	$(CC) -c $(CFLAGS) -o $@ $<
266
267BASEPPC = ftbase.ppc.o ftbbox.ppc.o ftbdf.ppc.o ftbitmap.ppc.o ftcid.ppc.o   \
268	  ftfstype.ppc.o ftgasp.ppc.o ftglyph.ppc.o ftgxval.ppc.o            \
269	  ftlcdfil.ppc.o ftmm.ppc.o ftotval.ppc.o ftpatent.ppc.o ftpfr.ppc.o \
270	  ftstroke.ppc.o ftsynth.ppc.o fttype1.ppc.o ftwinfnt.ppc.o          \
271	  ftxf86.ppc.o
272
273DEBUGPPC = ftdebug.ppc.o ftdebugpure.ppc.o
274
275AFITPPC = autofit.ppc.o
276
277GXVPPC = gxvalid.ppc.o
278
279OTVPPC = otvalid.ppc.o
280
281PSPPC = psaux.ppc.o psnames.ppc.o pshinter.ppc.o
282
283RASTERPPC = raster.ppc.o smooth.ppc.o
284
285FONTDPPC = cff.ppc.o type1.ppc.o type42.ppc.o type1cid.ppc.o truetype.ppc.o\
286	   bdf.ppc.o pcf.ppc.o pfr.ppc.o winfnt.ppc.o
287
288libft2_ppc.a:    $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o lzw.ppc.o
289	$(AR) $@ $(BASEPPC) $(AFITPPC) $(GXVPPC) $(OTVPPC) $(PSPPC) $(RASTERPPC) sfnt.ppc.o ftcache.ppc.o $(FONTDPPC) gzip.ppc.o lzw.ppc.o
290	-@ ($(RANLIB) $@ || true) >/dev/null 2>&1
291
292#Local Variables:
293#coding: latin-1
294#End: