summaryrefslogtreecommitdiff
path: root/source4/ldap_server/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'source4/ldap_server/config.mk')
-rw-r--r--source4/ldap_server/config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ldap_server/config.mk b/source4/ldap_server/config.mk
index 47eb85cab9..65f5b17f9a 100644
--- a/source4/ldap_server/config.mk
+++ b/source4/ldap_server/config.mk
@@ -5,7 +5,6 @@
[MODULE::LDAP]
INIT_FUNCTION = server_service_ldap_init
SUBSYSTEM = smbd
-PRIVATE_PROTO_HEADER = proto.h
PRIVATE_DEPENDENCIES = CREDENTIALS \
LIBCLI_LDAP SAMDB \
process_model \
@@ -14,9 +13,10 @@ PRIVATE_DEPENDENCIES = CREDENTIALS \
# End SUBSYSTEM SMB
#######################
-LDAP_OBJ_FILES = $(addprefix ldap_server/, \
+LDAP_OBJ_FILES = $(addprefix $(ldap_serversrcdir)/, \
ldap_server.o \
ldap_backend.o \
ldap_bind.o \
ldap_extended.o)
+$(eval $(call proto_header_template,$(ldap_serversrcdir)/proto.h,$(LDAP_OBJ_FILES:.o=.c)))