summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-27 15:45:53 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-27 15:45:53 +0200
commit04b7b013064e7fa942d739df1e1d5b0b608a2b3a (patch)
tree30b3ee8b49e68d6b358e9b83441613fe16746188 /source4/heimdal_build
parent14b0987c630a424546211c46b8a8c5ca3c038226 (diff)
downloadsamba-04b7b013064e7fa942d739df1e1d5b0b608a2b3a.tar.gz
samba-04b7b013064e7fa942d739df1e1d5b0b608a2b3a.tar.bz2
samba-04b7b013064e7fa942d739df1e1d5b0b608a2b3a.zip
Move asn1 cflags definition to gmake.
(This used to be commit 486d43355eb368c3f291ded5e353416e478ab862)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index f13f1d38c4..608bf2d2b8 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -499,7 +499,6 @@ HEIMDAL_ASN1_COMPILE_LEX_OBJ_FILES = $(heimdalsrcdir)/lib/asn1/lex.ho
#######################
# Start BINARY asn1_compile
[BINARY::asn1_compile]
-CFLAGS = -I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
USE_HOSTCC = YES
PRIVATE_DEPENDENCIES = HEIMDAL_ASN1_COMPILE_LEX HEIMDAL_ROKEN_GETPROGNAME_H LIBREPLACE_NETWORK
@@ -529,6 +528,8 @@ asn1_compile_OBJ_FILES = \
$(socketwrappersrcdir)/socket_wrapper.ho \
$(heimdalbuildsrcdir)/replace.ho
+$(asn1_compile_OBJ_FILES): CFLAGS+=-I$(heimdalbuildsrcdir) -I$(heimdalsrcdir)/lib/roken
+
# End BINARY asn1_compile
#######################
@@ -558,7 +559,7 @@ compile_et_OBJ_FILES = $(heimdalsrcdir)/lib/vers/print_version.ho \
$(heimdalsrcdir)/lib/roken/strupr.ho \
$(heimdalsrcdir)/lib/roken/setprogname.ho \
$(socketwrappersrcdir)/socket_wrapper.ho \
- $(heimdalsrcdir)/replace.ho
+ $(heimdalbuildsrcdir)/replace.ho
mkinclude perl_path_wrapper.sh asn1_deps.pl lib/hdb/hdb.asn1 hdb_asn1 \$\(heimdalsrcdir\)/lib/hdb |