summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-04-24 15:51:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:18 -0500
commitfdb9e6ce16c0e2b41ba2f134bbd3bc199c445684 (patch)
tree8e360f46ce35e28cef91dd2ed7f17a87211d7615
parent69b51f702af1ded825d5c17bdb97014cac12e752 (diff)
downloadsamba-fdb9e6ce16c0e2b41ba2f134bbd3bc199c445684.tar.gz
samba-fdb9e6ce16c0e2b41ba2f134bbd3bc199c445684.tar.bz2
samba-fdb9e6ce16c0e2b41ba2f134bbd3bc199c445684.zip
r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)
-rw-r--r--source4/heimdal_build/config.mk32
1 files changed, 28 insertions, 4 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 3257d8e340..48dba34084 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -368,9 +368,21 @@ OBJ_FILES = \
#######################
#######################
+# Start SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
+[SUBSYSTEM::HEIMDAL_ASN1_COMPILE_LEX]
+EXTRA_CFLAGS = -D_GNU_SOURCE \
+ -Iheimdal_build -Iheimdal/lib/asn1 \
+ -Iheimdal/kdc -Iheimdal/lib/des \
+ -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE
+OBJ_FILES = \
+ ../heimdal/lib/asn1/lex.ho
+# End SUBSYSTEM HEIMDAL_ASN1_COMPILE_LEX
+#######################
+
+#######################
# Start BINARY asn1_compile
[BINARY::asn1_compile]
-EXTRA_CFLAGS = -D_GNU_SOURCE \
+EXTRA_CFLAGS = \
-Iheimdal_build -Iheimdal/lib/asn1 \
-Iheimdal/kdc -Iheimdal/lib/des \
-Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE
@@ -384,7 +396,6 @@ OBJ_FILES = \
../heimdal/lib/asn1/gen_glue.ho \
../heimdal/lib/asn1/gen_length.ho \
../heimdal/lib/asn1/hash.ho \
- ../heimdal/lib/asn1/lex.ho \
../heimdal/lib/asn1/parse.ho \
../heimdal/lib/roken/emalloc.ho \
../heimdal/lib/roken/getarg.ho \
@@ -399,18 +410,30 @@ OBJ_FILES = \
../heimdal/lib/vers/print_version.ho \
../lib/replace/snprintf.ho \
../lib/replace/replace.ho
+REQUIRED_SUBSYSTEMS = HEIMDAL_ASN1_COMPILE_LEX
# End BINARY asn1_compile
#######################
#######################
+# Start SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
+[SUBSYSTEM::HEIMDAL_COM_ERR_COMPILE_LEX]
+EXTRA_CFLAGS = -D_GNU_SOURCE \
+ -Iheimdal_build -Iheimdal/lib/com_err \
+ -Iheimdal/kdc -Iheimdal/lib/des \
+ -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE
+OBJ_FILES = \
+ ../heimdal/lib/com_err/lex.ho
+# End SUBSYSTEM HEIMDAL_COM_ERR_COMPILE_LEX
+#######################
+
+#######################
# Start BINARY compile_et
[BINARY::compile_et]
-EXTRA_CFLAGS = -D_GNU_SOURCE \
+EXTRA_CFLAGS = \
-Iheimdal_build -Iheimdal/lib/com_err \
-Iheimdal/kdc -Iheimdal/lib/des \
-Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE
OBJ_FILES = ../heimdal/lib/vers/print_version.ho \
- ../heimdal/lib/com_err/lex.ho \
../heimdal/lib/com_err/parse.ho \
../heimdal/lib/com_err/compile_et.ho \
../heimdal/lib/roken/getarg.ho \
@@ -421,6 +444,7 @@ OBJ_FILES = ../heimdal/lib/vers/print_version.ho \
replace.ho \
../lib/replace/snprintf.ho \
../lib/replace/replace.ho
+REQUIRED_SUBSYSTEMS = HEIMDAL_COM_ERR_COMPILE_LEX
# End BINARY compile_et
#######################