Home | History | Annotate | Download | only in base
      1 # FreeType 2 src/base Jamfile
      2 #
      3 # Copyright 2001-2018 by
      4 # David Turner, Robert Wilhelm, and Werner Lemberg.
      5 #
      6 # This file is part of the FreeType project, and may only be used, modified,
      7 # and distributed under the terms of the FreeType project license,
      8 # LICENSE.TXT.  By continuing to use, modify, or distribute this file you
      9 # indicate that you have read the license and understand and accept it
     10 # fully.
     11 
     12 SubDir  FT2_TOP $(FT2_SRC_DIR) base ;
     13 
     14 
     15 {
     16   local  _sources ;
     17 
     18   if $(FT2_MULTI)
     19   {
     20     _sources = basepic
     21                ftadvanc
     22                ftcalc
     23                ftcolor
     24                ftdbgmem
     25                ftfntfmt
     26                ftgloadr
     27                fthash
     28                ftlcdfil
     29                ftobjs
     30                ftoutln
     31                ftpic
     32                ftpsprop
     33                ftrfork
     34                ftsnames
     35                ftstream
     36                fttrigon
     37                ftutil
     38                ;
     39   }
     40   else
     41   {
     42     _sources = ftbase ;
     43   }
     44 
     45   Library  $(FT2_LIB) : $(_sources).c ;
     46 }
     47 
     48 # Add the optional/replaceable files.
     49 #
     50 {
     51   local  _sources = ftapi
     52                     ftbbox
     53                     ftbdf
     54                     ftbitmap
     55                     ftcid
     56                     ftdebug
     57                     ftfstype
     58                     ftgasp
     59                     ftglyph
     60                     ftgxval
     61                     ftinit
     62                     ftmm
     63                     ftotval
     64                     ftpatent
     65                     ftpfr
     66                     ftstroke
     67                     ftsynth
     68                     ftsystem
     69                     fttype1
     70                     ftwinfnt
     71                     ;
     72 
     73   Library  $(FT2_LIB) : $(_sources).c ;
     74 }
     75 
     76 # Add Macintosh-specific file to the library when necessary.
     77 #
     78 if $(MAC)
     79 {
     80   Library  $(FT2_LIB) : ftmac.c ;
     81 }
     82 else if $(OS) = MACOSX
     83 {
     84   if $(FT2_MULTI)
     85   {
     86     Library  $(FT2_LIB) : ftmac.c ;
     87   }
     88 }
     89 
     90 # end of src/base Jamfile
     91