blob: 3457a5ba9544dcb2b8ac8c83bb4bc8fa46cc62b3 [file] [log] [blame]
David Turner5bf0a392001-03-24 17:10:09 +00001# FreeType 2 Jamfile (c) 2001 David Turner
2#
3
4# we need to invoke a SubDir rule if the FT2 source directory top
5# is not the current directory. This allows us to build FreeType 2 as
6# part of a larger project easily..
7#
8if $(FT2_TOP) != $(DOT)
9{
10 SubDir FT2_TOP ;
11}
12
13FT2_INCLUDE = [ FT2_SubDir include ] ;
14FT2_SRC = [ FT2_SubDir src ] ;
15
16FT2_LIB = $(LIBPREFIX)freetype ;
17
18# we need "freetype2/include" in the current include path in order to
19# compile any part of FreeType 2
20#
21SubDirHdr += $(FT2_INCLUDE) ;
22
23# uncomment the following line if you want to build individual source files
24# for each FreeType 2 module.
25#
Werner Lemberg1429db62001-04-02 23:54:01 +000026# FT2_MULTI = true ;
David Turner5bf0a392001-03-24 17:10:09 +000027
28# the file <freetype/config/ft2build.h> is used to define macros that are
29# later used in #include statements.. it needs to be parsed in order to
30# record these definitions..
31#
32HDRMACRO [ FT2_SubDir include freetype config ft2build.h ] ;
33
34# now include the Jamfile in "freetype2/src", used to drive the
35# compilation of each FreeType 2 component and/or module
36#
37SubInclude FT2_TOP src ;
38
39
40