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
12SubDir  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               ftdbgmem
24               ftgloadr
25               fthash
26               ftobjs
27               ftoutln
28               ftpic
29               ftpsprop
30               ftrfork
31               ftsnames
32               ftstream
33               fttrigon
34               ftutil
35               ;
36  }
37  else
38  {
39    _sources = ftbase ;
40  }
41
42  Library  $(FT2_LIB) : $(_sources).c ;
43}
44
45# Add the optional/replaceable files.
46#
47{
48  local  _sources = ftapi
49                    ftbbox
50                    ftbdf
51                    ftbitmap
52                    ftcid
53                    ftdebug
54                    ftfntfmt
55                    ftfstype
56                    ftgasp
57                    ftglyph
58                    ftgxval
59                    ftinit
60                    ftlcdfil
61                    ftmm
62                    ftotval
63                    ftpatent
64                    ftpfr
65                    ftstroke
66                    ftsynth
67                    ftsystem
68                    fttype1
69                    ftwinfnt
70                    ;
71
72  Library  $(FT2_LIB) : $(_sources).c ;
73}
74
75# Add Macintosh-specific file to the library when necessary.
76#
77if $(MAC)
78{
79  Library  $(FT2_LIB) : ftmac.c ;
80}
81else if $(OS) = MACOSX
82{
83  if $(FT2_MULTI)
84  {
85    Library  $(FT2_LIB) : ftmac.c ;
86  }
87}
88
89# end of src/base Jamfile
90