3 # Copyright 2001, 2002, 2003 by
4 # David Turner, Robert Wilhelm, and Werner Lemberg.
6 # This file is part of the FreeType project, and may only be used, modified,
7 # and distributed under the terms of the FreeType project license,
8 # LICENSE.TXT. By continuing to use, modify, or distribute this file you
9 # indicate that you have read the license and understand and accept it
13 # This file contains the Jam rules needed to build the FreeType 2 library.
14 # It is shared by all Jamfiles and is included only once in the build
19 # Call SubDirHdrs on a list of directories.
32 # Determine prefix of library file. We must use "libxxxxx" on Unix systems,
33 # while all other simply use the real name.
44 # FT2_TOP contains the location of the FreeType source directory. You can
45 # set it to a specific value if you want to compile the library as part of a
50 # Define a new rule used to declare a sub directory of the Nirvana source
55 if $(FT2_TOP) = $(DOT)
57 return [ FDirName $(<) ] ;
61 return [ FDirName $(FT2_TOP) $(<) ] ;
65 # We also set ALL_LOCATE_TARGET in order to place all object and library
68 ALL_LOCATE_TARGET ?= [ FT2_SubDir objs ] ;