1 # FreeType 2 top Jamfile (c) 2001, 2002 David Turner
4 # We need to invoke a SubDir rule if the FT2 source directory top is not the
5 # current directory. This allows us to build FreeType 2 as part of a larger
8 if $(FT2_TOP) != $(DOT)
13 FT2_INCLUDE = [ FT2_SubDir include ] ;
14 FT2_SRC = [ FT2_SubDir src ] ;
16 FT2_LIB = $(LIBPREFIX)freetype ;
19 # We don't support libtool just yet. It seems that this is not
20 # so simple with Jam, but I'll study this topic later.
23 # used only when trying to debug the hinter(s)
27 CCFLAGS += -DDEBUG_HINTER ;
31 # We need "freetype2/include" in the current include path in order to
32 # compile any part of FreeType 2.
34 SubDirHdr += $(FT2_INCLUDE) ;
36 # Uncomment the following line if you want to build individual source files
37 # for each FreeType 2 module.
41 # The file <freetype/config/ftheader.h> is used to define macros that are
42 # later used in #include statements. It needs to be parsed in order to
43 # record these definitions.
45 HDRMACRO [ FT2_SubDir include freetype config ftheader.h ] ;
46 HDRMACRO [ FT2_SubDir include freetype internal internal.h ] ;
48 # Now include the Jamfile in "freetype2/src", used to drive the compilation
49 # of each FreeType 2 component and/or module.
51 SubInclude FT2_TOP $(FT2_SRC_DIR) ;
54 # tests files (hinter debugging)
58 SubInclude FT2_TOP tests ;