summaryrefslogtreecommitdiff
path: root/Jamfile
blob: 8fc419bc05fdc067f5b0c58ea6d63e47b875a917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# FreeType 2 top Jamfile (c) 2001 David Turner
#

# We need to invoke a SubDir rule if the FT2 source directory top is not the
# current directory.  This allows us to build FreeType 2 as part of a larger
# project easily.
#
if $(FT2_TOP) != $(DOT)
{
  SubDir  FT2_TOP ;
}

FT2_INCLUDE = [ FT2_SubDir include ] ;
FT2_SRC     = [ FT2_SubDir src ] ;

FT2_LIB     = $(LIBPREFIX)freetype ;

if $(DEBUG_HINTER)
{
  CCFLAGS += -DDEBUG_HINTER ;
}



# We need "freetype2/include" in the current include path in order to
# compile any part of FreeType 2.
#
SubDirHdr  += $(FT2_INCLUDE) ;

# Uncomment the following line if you want to build individual source files
# for each FreeType 2 module.
#
# FT2_MULTI = true ;

# The file <freetype/config/ftheader.h> is used to define macros that are
# later used in #include statements.  It needs to be parsed in order to
# record these definitions.
#
HDRMACRO  [ FT2_SubDir  include freetype config ftheader.h ] ;
HDRMACRO  [ FT2_SubDir  include freetype internal internal.h ] ;

# Now include the Jamfile in "freetype2/src", used to drive the compilation
# of each FreeType 2 component and/or module.
#
SubInclude  FT2_TOP src ;


# tests files (hinter debugging)
#
if $(DEBUG_HINTER)
{
  SubInclude FT2_TOP tests ;
}

# end of top Jamfile