summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/auth/config.m410
-rw-r--r--source4/auth/config.mk30
2 files changed, 33 insertions, 7 deletions
diff --git a/source4/auth/config.m4 b/source4/auth/config.m4
index 8fc1f5edeb..01e4574d94 100644
--- a/source4/auth/config.m4
+++ b/source4/auth/config.m4
@@ -1,10 +1,6 @@
dnl # AUTH Server subsystem
-SMB_MODULE(auth_sam,AUTH,STATIC,[auth/auth_sam.o])
-SMB_MODULE(auth_builtin,AUTH,STATIC,[auth/auth_builtin.o])
+SMB_MODULE_MK(auth_sam,AUTH,STATIC,auth/config.mk)
+SMB_MODULE_MK(auth_builtin,AUTH,STATIC,auth/config.mk)
-SMB_SUBSYSTEM(AUTH,auth/auth.o,
- [auth/auth_ntlmssp.o
- auth/auth_util.o
- auth/pampass.o
- auth/pass_check.o])
+SMB_SUBSYSTEM_MK(AUTH,auth/config.mk)
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
new file mode 100644
index 0000000000..c9b47e745b
--- /dev/null
+++ b/source4/auth/config.mk
@@ -0,0 +1,30 @@
+# AUTH Server subsystem
+
+#######################
+# Start MODULE auth_sam
+[MODULE::auth_sam]
+INIT_OBJ_FILES = \
+ auth/auth_sam.o
+# End MODULE auth_sam
+#######################
+
+#######################
+# Start MODULE auth_builtin
+[MODULE::auth_builtin]
+INIT_OBJ_FILES = \
+ auth/auth_builtin.o
+# End MODULE auth_builtin
+#######################
+
+#######################
+# Start SUBSYSTEM AUTH
+[SUBSYSTEM::AUTH]
+INIT_OBJ_FILES = \
+ auth/auth.o
+ADD_OBJ_FILES = \
+ auth/auth_ntlmssp.o \
+ auth/auth_util.o \
+ auth/pampass.o \
+ auth/pass_check.o
+# End SUBSYSTEM AUTH
+#######################