summaryrefslogtreecommitdiff
path: root/Jamrules
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2003-01-08 09:10:53 +0000
committerDavid Turner <david@freetype.org>2003-01-08 09:10:53 +0000
commitcce3c80c1f32b5ce6db3956ec9f5bc1a281b75d5 (patch)
tree532b3783b9c6f1379bd03e8a97c9a0cc7841c883 /Jamrules
parent20e33158da0a2078b85eb102e93b0f9772462c14 (diff)
* 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)
Diffstat (limited to 'Jamrules')
-rw-r--r--Jamrules18
1 files changed, 13 insertions, 5 deletions
diff --git a/Jamrules b/Jamrules
index eb65f926..c05e5085 100644
--- a/Jamrules
+++ b/Jamrules
@@ -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".
#