1 # FreeType 2 Demos JamRules (c) 2001 David Turner
3 # This file contains the Jam rules needed to build the FreeType 2 Demos.
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.
22 FT2_TOP ?= [ FDirName $(DOTDOT) freetype2 ] ;
24 # FT2_INCLUDE contains the location of the public FreeType 2 header files
25 # it is ../freetype2/include by default
27 FT2_INCLUDE ?= [ FDirName $(FT2_TOP) include ] ;
30 # FT2_LIB contains the path to the FreeType 2 library object
32 FT2_LIB ?= [ FDirName $(FT2_TOP) objs $(LIBPREFIX)freetype ] ;
34 # X11_LINKLIBS is only used when compiling the X11 graphics back-end
35 # this should be generated from a "configure" script on Unix
37 X11_LINKLIBS = -lX11 -L/usr/X11R6/lib ;
40 # FT2DEMO_TOP contains the location of the FreeType demos directory.
42 FT2DEMO_TOP ?= $(DOT) ;
45 # Define a new rule used to declare a sub directory of the Nirvana source
50 if $(FT2DEMO_TOP) = $(DOT)
52 return [ FDirName $(<) ] ;
56 return [ FDirName $(FT2DEMO_TOP) $(<) ] ;
60 # We also set ALL_LOCATE_TARGET in order to place all object and library
63 ALL_LOCATE_TARGET ?= [ FT2DEMO_SubDir objs ] ;