Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
[gd/samba/.git] / source4 / auth / config.mk
1 # auth server subsystem
2 mkinclude gensec/config.mk
3 mkinclude kerberos/config.mk
4 mkinclude ntlmssp/config.mk
5 mkinclude credentials/config.mk
6
7 [SUBSYSTEM::auth_session]
8 PRIVATE_PROTO_HEADER = session_proto.h
9 PUBLIC_DEPENDENCIES = CREDENTIALS
10
11 # PUBLIC_HEADERS += auth/session.h
12
13 auth_session_OBJ_FILES = $(addprefix auth/, session.o)
14
15 [SUBSYSTEM::auth_system_session]
16 PRIVATE_PROTO_HEADER = system_session_proto.h
17 PUBLIC_DEPENDENCIES = CREDENTIALS
18 PRIVATE_DEPENDENCIES = auth_session LIBSAMBA-UTIL LIBSECURITY 
19
20 auth_system_session_OBJ_FILES = $(addprefix auth/, system_session.o)
21
22 [SUBSYSTEM::auth_sam]
23 PRIVATE_PROTO_HEADER = auth_sam.h
24 PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
25 PRIVATE_DEPENDENCIES = LDAP_ENCODE
26
27 auth_sam_OBJ_FILES = $(addprefix auth/, sam.o ntlm_check.o)
28
29 [SUBSYSTEM::auth_sam_reply]
30 PRIVATE_PROTO_HEADER = auth_sam_reply.h
31
32 auth_sam_reply_OBJ_FILES = $(addprefix auth/, auth_sam_reply.o)
33
34 #######################
35 # Start MODULE auth_sam
36 [MODULE::auth_sam_module]
37 # gensec_krb5 and gensec_gssapi depend on it
38 INIT_FUNCTION = auth_sam_init
39 SUBSYSTEM = service_auth
40 PRIVATE_DEPENDENCIES = \
41                 SAMDB auth_sam
42 # End MODULE auth_sam
43 #######################
44
45 auth_sam_module_OBJ_FILES = $(addprefix auth/, auth_sam.o)
46
47 #######################
48 # Start MODULE auth_anonymous
49 [MODULE::auth_anonymous]
50 INIT_FUNCTION = auth_anonymous_init
51 SUBSYSTEM = service_auth
52 # End MODULE auth_anonymous
53 #######################
54
55 auth_anonymous_OBJ_FILES = $(addprefix auth/, auth_anonymous.o)
56
57 #######################
58 # Start MODULE auth_winbind
59 [MODULE::auth_winbind]
60 INIT_FUNCTION = auth_winbind_init
61 SUBSYSTEM = service_auth
62 PRIVATE_DEPENDENCIES = NDR_WINBIND MESSAGING LIBWINBIND-CLIENT
63 # End MODULE auth_winbind
64 #######################
65
66 auth_winbind_OBJ_FILES = $(addprefix auth/, auth_winbind.o)
67
68 #######################
69 # Start MODULE auth_developer
70 [MODULE::auth_developer]
71 INIT_FUNCTION = auth_developer_init
72 SUBSYSTEM = service_auth
73 # End MODULE auth_developer
74 #######################
75
76 auth_developer_OBJ_FILES = $(addprefix auth/, auth_developer.o)
77
78 [MODULE::auth_unix]
79 INIT_FUNCTION = auth_unix_init
80 SUBSYSTEM = service_auth
81 PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
82
83 auth_unix_OBJ_FILES = $(addprefix auth/, auth_unix.o)
84
85 [SUBSYSTEM::PAM_ERRORS]
86 PRIVATE_PROTO_HEADER = pam_errors.h
87
88 PAM_ERRORS_OBJ_FILES = $(addprefix auth/, pam_errors.o)
89
90 [MODULE::auth]
91 INIT_FUNCTION = server_service_auth_init
92 SUBSYSTEM = smbd
93 PRIVATE_PROTO_HEADER = auth_proto.h
94 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS 
95
96 auth_OBJ_FILES = $(addprefix auth/, auth.o auth_util.o auth_simple.o)
97
98 # PUBLIC_HEADERS += auth/auth.h
99
100 [PYTHON::swig_auth]
101 PUBLIC_DEPENDENCIES = auth_system_session
102 PRIVATE_DEPENDENCIES = SAMDB 
103 SWIG_FILE = auth.i
104
105 swig_auth_OBJ_FILES = auth/auth_wrap.o