Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #   File:       FreeType.ppc_carbon.make
  2. #   Target:     FreeType.ppc_carbon
  3. #   Created:    Friday, October 28, 2005 03:40:06 PM
  4.  
  5.  
  6. MAKEFILE        = FreeType.ppc_carbon.make
  7. \xA5MondoBuild\xA5    = {MAKEFILE}  # Make blank to avoid rebuilds when makefile is modified
  8.  
  9. ObjDir          = :objs:
  10. Includes        =  \xB6
  11.                                   -ansi strict \xB6
  12.                                   -includes unix \xB6
  13.                                   -i :include: \xB6
  14.                                   -i :src: \xB6
  15.                                   -i :include:freetype:config:
  16.  
  17. Sym-PPC         = -sym off
  18.  
  19. PPCCOptions     = \xB6
  20.                         -d FT_MACINTOSH=1 \xB6
  21.                         -d HAVE_FSSPEC=1 \xB6
  22.                         -d HAVE_FSREF=1 \xB6
  23.                         -d HAVE_QUICKDRAW_TOOLBOX=1 \xB6
  24.                         -d HAVE_QUICKDRAW_CARBON=1 \xB6
  25.                         -d HAVE_ATS=0 \xB6
  26.                         -d FT2_BUILD_LIBRARY \xB6
  27.                         -d FT_CONFIG_CONFIG_H="<ftconfig.h>" \xB6
  28.                         -d FT_CONFIG_MODULES_H="<ftmodule.h>" \xB6
  29.                         {Includes} {Sym-PPC} -d TARGET_API_MAC_CARBON=1
  30.  
  31.  
  32. ### Source Files ###
  33.  
  34. SrcFiles        =  \xB6
  35.                                   :src:autofit:autofit.c \xB6
  36.                                   :builds:mac:ftbase.c \xB6
  37.                                   :src:base:ftbbox.c \xB6
  38.                                   :src:base:ftbdf.c \xB6
  39.                                   :src:base:ftbitmap.c \xB6
  40.                                   :src:base:ftdebug.c \xB6
  41.                                   :src:base:ftfstype.c \xB6
  42.                                   :src:base:ftglyph.c \xB6
  43.                                   :src:base:ftgxval.c \xB6
  44.                                   :src:base:ftinit.c \xB6
  45.                                   :src:base:ftmm.c \xB6
  46.                                   :src:base:ftotval.c \xB6
  47.                                   :src:base:ftpfr.c \xB6
  48.                                   :src:base:ftstroke.c \xB6
  49.                                   :src:base:ftsynth.c \xB6
  50.                                   :src:base:ftsystem.c \xB6
  51.                                   :src:base:fttype1.c \xB6
  52.                                   :src:base:ftwinfnt.c \xB6
  53.                                   :src:base:ftxf86.c \xB6
  54.                                   :src:cache:ftcache.c \xB6
  55.                                   :src:bdf:bdf.c \xB6
  56.                                   :src:cff:cff.c \xB6
  57.                                   :src:cid:type1cid.c \xB6
  58.                                   :src:gxvalid:gxvalid.c \xB6
  59.                                   :src:gzip:ftgzip.c \xB6
  60.                                   :src:bzip2:ftbzip2.c \xB6
  61.                                   :src:lzw:ftlzw.c \xB6
  62.                                   :src:otvalid:otvalid.c \xB6
  63.                                   :src:pcf:pcf.c \xB6
  64.                                   :src:pfr:pfr.c \xB6
  65.                                   :src:psaux:psaux.c \xB6
  66.                                   :src:pshinter:pshinter.c \xB6
  67.                                   :src:psnames:psmodule.c \xB6
  68.                                   :src:raster:raster.c \xB6
  69.                                   :src:sfnt:sfnt.c \xB6
  70.                                   :src:smooth:smooth.c \xB6
  71.                                   :src:truetype:truetype.c \xB6
  72.                                   :src:type1:type1.c \xB6
  73.                                   :src:type42:type42.c \xB6
  74.                                   :src:winfonts:winfnt.c
  75.  
  76.  
  77. ### Object Files ###
  78.  
  79. ObjFiles-PPC    =  \xB6
  80.                                   "{ObjDir}autofit.c.x" \xB6
  81.                                   "{ObjDir}ftbase.c.x" \xB6
  82.                                   "{ObjDir}ftbbox.c.x" \xB6
  83.                                   "{ObjDir}ftbdf.c.x" \xB6
  84.                                   "{ObjDir}ftbitmap.c.x" \xB6
  85.                                   "{ObjDir}ftdebug.c.x" \xB6
  86.                                   "{ObjDir}ftfstype.c.x" \xB6
  87.                                   "{ObjDir}ftglyph.c.x" \xB6
  88.                                   "{ObjDir}ftgxval.c.x" \xB6
  89.                                   "{ObjDir}ftinit.c.x" \xB6
  90.                                   "{ObjDir}ftmm.c.x" \xB6
  91.                                   "{ObjDir}ftotval.c.x" \xB6
  92.                                   "{ObjDir}ftpfr.c.x" \xB6
  93.                                   "{ObjDir}ftstroke.c.x" \xB6
  94.                                   "{ObjDir}ftsynth.c.x" \xB6
  95.                                   "{ObjDir}ftsystem.c.x" \xB6
  96.                                   "{ObjDir}fttype1.c.x" \xB6
  97.                                   "{ObjDir}ftwinfnt.c.x" \xB6
  98.                                   "{ObjDir}ftxf86.c.x" \xB6
  99.                                   "{ObjDir}ftcache.c.x" \xB6
  100.                                   "{ObjDir}bdf.c.x" \xB6
  101.                                   "{ObjDir}cff.c.x" \xB6
  102.                                   "{ObjDir}type1cid.c.x" \xB6
  103.                                   "{ObjDir}gxvalid.c.x" \xB6
  104.                                   "{ObjDir}ftgzip.c.x" \xB6
  105.                                   "{ObjDir}ftbzip2.c.x" \xB6
  106.                                   "{ObjDir}ftlzw.c.x" \xB6
  107.                                   "{ObjDir}otvalid.c.x" \xB6
  108.                                   "{ObjDir}pcf.c.x" \xB6
  109.                                   "{ObjDir}pfr.c.x" \xB6
  110.                                   "{ObjDir}psaux.c.x" \xB6
  111.                                   "{ObjDir}pshinter.c.x" \xB6
  112.                                   "{ObjDir}psmodule.c.x" \xB6
  113.                                   "{ObjDir}raster.c.x" \xB6
  114.                                   "{ObjDir}sfnt.c.x" \xB6
  115.                                   "{ObjDir}smooth.c.x" \xB6
  116.                                   "{ObjDir}truetype.c.x" \xB6
  117.                                   "{ObjDir}type1.c.x" \xB6
  118.                                   "{ObjDir}type42.c.x" \xB6
  119.                                   "{ObjDir}winfnt.c.x"
  120.  
  121.  
  122. ### Libraries ###
  123.  
  124. LibFiles-PPC    =
  125.  
  126.  
  127. ### Default Rules ###
  128.  
  129. .c.x  \xC4  .c  {\xA5MondoBuild\xA5}
  130.         {PPCC} {depDir}{default}.c -o {targDir}{default}.c.x {PPCCOptions}
  131.  
  132.  
  133. ### Build Rules ###
  134.  
  135. :builds:mac:ftbase.c \xC4\xC4 :src:base:ftbase.c
  136.         Duplicate :src:base:ftbase.c :builds:mac:ftbase.c
  137.  
  138. "{ObjDir}ftbase.c.x"  \xC4\xC4  :builds:mac:ftbase.c
  139.         {PPCC} :builds:mac:ftbase.c -o {ObjDir}ftbase.c.x \xB6
  140.                 -i :builds:mac: \xB6
  141.                 -i :src:base: \xB6
  142.                 {PPCCOptions}
  143.  
  144. FreeType.ppc_carbon    \xC4\xC4  FreeType.ppc_carbon.o
  145.  
  146. FreeType.ppc_carbon.o  \xC4\xC4  {ObjFiles-PPC} {LibFiles-PPC} {\xA5MondoBuild\xA5}
  147.         PPCLink \xB6
  148.                 -o {Targ} \xB6
  149.                 {ObjFiles-PPC} \xB6
  150.                 {LibFiles-PPC} \xB6
  151.                 {Sym-PPC} \xB6
  152.                 -mf -d \xB6
  153.                 -t 'XCOF' \xB6
  154.                 -c 'MPS ' \xB6
  155.                 -xm l
  156.  
  157.  
  158.  
  159. ### Required Dependencies ###
  160.  
  161. "{ObjDir}autofit.c.x" \xC4 :src:autofit:autofit.c
  162. # "{ObjDir}ftbase.c.x" \xC4 :builds:mac:ftbase.c
  163. "{ObjDir}ftbbox.c.x" \xC4 :src:base:ftbbox.c
  164. "{ObjDir}ftbdf.c.x" \xC4 :src:base:ftbdf.c
  165. "{ObjDir}ftbitmap.c.x" \xC4 :src:base:ftbitmap.c
  166. "{ObjDir}ftdebug.c.x" \xC4 :src:base:ftdebug.c
  167. "{ObjDir}ftfstype.c.x" \xC4 :src:base:ftfstype.c
  168. "{ObjDir}ftglyph.c.x" \xC4 :src:base:ftglyph.c
  169. "{ObjDir}ftgxval.c.x" \xC4 :src:base:ftgxval.c
  170. "{ObjDir}ftinit.c.x" \xC4 :src:base:ftinit.c
  171. "{ObjDir}ftmm.c.x" \xC4 :src:base:ftmm.c
  172. "{ObjDir}ftotval.c.x" \xC4 :src:base:ftotval.c
  173. "{ObjDir}ftpfr.c.x" \xC4 :src:base:ftpfr.c
  174. "{ObjDir}ftstroke.c.x" \xC4 :src:base:ftstroke.c
  175. "{ObjDir}ftsynth.c.x" \xC4 :src:base:ftsynth.c
  176. "{ObjDir}ftsystem.c.x" \xC4 :src:base:ftsystem.c
  177. "{ObjDir}fttype1.c.x" \xC4 :src:base:fttype1.c
  178. "{ObjDir}ftwinfnt.c.x" \xC4 :src:base:ftwinfnt.c
  179. "{ObjDir}ftxf86.c.x" \xC4 :src:base:ftxf86.c
  180. "{ObjDir}ftcache.c.x" \xC4 :src:cache:ftcache.c
  181. "{ObjDir}bdf.c.x" \xC4 :src:bdf:bdf.c
  182. "{ObjDir}cff.c.x" \xC4 :src:cff:cff.c
  183. "{ObjDir}type1cid.c.x" \xC4 :src:cid:type1cid.c
  184. "{ObjDir}gxvalid.c.x" \xC4 :src:gxvalid:gxvalid.c
  185. "{ObjDir}ftgzip.c.x" \xC4 :src:gzip:ftgzip.c
  186. "{ObjDir}ftbzip2.c.x" \xC4 :src:bzip2:ftbzip2.c
  187. "{ObjDir}ftlzw.c.x" \xC4 :src:lzw:ftlzw.c
  188. "{ObjDir}otvalid.c.x" \xC4 :src:otvalid:otvalid.c
  189. "{ObjDir}pcf.c.x" \xC4 :src:pcf:pcf.c
  190. "{ObjDir}pfr.c.x" \xC4 :src:pfr:pfr.c
  191. "{ObjDir}psaux.c.x" \xC4 :src:psaux:psaux.c
  192. "{ObjDir}pshinter.c.x" \xC4 :src:pshinter:pshinter.c
  193. "{ObjDir}psmodule.c.x" \xC4 :src:psnames:psmodule.c
  194. "{ObjDir}raster.c.x" \xC4 :src:raster:raster.c
  195. "{ObjDir}sfnt.c.x" \xC4 :src:sfnt:sfnt.c
  196. "{ObjDir}smooth.c.x" \xC4 :src:smooth:smooth.c
  197. "{ObjDir}truetype.c.x" \xC4 :src:truetype:truetype.c
  198. "{ObjDir}type1.c.x" \xC4 :src:type1:type1.c
  199. "{ObjDir}type42.c.x" \xC4 :src:type42:type42.c
  200. "{ObjDir}winfnt.c.x" \xC4 :src:winfonts:winfnt.c
  201.  
  202.  
  203. ### Optional Dependencies ###
  204. ### Build this target to generate "include file" dependencies. ###
  205.  
  206. Dependencies  \xC4  $OutOfDate
  207.         MakeDepend \xB6
  208.                 -append {MAKEFILE} \xB6
  209.                 -ignore "{CIncludes}" \xB6
  210.                 -objdir "{ObjDir}" \xB6
  211.                 -objext .x \xB6
  212.                 {Includes} \xB6
  213.                 {SrcFiles}
  214.  
  215.  
  216.