summaryrefslogtreecommitdiff
path: root/source4/auth/ntlm/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/ntlm/config.mk')
-rw-r--r--source4/auth/ntlm/config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/auth/ntlm/config.mk b/source4/auth/ntlm/config.mk
index 6dea92674d..f45b1989b0 100644
--- a/source4/auth/ntlm/config.mk
+++ b/source4/auth/ntlm/config.mk
@@ -69,7 +69,8 @@ PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
auth_unix_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_unix.o)
[SUBSYSTEM::PAM_ERRORS]
-PRIVATE_PROTO_HEADER = pam_errors.h
+
+$(call proto_header_template,$(authsrcdir)/ntlm/pam_errors.h,$(auth_unix_OBJ_FILES:.o=.c))
#VERSION = 0.0.1
#SO_VERSION = 0
@@ -78,10 +79,10 @@ PAM_ERRORS_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, pam_errors.o)
[MODULE::auth]
INIT_FUNCTION = server_service_auth_init
SUBSYSTEM = service
-PRIVATE_PROTO_HEADER = auth_proto.h
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS
auth_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth.o auth_util.o auth_simple.o)
+$(call proto_header_template,$(authsrcdir)/auth_proto.h,$(auth_OBJ_FILES))
# PUBLIC_HEADERS += auth/auth.h