summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-18 21:09:04 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-18 21:09:04 +0200
commitdc114f8c5acbcffe2f7114083f3e058f17fb4fa2 (patch)
tree0d8424597a9635a284f6f8d9af8bb155bc698632 /source4/auth/gensec
parent333c169529a3f64a28fcaff1056069867fd56a90 (diff)
downloadsamba-dc114f8c5acbcffe2f7114083f3e058f17fb4fa2.tar.gz
samba-dc114f8c5acbcffe2f7114083f3e058f17fb4fa2.tar.bz2
samba-dc114f8c5acbcffe2f7114083f3e058f17fb4fa2.zip
Avoid smb_build for prototype headers in some places.
(This used to be commit 4876c4efbbafb4e0afa3554cd9f748ab591a2927)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/gensec/config.mk b/source4/auth/gensec/config.mk
index ddcd8ff458..9a497010a0 100644
--- a/source4/auth/gensec/config.mk
+++ b/source4/auth/gensec/config.mk
@@ -1,7 +1,6 @@
#################################
# Start SUBSYSTEM gensec
[LIBRARY::gensec]
-PRIVATE_PROTO_HEADER = gensec_proto.h
PUBLIC_DEPENDENCIES = \
CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba-socket LIBPACKET
# End SUBSYSTEM gensec
@@ -15,6 +14,8 @@ gensec_OBJ_FILES = $(addprefix $(gensecsrcdir)/, gensec.o socket.o)
PUBLIC_HEADERS += $(gensecsrcdir)/gensec.h
+$(call proto_header_template,$(gensecsrcdir)/gensec_proto.h,$(gensec_OBJ_FILES:.o=.c))
+
################################################
# Start MODULE gensec_krb5
[MODULE::gensec_krb5]
@@ -53,13 +54,14 @@ cyrus_sasl_OBJ_FILES = $(addprefix $(gensecsrcdir)/, cyrus_sasl.o)
[MODULE::gensec_spnego]
SUBSYSTEM = gensec
INIT_FUNCTION = gensec_spnego_init
-PRIVATE_PROTO_HEADER = spnego_proto.h
PRIVATE_DEPENDENCIES = ASN1_UTIL CREDENTIALS
# End MODULE gensec_spnego
################################################
gensec_spnego_OBJ_FILES = $(addprefix $(gensecsrcdir)/, spnego.o spnego_parse.o)
+$(call proto_header_template,$(gensecsrcdir)/spnego_proto.h,$(gensec_spnego_OBJ_FILES:.o=.c))
+
################################################
# Start MODULE gensec_schannel
[MODULE::gensec_schannel]