David Turner | 5bf0a39 | 2001-03-24 17:10:09 +0000 | [diff] [blame] | 1 | # 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 | # |
| 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 | # we need "freetype2/include" in the current include path in order to |
| 19 | # compile any part of FreeType 2 |
| 20 | # |
| 21 | SubDirHdr += $(FT2_INCLUDE) ; |
| 22 | |
| 23 | # uncomment the following line if you want to build individual source files |
| 24 | # for each FreeType 2 module. |
| 25 | # |
Werner Lemberg | 1429db6 | 2001-04-02 23:54:01 +0000 | [diff] [blame^] | 26 | # FT2_MULTI = true ; |
David Turner | 5bf0a39 | 2001-03-24 17:10:09 +0000 | [diff] [blame] | 27 | |
| 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 | # |
| 32 | HDRMACRO [ 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 | # |
| 37 | SubInclude FT2_TOP src ; |
| 38 | |
| 39 | |
| 40 | |