Imported Upstream version 2.9.1
[platform/upstream/freetype2.git] / src / base / Jamfile
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                ftdbgmem
24                ftfntfmt
25                ftgloadr
26                fthash
27                ftlcdfil
28                ftobjs
29                ftoutln
30                ftpic
31                ftpsprop
32                ftrfork
33                ftsnames
34                ftstream
35                fttrigon
36                ftutil
37                ;
38   }
39   else
40   {
41     _sources = ftbase ;
42   }
43
44   Library  $(FT2_LIB) : $(_sources).c ;
45 }
46
47 # Add the optional/replaceable files.
48 #
49 {
50   local  _sources = ftapi
51                     ftbbox
52                     ftbdf
53                     ftbitmap
54                     ftcid
55                     ftdebug
56                     ftfstype
57                     ftgasp
58                     ftglyph
59                     ftgxval
60                     ftinit
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 #
77 if $(MAC)
78 {
79   Library  $(FT2_LIB) : ftmac.c ;
80 }
81 else if $(OS) = MACOSX
82 {
83   if $(FT2_MULTI)
84   {
85     Library  $(FT2_LIB) : ftmac.c ;
86   }
87 }
88
89 # end of src/base Jamfile