1 # FreeType 2 JamRules (c) 2001, 2002, 2003 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 # Call SubDirHdrs on a list of directories.
22 # Determine prefix of library file. We must use "libxxxxx" on Unix systems,
23 # while all other simply use the real name.
34 # FT2_TOP contains the location of the FreeType source directory. You can
35 # set it to a specific value if you want to compile the library as part of a
40 # Define a new rule used to declare a sub directory of the Nirvana source
45 if $(FT2_TOP) = $(DOT)
47 return [ FDirName $(<) ] ;
51 return [ FDirName $(FT2_TOP) $(<) ] ;
55 # We also set ALL_LOCATE_TARGET in order to place all object and library
58 ALL_LOCATE_TARGET ?= [ FT2_SubDir objs ] ;