* Jamrules, Jamfile, Jamfile.in, src/*/Jamfile: small changes to

support the compilation of FreeType 2 as part of larger projects with
        their own configuration options (only with Jam)
This commit is contained in:
David Turner 2003-01-08 09:10:53 +00:00
parent 20e33158da
commit cce3c80c1f
4 changed files with 24 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2003-01-08 David Turner <david@freetype.org>
* Jamrules, Jamfile, Jamfile.in, src/*/Jamfile: small changes to
support the compilation of FreeType 2 as part of larger projects with
their own configuration options (only with Jam)
2003-01-07 David Turner <david@freetype.org>
* src/base/ftstroker.c: probably the last bug-fixes to the stroker,

View File

@ -100,7 +100,10 @@ if $(DEBUG_HINTER)
# We need "freetype2/include" in the current include path in order to
# compile any part of FreeType 2.
#
SubDirHdr += $(FT2_INCLUDE) ;
HDRS += $(FT2_INCLUDE) ;
#SubDirHdr += $(FT2_INCLUDE) ;
# Uncomment the following line if you want to build individual source files
# for each FreeType 2 module.

View File

@ -6,6 +6,19 @@
#
# call SubDirHdrs on a list of directories
#
rule AddSubDirHdrs
{
local x ;
for x in $(<)
{
SubDirHdrs $(x) ;
}
}
# Determine prefix of library file. We must use "libxxxxx" on Unix systems,
# while all other simply use the real name.
#
@ -39,11 +52,6 @@ rule FT2_SubDir
}
}
# The directory "include" must be in the current include path when compiling
# any part of FreeType. We thus update the HDRS variable there.
#
HDRS += [ FT2_SubDir include ] ;
# We also set ALL_LOCATE_TARGET in order to place all object and library
# files in "objs".
#

View File

@ -3,6 +3,7 @@
SubDir FT2_TOP $(FT2_SRC_DIR) base ;
{
local _sources ;