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