r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
[kamenim/samba.git] / source4 / auth / config.mk
index b594a38f9d38e82c10a87e5d4341151e6a5da102..497fccbc965173047e24c60d298004c4fd21b7f6 100644 (file)
@@ -1,21 +1,23 @@
-# auth Server subsystem
+# auth server subsystem
 include gensec/config.mk
 include kerberos/config.mk
 include ntlmssp/config.mk
 include credentials/config.mk
 
+[SUBSYSTEM::auth_sam]
+PRIVATE_PROTO_HEADER = auth_sam.h
+OBJ_FILES = sam.o auth_sam_reply.o ntlm_check.o 
+PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB
+
 #######################
 # Start MODULE auth_sam
-[MODULE::auth_sam]
+[MODULE::auth_sam_module]
 # gensec_krb5 and gensec_gssapi depend on it
-OUTPUT_TYPE = MERGEDOBJ
-PRIVATE_PROTO_HEADER = auth_sam.h
 INIT_FUNCTION = auth_sam_init
 SUBSYSTEM = auth
-OBJ_FILES = \
-               auth_sam.o
-REQUIRED_SUBSYSTEMS = \
-               SAMDB
+OBJ_FILES = auth_sam.o
+PRIVATE_DEPENDENCIES = \
+               SAMDB auth_sam
 # End MODULE auth_sam
 #######################
 
@@ -24,8 +26,7 @@ REQUIRED_SUBSYSTEMS = \
 [MODULE::auth_anonymous]
 INIT_FUNCTION = auth_anonymous_init
 SUBSYSTEM = auth
-OBJ_FILES = \
-               auth_anonymous.o
+OBJ_FILES = auth_anonymous.o
 # End MODULE auth_anonymous
 #######################
 
@@ -34,11 +35,8 @@ OBJ_FILES = \
 [MODULE::auth_winbind]
 INIT_FUNCTION = auth_winbind_init
 SUBSYSTEM = auth
-OBJ_FILES = \
-               auth_winbind.o
-REQUIRED_SUBSYSTEMS = \
-               LIBWINBIND_CLIENT \
-               NDR_NETLOGON LIBNDR
+OBJ_FILES = auth_winbind.o
+PRIVATE_DEPENDENCIES = NDR_WINBIND MESSAGING LIBWINBIND-CLIENT
 # End MODULE auth_winbind
 #######################
 
@@ -47,8 +45,7 @@ REQUIRED_SUBSYSTEMS = \
 [MODULE::auth_developer]
 INIT_FUNCTION = auth_developer_init
 SUBSYSTEM = auth
-OBJ_FILES = \
-               auth_developer.o
+OBJ_FILES = auth_developer.o
 # End MODULE auth_developer
 #######################
 
@@ -57,10 +54,8 @@ OBJ_FILES = \
 [MODULE::auth_unix]
 INIT_FUNCTION = auth_unix_init
 SUBSYSTEM = auth
-OBJ_FILES = \
-               auth_unix.o
-REQUIRED_SUBSYSTEMS = \
-               EXT_LIB_CRYPT EXT_LIB_PAM PAM_ERRORS
+OBJ_FILES = auth_unix.o
+PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
 # End MODULE auth_unix
 #######################
 
@@ -71,14 +66,14 @@ OBJ_FILES = pam_errors.o
 #######################
 # Start SUBSYSTEM auth
 [SUBSYSTEM::auth]
+#VERSION = 0.0.1
+#SO_VERSION = 0
 PUBLIC_HEADERS = auth.h
 PUBLIC_PROTO_HEADER = auth_proto.h
 OBJ_FILES = \
                auth.o \
                auth_util.o \
-               auth_sam_reply.o \
-               ntlm_check.o \
                auth_simple.o
-REQUIRED_SUBSYSTEMS = LIB_SECURITY
+PUBLIC_DEPENDENCIES = LIBSECURITY SAMDB CREDENTIALS
 # End SUBSYSTEM auth
 #######################