1 # FreeType 2 JamRules (c) 2001 David Turner
3 # This file contains the Jam rules needed to build the FreeType 2 library.
4 # It is shared by all Jamfiles and is included only once in the build
9 # Determine prefix of library file. We must use "libxxxxx" on Unix systems,
10 # while all other simply use the real name.
21 # FT2_TOP contains the location of the FreeType source directory. You can
22 # set it to a specific value if you want to compile the library as part of a
27 # Define a new rule used to declare a sub directory of the Nirvana source
32 if $(FT2_TOP) = $(DOT)
34 return [ FDirName $(<) ] ;
38 return [ FDirName $(FT2_TOP) $(<) ] ;
42 # The directory "include" must be in the current include path when compiling
43 # any part of FreeType. We thus update the HDRS variable there.
45 HDRS += [ FT2_SubDir include ] ;
47 # We also set ALL_LOCATE_TARGET in order to place all object and library
50 ALL_LOCATE_TARGET ?= [ FT2_SubDir objs ] ;