summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/config.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-18 22:30:08 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-18 22:30:08 +0200
commit4c8756f147f8b9a2806fd76e4cb06bb99d391516 (patch)
treeb36bf9822e23170774aaca4e5c164d883a27ecff /source4/smb_server/config.mk
parente3a615172e43347f31ad260f0f7ce28a39265257 (diff)
downloadsamba-4c8756f147f8b9a2806fd76e4cb06bb99d391516.tar.gz
samba-4c8756f147f8b9a2806fd76e4cb06bb99d391516.tar.xz
samba-4c8756f147f8b9a2806fd76e4cb06bb99d391516.zip
Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
Diffstat (limited to 'source4/smb_server/config.mk')
-rw-r--r--source4/smb_server/config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/smb_server/config.mk b/source4/smb_server/config.mk
index 4b1e523ff7..4f0fbeb85c 100644
--- a/source4/smb_server/config.mk
+++ b/source4/smb_server/config.mk
@@ -3,15 +3,15 @@
[MODULE::SERVICE_SMB]
INIT_FUNCTION = server_service_smb_init
SUBSYSTEM = smbd
-PRIVATE_PROTO_HEADER = service_smb_proto.h
PRIVATE_DEPENDENCIES = SMB_SERVER
SERVICE_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_server.o
+$(call proto_header_template,$(smb_serversrcdir)/service_smb_proto.h,$(SERVICE_SMB_OBJ_FILES:.o=.c))
+
#######################
# Start SUBSYSTEM SMB
[SUBSYSTEM::SMB_SERVER]
-PRIVATE_PROTO_HEADER = smb_server_proto.h
PUBLIC_DEPENDENCIES = \
share \
LIBPACKET \
@@ -27,5 +27,7 @@ SMB_SERVER_OBJ_FILES = $(addprefix $(smb_serversrcdir)/, \
blob.o \
management.o)
+$(call proto_header_template,$(smb_serversrcdir)/smb_server_proto.h,$(SMB_SERVER_OBJ_FILES:.o=.c))
+
mkinclude smb/config.mk
mkinclude smb2/config.mk