summaryrefslogtreecommitdiff
path: root/source4/dsdb/config.mk
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/dsdb/config.mk
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/dsdb/config.mk')
-rw-r--r--source4/dsdb/config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/config.mk b/source4/dsdb/config.mk
index 7b700fda22..d6e007ac58 100644
--- a/source4/dsdb/config.mk
+++ b/source4/dsdb/config.mk
@@ -16,6 +16,7 @@ SAMDB_OBJ_FILES = $(addprefix $(dsdbsrcdir)/, \
samdb/samdb_privilege.o \
samdb/cracknames.o \
repl/replicated_objects.o)
+$(SAMDB_OBJ_FILES): CFLAGS+=$(KRB5_CFLAGS)
$(eval $(call proto_header_template,$(dsdbsrcdir)/samdb/samdb_proto.h,$(SAMDB_OBJ_FILES:.o=.c)))
# PUBLIC_HEADERS += dsdb/samdb/samdb.h
@@ -29,6 +30,8 @@ SAMDB_COMMON_OBJ_FILES = $(addprefix $(dsdbsrcdir)/common/, \
util.o)
$(eval $(call proto_header_template,$(dsdbsrcdir)/common/proto.h,$(SAMDB_COMMON_OBJ_FILES:.o=.c)))
+$(SAMDB_COMMON_OBJ_FILES): CFLAGS+=$(LDB_CFLAGS)
+
[SUBSYSTEM::SAMDB_SCHEMA]
PRIVATE_DEPENDENCIES = SAMDB_COMMON NDR_DRSUAPI NDR_DRSBLOBS