summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-30 02:07:28 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-30 02:07:28 +0200
commit39f50afc579f208300c3c1fcc612ca9b69bb76e3 (patch)
tree55a14b4f6a45c68e9d0b4ab314af3c122df3abf1 /source4/kdc
parenta127b1b1b0b353a4b28dbe4f726b57e8359a62d5 (diff)
downloadsamba-39f50afc579f208300c3c1fcc612ca9b69bb76e3.tar.gz
samba-39f50afc579f208300c3c1fcc612ca9b69bb76e3.tar.bz2
samba-39f50afc579f208300c3c1fcc612ca9b69bb76e3.zip
Move CFLAGS handling out of smb_build.
(This used to be commit e2b71a0ecbf10a78a59a8ec6371bdee57b1bfa6c)
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/kdc/config.mk b/source4/kdc/config.mk
index b3b8b216f0..a2c00950c8 100644
--- a/source4/kdc/config.mk
+++ b/source4/kdc/config.mk
@@ -11,11 +11,11 @@ PRIVATE_DEPENDENCIES = \
#######################
KDC_OBJ_FILES = $(addprefix $(kdcsrcdir)/, kdc.o kpasswdd.o)
+$(KDC_OBJ_FILES): CFLAGS+=$(KRB5_CFLAGS) $(GSSAPI_CFLAGS) -I$(heimdalsrcdir)/lib/roken -I$(heimdalsrcdir)/lib -I$(heimdalsrcdir)/lib/wind -I$(heimdalsrcdir)/kdc -I$(heimdalsrcdir)/lib/ntlm -I$(heimdalsrcdir)/lib/hdb
#######################
# Start SUBSYSTEM KDC
[SUBSYSTEM::HDB_LDB]
-CFLAGS = -Iheimdal/kdc -Iheimdal/lib/hdb
PRIVATE_DEPENDENCIES = \
LIBLDB auth_sam auth_sam_reply HEIMDAL CREDENTIALS \
HEIMDAL_HDB_ASN1
@@ -23,4 +23,5 @@ PRIVATE_DEPENDENCIES = \
#######################
HDB_LDB_OBJ_FILES = $(addprefix $(kdcsrcdir)/, hdb-ldb.o pac-glue.o)
+$(HDB_LDB_OBJ_FILES): CFLAGS+=-I$(heimdalsrcdir)/kdc -I$(heimdalsrcdir)/lib/hdb -I$(heimdalsrcdir)/lib/com_err -I$(heimdalsrcdir)/lib/krb5 $(KRB5_CFLAGS) -I$(heimdalsrcdir)/lib -I$(heimdalsrcdir)/lib/roken
$(eval $(call proto_header_template,$(kdcsrcdir)/pac_glue.h,$(HDB_LDB_OBJ_FILES:.o=.c)))