* builds/mac/freetype.mac: a new Makefile to build with MPW on MacOS classic..
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 127 128 129
diff --git a/ChangeLog b/ChangeLog
index d7ff3a2..29b3b6d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-12-14 Sam Latinga <slouken@devolution.com>
+
+ * builds/mac/freetype.mac: a new Makefile to build with MPW on MacOS
+ classic..
+
2001-12-14 David Turner <david@freetype.org>
* src/truetype/ttgload.c (TT_Load_Glyph), src/type1/t1gload.c
diff --git a/builds/mac/freetype.make b/builds/mac/freetype.make
new file mode 100644
index 0000000..085c260
--- /dev/null
+++ b/builds/mac/freetype.make
@@ -0,0 +1,109 @@
+# Makefile for Apple MPW build environment (currently PPC only)
+
+MAKEFILE = Makefile
+˙MondoBuild˙ = #{MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
+Sym˙PPC = #-sym on
+ObjDir˙PPC = :obj:
+
+CFLAGS = -i :include -i :src -includes unix {Sym˙PPC}
+
+OBJS = ˙
+ "{ObjDir˙PPC}ftsystem.c.x" ˙
+ "{ObjDir˙PPC}ftdebug.c.x" ˙
+ "{ObjDir˙PPC}ftinit.c.x" ˙
+ "{ObjDir˙PPC}ftbase.c.x" ˙
+ "{ObjDir˙PPC}ftglyph.c.x" ˙
+ "{ObjDir˙PPC}ftmm.c.x" ˙
+ "{ObjDir˙PPC}ftbbox.c.x" ˙
+ "{ObjDir˙PPC}autohint.c.x" ˙
+ "{ObjDir˙PPC}ftcache.c.x" ˙
+ "{ObjDir˙PPC}cff.c.x" ˙
+ "{ObjDir˙PPC}type1cid.c.x" ˙
+ "{ObjDir˙PPC}pcf.c.x" ˙
+ "{ObjDir˙PPC}psaux.c.x" ˙
+ "{ObjDir˙PPC}psmodule.c.x" ˙
+ "{ObjDir˙PPC}raster.c.x" ˙
+ "{ObjDir˙PPC}sfnt.c.x" ˙
+ "{ObjDir˙PPC}smooth.c.x" ˙
+ "{ObjDir˙PPC}truetype.c.x" ˙
+ "{ObjDir˙PPC}type1.c.x" ˙
+ "{ObjDir˙PPC}winfnt.c.x" ˙
+ "{ObjDir˙PPC}ftmac.c.x" ˙
+
+# Main target - build a library
+freetype ˙˙ {˙MondoBuild˙} directories freetype.o
+
+# This is used to build the library
+freetype.o ˙˙ {˙MondoBuild˙} {OBJS}
+ PPCLink ˙
+ -o :lib:{Targ} {Sym˙PPC} ˙
+ {OBJS} -c '????' -xm l
+
+# This is used to create the directories needed for build
+directories ˙
+ if !`Exists obj` ; NewFolder obj ; end
+ if !`Exists lib` ; NewFolder lib ; end
+
+
+"{ObjDir˙PPC}ftsystem.c.x" ˙ {˙MondoBuild˙} ":src:base:ftsystem.c"
+ {PPCC} ":src:base:ftsystem.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftdebug.c.x" ˙ {˙MondoBuild˙} ":src:base:ftdebug.c"
+ {PPCC} ":src:base:ftdebug.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftinit.c.x" ˙ {˙MondoBuild˙} ":src:base:ftinit.c"
+ {PPCC} ":src:base:ftinit.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftbase.c.x" ˙ {˙MondoBuild˙} ":src:base:ftbase.c"
+ {PPCC} ":src:base:ftbase.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftglyph.c.x" ˙ {˙MondoBuild˙} ":src:base:ftglyph.c"
+ {PPCC} ":src:base:ftglyph.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftmm.c.x" ˙ {˙MondoBuild˙} ":src:base:ftmm.c"
+ {PPCC} ":src:base:ftmm.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftbbox.c.x" ˙ {˙MondoBuild˙} ":src:base:ftbbox.c"
+ {PPCC} ":src:base:ftbbox.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}autohint.c.x" ˙ {˙MondoBuild˙} ":src:autohint:autohint.c"
+ {PPCC} ":src:autohint:autohint.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftcache.c.x" ˙ {˙MondoBuild˙} ":src:cache:ftcache.c"
+ {PPCC} ":src:cache:ftcache.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}cff.c.x" ˙ {˙MondoBuild˙} ":src:cff:cff.c"
+ {PPCC} ":src:cff:cff.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}type1cid.c.x" ˙ {˙MondoBuild˙} ":src:cid:type1cid.c"
+ {PPCC} ":src:cid:type1cid.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}pcf.c.x" ˙ {˙MondoBuild˙} ":src:pcf:pcf.c"
+ {PPCC} ":src:pcf:pcf.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}psaux.c.x" ˙ {˙MondoBuild˙} ":src:psaux:psaux.c"
+ {PPCC} ":src:psaux:psaux.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}psmodule.c.x" ˙ {˙MondoBuild˙} ":src:psnames:psmodule.c"
+ {PPCC} ":src:psnames:psmodule.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}raster.c.x" ˙ {˙MondoBuild˙} ":src:raster:raster.c"
+ {PPCC} ":src:raster:raster.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}sfnt.c.x" ˙ {˙MondoBuild˙} ":src:sfnt:sfnt.c"
+ {PPCC} ":src:sfnt:sfnt.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}smooth.c.x" ˙ {˙MondoBuild˙} ":src:smooth:smooth.c"
+ {PPCC} ":src:smooth:smooth.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}truetype.c.x" ˙ {˙MondoBuild˙} ":src:truetype:truetype.c"
+ {PPCC} ":src:truetype:truetype.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}type1.c.x" ˙ {˙MondoBuild˙} ":src:type1:type1.c"
+ {PPCC} ":src:type1:type1.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}winfnt.c.x" ˙ {˙MondoBuild˙} ":src:winfonts:winfnt.c"
+ {PPCC} ":src:winfonts:winfnt.c" -o {Targ} {CFLAGS}
+
+"{ObjDir˙PPC}ftmac.c.x" ˙ {˙MondoBuild˙} ":src:base:ftmac.c"
+ {PPCC} ":src:base:ftmac.c" -o {Targ} {CFLAGS}
\ No newline at end of file