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