summaryrefslogtreecommitdiffstats
path: root/source4/smbd
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/smbd
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/smbd')
-rw-r--r--source4/smbd/config.mk6
-rw-r--r--source4/smbd/process_model.mk3
2 files changed, 6 insertions, 3 deletions
diff --git a/source4/smbd/config.mk b/source4/smbd/config.mk
index b8b87ba435..f5f88ffa7d 100644
--- a/source4/smbd/config.mk
+++ b/source4/smbd/config.mk
@@ -1,7 +1,6 @@
# server subsystem
[SUBSYSTEM::service]
-PRIVATE_PROTO_HEADER = service_proto.h
PRIVATE_DEPENDENCIES = \
MESSAGING samba-socket
@@ -10,11 +9,14 @@ service_OBJ_FILES = $(addprefix $(smbdsrcdir)/, \
service_stream.o \
service_task.o)
+$(call proto_header_template,$(smbdsrcdir)/service_proto.h,$(service_OBJ_FILES:.o=.c))
+
[SUBSYSTEM::PIDFILE]
-PRIVATE_PROTO_HEADER = pidfile.h
PIDFILE_OBJ_FILES = $(smbdsrcdir)/pidfile.o
+$(call proto_header_template,$(smbdsrcdir)/pidfile.h,$(PIDFILE_OBJ_FILES:.o=.c))
+
#################################
# Start BINARY smbd
[BINARY::smbd]
diff --git a/source4/smbd/process_model.mk b/source4/smbd/process_model.mk
index d97462fced..44e3f5b754 100644
--- a/source4/smbd/process_model.mk
+++ b/source4/smbd/process_model.mk
@@ -43,7 +43,8 @@ SUBSYSTEM = process_model
process_model_prefork_OBJ_FILES = $(smbdsrcdir)/process_prefork.o
[SUBSYSTEM::process_model]
-PRIVATE_PROTO_HEADER = process_model_proto.h
PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG
process_model_OBJ_FILES = $(smbdsrcdir)/process_model.o
+
+$(call proto_header_template,$(smbdsrcdir)/process_model_proto.h,$(process_model_OBJ_FILES:.o=.c))