From 9425495e30825079acfe9584642ec12fd084347f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 24 May 2004 23:57:53 +0000 Subject: r864: convert the smbd/* code to a config.mk file and add server_auth, server_smb, server_rpc as server modules metze (This used to be commit ecdeedb2ac81a3c816f7d72b6f39f16dd6e6267f) --- source4/configure.in | 9 +-------- source4/smbd/config.m4 | 9 +++++++++ source4/smbd/config.mk | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 source4/smbd/config.m4 create mode 100644 source4/smbd/config.mk (limited to 'source4') diff --git a/source4/configure.in b/source4/configure.in index 15019b8e00..32b600dc3b 100644 --- a/source4/configure.in +++ b/source4/configure.in @@ -237,14 +237,7 @@ SMB_EXT_LIB(ALLLIBS, [${ALLLIBS_CPPFLAGS}], [${ALLLIBS_LDFLAGS}]) -SMB_BINARY(smbd, [ALL], [SBIN], - [smbd/server.o - smbd/process.o - lib/server_mutex.o - smbd/build_options.o - smbd/rewrite.o], - [], - [PROCESS_MODEL SMB AUTH NTVFS DCERPC LIBBASIC CONFIG LIBCMDLINE LIBSMB REGISTRY]) +SMB_INCLUDE_M4(smbd/config.m4) SMB_BINARY(smbclient, [ALL], [BIN], [client/client.o diff --git a/source4/smbd/config.m4 b/source4/smbd/config.m4 new file mode 100644 index 0000000000..0f2f65a14e --- /dev/null +++ b/source4/smbd/config.m4 @@ -0,0 +1,9 @@ +dnl # SMB server subsystem + +SMB_MODULE_MK(server_smb,SERVER,STATIC,smbd/config.mk) +SMB_MODULE_MK(server_rpc,SERVER,STATIC,smbd/config.mk) +SMB_MODULE_MK(server_auth,SERVER,STATIC,smbd/config.mk) + +SMB_SUBSYSTEM_MK(SERVER,smbd/config.mk) + +SMB_BINARY_MK(smbd, smbd/config.mk) diff --git a/source4/smbd/config.mk b/source4/smbd/config.mk new file mode 100644 index 0000000000..1711a86a97 --- /dev/null +++ b/source4/smbd/config.mk @@ -0,0 +1,51 @@ +# server subsystem + +################################################ +# Start MODULE server_auth +[MODULE::server_auth] +REQUIRED_SUBSYSTEMS = \ + AUTH +# End MODULE server_auth +################################################ + +################################################ +# Start MODULE server_smb +[MODULE::server_smb] +REQUIRED_SUBSYSTEMS = \ + SMB +# End MODULE server_smb +################################################ + +################################################ +# Start MODULE server_rpc +[MODULE::server_rpc] +REQUIRED_SUBSYSTEMS = \ + DCERPC +# End MODULE server_rpc +################################################ + +####################### +# Start SUBSYSTEM SERVER +[SUBSYSTEM::SERVER] +INIT_OBJ_FILES = \ + smbd/server.o +ADD_OBJ_FILES = \ + smbd/process.o \ + lib/server_mutex.o \ + smbd/build_options.o \ + smbd/rewrite.o +REQUIRED_SUBSYSTEMS = \ + PROCESS_MODEL +# End SUBSYSTEM SERVER +####################### + +################################# +# Start BINARY smbd +[BINARY::smbd] +REQUIRED_SUBSYSTEMS = \ + SERVER \ + CONFIG \ + LIBCMDLINE \ + LIBBASIC +# End BINARY smbd +################################# -- cgit