From f6457b3d5408d5afe9a4de96d7623f1aa9ec39c4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 6 Mar 2006 15:34:29 +0000 Subject: r13867: Wrap the cflags.sh hack in the build system. You can now simply set subsystem-specific compiler flags in the .mk files. (This used to be commit d512b147e8dda39016faf74a50a9d85bfc23a2eb) --- source4/heimdal_build/config.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'source4/heimdal_build') diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk index a9d49f6082..9c7b593b47 100644 --- a/source4/heimdal_build/config.mk +++ b/source4/heimdal_build/config.mk @@ -186,6 +186,9 @@ NOPROTO = YES ####################### # Start SUBSYSTEM HEIMDAL_ASN1 [SUBSYSTEM::HEIMDAL_ASN1] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/lib/asn1 \ + -Iheimdal/kdc -Iheimdal/lib/des \ + -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE OBJ_FILES = \ ../heimdal/lib/asn1/der_get.o \ ../heimdal/lib/asn1/der_put.o \ @@ -261,6 +264,9 @@ NOPROTO = YES ####################### # Start SUBSYSTEM HEIMDAL_DES [SUBSYSTEM::HEIMDAL_DES] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/kdc \ + -Iheimdal/lib/des -Iheimdal/lib/roken \ + -DNO_PRINTF_ATTRIBUTE OBJ_FILES = \ ../heimdal/lib/des/aes.o \ ../heimdal/lib/des/des.o \ @@ -304,6 +310,8 @@ NOPROTO = YES ####################### # Start SUBSYSTEM HEIMDAL_ROKEN [SUBSYSTEM::HEIMDAL_ROKEN] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/kdc \ + -Iheimdal/lib/des -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE OBJ_FILES = \ ../heimdal/lib/roken/base64.o \ ../heimdal/lib/roken/bswap.o \ @@ -336,6 +344,9 @@ NOPROTO = YES ####################### # Start SUBSYSTEM HEIMDAL_VERS [SUBSYSTEM::HEIMDAL_VERS] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/kdc \ + -Iheimdal/lib/des -Iheimdal/lib/roken \ + -DNO_PRINTF_ATTRIBUTE OBJ_FILES = ../heimdal/lib/vers/print_version.o NOPROTO = YES # End SUBSYSTEM HEIMDAL_VERS @@ -352,6 +363,9 @@ REQUIRED_SUBSYSTEMS = LIBNETIF ####################### # Start SUBSYSTEM HEIMDAL_COM_ERR [SUBSYSTEM::HEIMDAL_COM_ERR] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/lib/com_err \ + -Iheimdal/kdc -Iheimdal/lib/des \ + -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE OBJ_FILES = \ ../heimdal/lib/com_err/com_err.o \ ../heimdal/lib/com_err/error.o @@ -362,6 +376,9 @@ NOPROTO = YES ####################### # Start BINARY asn1_compile [BINARY::asn1_compile] +EXTRA_CFLAGS = -Iheimdal_build -Iheimdal/lib/asn1 \ + -Iheimdal/kdc -Iheimdal/lib/des \ + -Iheimdal/lib/roken -DNO_PRINTF_ATTRIBUTE NOPROTO = YES OBJ_FILES = \ ../heimdal/lib/asn1/main.ho \ -- cgit