Revision 18171,
1.4 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18170,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | # FreeType 2 top Jamfile (c) 2001, 2002 David Turner |
---|
2 | # |
---|
3 | |
---|
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 |
---|
6 | # project easily. |
---|
7 | # |
---|
8 | if $(FT2_TOP) != $(DOT) |
---|
9 | { |
---|
10 | SubDir FT2_TOP ; |
---|
11 | } |
---|
12 | |
---|
13 | FT2_INCLUDE = [ FT2_SubDir include ] ; |
---|
14 | FT2_SRC = [ FT2_SubDir src ] ; |
---|
15 | |
---|
16 | FT2_LIB = $(LIBPREFIX)freetype ; |
---|
17 | |
---|
18 | |
---|
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. |
---|
21 | # |
---|
22 | |
---|
23 | # used only when trying to debug the hinter(s) |
---|
24 | # |
---|
25 | if $(DEBUG_HINTER) |
---|
26 | { |
---|
27 | CCFLAGS += -DDEBUG_HINTER ; |
---|
28 | } |
---|
29 | |
---|
30 | |
---|
31 | # We need "freetype2/include" in the current include path in order to |
---|
32 | # compile any part of FreeType 2. |
---|
33 | # |
---|
34 | SubDirHdr += $(FT2_INCLUDE) ; |
---|
35 | |
---|
36 | # Uncomment the following line if you want to build individual source files |
---|
37 | # for each FreeType 2 module. |
---|
38 | # |
---|
39 | # FT2_MULTI = true ; |
---|
40 | |
---|
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. |
---|
44 | # |
---|
45 | HDRMACRO [ FT2_SubDir include freetype config ftheader.h ] ; |
---|
46 | HDRMACRO [ FT2_SubDir include freetype internal internal.h ] ; |
---|
47 | |
---|
48 | # Now include the Jamfile in "freetype2/src", used to drive the compilation |
---|
49 | # of each FreeType 2 component and/or module. |
---|
50 | # |
---|
51 | SubInclude FT2_TOP $(FT2_SRC_DIR) ; |
---|
52 | |
---|
53 | |
---|
54 | # tests files (hinter debugging) |
---|
55 | # |
---|
56 | if $(DEBUG_HINTER) |
---|
57 | { |
---|
58 | SubInclude FT2_TOP tests ; |
---|
59 | } |
---|
60 | |
---|
61 | # end of top Jamfile |
---|
Note: See
TracBrowser
for help on using the repository browser.