forked from minhngoc25a/freetype2
109 lines
3.6 KiB
Plaintext
109 lines
3.6 KiB
Plaintext
|
# Makefile for Apple MPW build environment (currently PPC only)
|
|||
|
|
|||
|
MAKEFILE = Makefile
|
|||
|
<EFBFBD>MondoBuild<EFBFBD> = #{MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
|
|||
|
Sym<EFBFBD>PPC = #-sym on
|
|||
|
ObjDir<EFBFBD>PPC = :obj:
|
|||
|
|
|||
|
CFLAGS = -i :include -i :src -includes unix {Sym<79>PPC}
|
|||
|
|
|||
|
OBJS = <20>
|
|||
|
"{ObjDir<69>PPC}ftsystem.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftdebug.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftinit.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftbase.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftglyph.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftmm.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftbbox.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}autohint.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftcache.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}cff.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}type1cid.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}pcf.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}psaux.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}psmodule.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}raster.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}sfnt.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}smooth.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}truetype.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}type1.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}winfnt.c.x" <20>
|
|||
|
"{ObjDir<69>PPC}ftmac.c.x" <20>
|
|||
|
|
|||
|
# Main target - build a library
|
|||
|
freetype <20><> {<7B>MondoBuild<6C>} directories freetype.o
|
|||
|
|
|||
|
# This is used to build the library
|
|||
|
freetype.o <20><> {<7B>MondoBuild<6C>} {OBJS}
|
|||
|
PPCLink <20>
|
|||
|
-o :lib:{Targ} {Sym<79>PPC} <20>
|
|||
|
{OBJS} -c '????' -xm l
|
|||
|
|
|||
|
# This is used to create the directories needed for build
|
|||
|
directories <20>
|
|||
|
if !`Exists obj` ; NewFolder obj ; end
|
|||
|
if !`Exists lib` ; NewFolder lib ; end
|
|||
|
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftsystem.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftsystem.c"
|
|||
|
{PPCC} ":src:base:ftsystem.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftdebug.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftdebug.c"
|
|||
|
{PPCC} ":src:base:ftdebug.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftinit.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftinit.c"
|
|||
|
{PPCC} ":src:base:ftinit.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftbase.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftbase.c"
|
|||
|
{PPCC} ":src:base:ftbase.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftglyph.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftglyph.c"
|
|||
|
{PPCC} ":src:base:ftglyph.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftmm.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftmm.c"
|
|||
|
{PPCC} ":src:base:ftmm.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftbbox.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftbbox.c"
|
|||
|
{PPCC} ":src:base:ftbbox.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}autohint.c.x" <20> {<7B>MondoBuild<6C>} ":src:autohint:autohint.c"
|
|||
|
{PPCC} ":src:autohint:autohint.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftcache.c.x" <20> {<7B>MondoBuild<6C>} ":src:cache:ftcache.c"
|
|||
|
{PPCC} ":src:cache:ftcache.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}cff.c.x" <20> {<7B>MondoBuild<6C>} ":src:cff:cff.c"
|
|||
|
{PPCC} ":src:cff:cff.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}type1cid.c.x" <20> {<7B>MondoBuild<6C>} ":src:cid:type1cid.c"
|
|||
|
{PPCC} ":src:cid:type1cid.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}pcf.c.x" <20> {<7B>MondoBuild<6C>} ":src:pcf:pcf.c"
|
|||
|
{PPCC} ":src:pcf:pcf.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}psaux.c.x" <20> {<7B>MondoBuild<6C>} ":src:psaux:psaux.c"
|
|||
|
{PPCC} ":src:psaux:psaux.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}psmodule.c.x" <20> {<7B>MondoBuild<6C>} ":src:psnames:psmodule.c"
|
|||
|
{PPCC} ":src:psnames:psmodule.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}raster.c.x" <20> {<7B>MondoBuild<6C>} ":src:raster:raster.c"
|
|||
|
{PPCC} ":src:raster:raster.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}sfnt.c.x" <20> {<7B>MondoBuild<6C>} ":src:sfnt:sfnt.c"
|
|||
|
{PPCC} ":src:sfnt:sfnt.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}smooth.c.x" <20> {<7B>MondoBuild<6C>} ":src:smooth:smooth.c"
|
|||
|
{PPCC} ":src:smooth:smooth.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}truetype.c.x" <20> {<7B>MondoBuild<6C>} ":src:truetype:truetype.c"
|
|||
|
{PPCC} ":src:truetype:truetype.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}type1.c.x" <20> {<7B>MondoBuild<6C>} ":src:type1:type1.c"
|
|||
|
{PPCC} ":src:type1:type1.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}winfnt.c.x" <20> {<7B>MondoBuild<6C>} ":src:winfonts:winfnt.c"
|
|||
|
{PPCC} ":src:winfonts:winfnt.c" -o {Targ} {CFLAGS}
|
|||
|
|
|||
|
"{ObjDir<69>PPC}ftmac.c.x" <20> {<7B>MondoBuild<6C>} ":src:base:ftmac.c"
|
|||
|
{PPCC} ":src:base:ftmac.c" -o {Targ} {CFLAGS}
|