Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
[kai/samba.git] / source4 / auth / ntlm / config.mk
1 # NTLM auth server subsystem
2
3 [SUBSYSTEM::ntlm_check]
4 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL
5
6 ntlm_check_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, ntlm_check.o)
7
8 #######################
9 # Start MODULE auth_sam
10 [MODULE::auth_sam_module]
11 INIT_FUNCTION = auth_sam_init
12 SUBSYSTEM = auth
13 PRIVATE_DEPENDENCIES = \
14                 SAMDB auth_sam ntlm_check
15 # End MODULE auth_sam
16 #######################
17
18 auth_sam_module_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_sam.o)
19
20 #######################
21 # Start MODULE auth_anonymous
22 [MODULE::auth_anonymous]
23 INIT_FUNCTION = auth_anonymous_init
24 SUBSYSTEM = auth
25 # End MODULE auth_anonymous
26 #######################
27
28 auth_anonymous_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_anonymous.o)
29
30 #######################
31 # Start MODULE auth_anonymous
32 [MODULE::auth_server]
33 INIT_FUNCTION = auth_server_init
34 SUBSYSTEM = auth
35 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBCLI_SMB
36 # End MODULE auth_server
37 #######################
38
39 auth_server_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_server.o)
40
41 #######################
42 # Start MODULE auth_winbind
43 [MODULE::auth_winbind]
44 INIT_FUNCTION = auth_winbind_init
45 SUBSYSTEM = auth
46 PRIVATE_DEPENDENCIES = NDR_WINBIND MESSAGING LIBWINBIND-CLIENT
47 # End MODULE auth_winbind
48 #######################
49
50 auth_winbind_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_winbind.o)
51
52 #######################
53 # Start MODULE auth_developer
54 [MODULE::auth_developer]
55 INIT_FUNCTION = auth_developer_init
56 SUBSYSTEM = auth
57 # End MODULE auth_developer
58 #######################
59
60 auth_developer_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_developer.o)
61
62 [MODULE::auth_unix]
63 INIT_FUNCTION = auth_unix_init
64 SUBSYSTEM = auth
65 PRIVATE_DEPENDENCIES = CRYPT PAM PAM_ERRORS NSS_WRAPPER
66
67 auth_unix_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth_unix.o)
68
69 [SUBSYSTEM::PAM_ERRORS]
70
71 #VERSION = 0.0.1
72 #SO_VERSION = 0
73 PAM_ERRORS_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, pam_errors.o)
74
75 [MODULE::auth]
76 INIT_FUNCTION = server_service_auth_init
77 SUBSYSTEM = service
78 OUTPUT_TYPE = MERGED_OBJ
79 PRIVATE_DEPENDENCIES = LIBSAMBA-UTIL LIBSECURITY SAMDB CREDENTIALS 
80
81 auth_OBJ_FILES = $(addprefix $(authsrcdir)/ntlm/, auth.o auth_util.o auth_simple.o)
82 $(eval $(call proto_header_template,$(authsrcdir)/auth_proto.h,$(auth_OBJ_FILES:.o=.c)))
83
84 # PUBLIC_HEADERS += auth/auth.h
85