summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-25 01:11:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:14 -0500
commitbd0e2417e1b0d3ba7a8bca290e3d5c47c9629948 (patch)
treecef6d5135d55ed79bddc83d6b06515d215548d18 /source4/smbd
parentc10c69ba9e9908490f0f020cb2610850d6b5bc5e (diff)
downloadsamba-bd0e2417e1b0d3ba7a8bca290e3d5c47c9629948.tar.gz
samba-bd0e2417e1b0d3ba7a8bca290e3d5c47c9629948.tar.bz2
samba-bd0e2417e1b0d3ba7a8bca290e3d5c47c9629948.zip
r869: convert SUBSYSTEM PROCESS_MODEL to a *.mk file
metze (This used to be commit c0269d294e7677d9a561460084a8da00736bfc3a)
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/process_model.m49
-rw-r--r--source4/smbd/process_model.mk36
2 files changed, 40 insertions, 5 deletions
diff --git a/source4/smbd/process_model.m4 b/source4/smbd/process_model.m4
index cbeedd1729..a3101253f0 100644
--- a/source4/smbd/process_model.m4
+++ b/source4/smbd/process_model.m4
@@ -1,7 +1,7 @@
dnl # Server process model subsystem
-SMB_MODULE(process_model_single,PROCESS_MODEL,STATIC,[smbd/process_single.o])
-SMB_MODULE(process_model_standard,PROCESS_MODEL,STATIC,[smbd/process_standard.o])
+SMB_MODULE_MK(process_model_single,PROCESS_MODEL,STATIC,smbd/process_model.mk)
+SMB_MODULE_MK(process_model_standard,PROCESS_MODEL,STATIC,smbd/process_model.mk)
#################################################
# check for pthread support
@@ -26,7 +26,6 @@ AC_MSG_RESULT(no)
SMB_EXT_LIB(PTHREAD,[-lpthread])
-SMB_MODULE(process_model_thread,PROCESS_MODEL,NOT,
- [smbd/process_thread.o],[],[PTHREAD])
+SMB_MODULE_MK(process_model_thread,PROCESS_MODEL,NOT,smbd/process_model.mk)
-SMB_SUBSYSTEM(PROCESS_MODEL,smbd/process_model.o)
+SMB_SUBSYSTEM_MK(PROCESS_MODEL,smbd/process_model.mk)
diff --git a/source4/smbd/process_model.mk b/source4/smbd/process_model.mk
new file mode 100644
index 0000000000..6a4048700f
--- /dev/null
+++ b/source4/smbd/process_model.mk
@@ -0,0 +1,36 @@
+# Server process model subsystem
+
+################################################
+# Start MODULE process_model_single
+[MODULE::process_model_single]
+INIT_OBJ_FILES = \
+ smbd/process_single.o
+# End MODULE process_model_single
+################################################
+
+################################################
+# Start MODULE process_model_standard
+[MODULE::process_model_standard]
+INIT_OBJ_FILES = \
+ smbd/process_standard.o
+# End MODULE process_model_standard
+################################################
+
+################################################
+# Start MODULE process_model_thread
+[MODULE::process_model_thread]
+INIT_OBJ_FILES = \
+ smbd/process_thread.o
+REQUIRED_LIBRARIES = \
+ PTHREAD
+# End MODULE process_model_thread
+################################################
+
+################################################
+# Start SUBSYSTEM PROCESS_MODEL
+[SUBSYSTEM::PROCESS_MODEL]
+INIT_OBJ_FILES = \
+ smbd/process_model.o
+#
+# End SUBSYSTEM PROCESS_MODEL
+################################################ \ No newline at end of file