• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# FreeType 2 src/base Jamfile
2#
3# Copyright (C) 2001-2019 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               ftcolor
24               ftdbgmem
25               fterrors
26               ftfntfmt
27               ftgloadr
28               fthash
29               ftlcdfil
30               ftobjs
31               ftoutln
32               ftpic
33               ftpsprop
34               ftrfork
35               ftsnames
36               ftstream
37               fttrigon
38               ftutil
39               ;
40  }
41  else
42  {
43    _sources = ftbase ;
44  }
45
46  Library  $(FT2_LIB) : $(_sources).c ;
47}
48
49# Add the optional/replaceable files.
50#
51{
52  local  _sources = 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#
78if $(MAC)
79{
80  Library  $(FT2_LIB) : ftmac.c ;
81}
82else 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