diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smbd/process_model.m4 | 9 | ||||
-rw-r--r-- | source4/smbd/process_model.mk | 36 |
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 |