Use srpm building tools
[Samba/vfs_proxy.git] / source4 / auth / config.mk
blobf13c2e5758993e283b6330899a62084ddd5da129
1 # auth server subsystem
2 gensecsrcdir := $(authsrcdir)/gensec
3 mkinclude gensec/config.mk
4 mkinclude kerberos/config.mk
5 mkinclude ntlmssp/config.mk
6 mkinclude ntlm/config.mk
7 mkinclude credentials/config.mk
9 [SUBSYSTEM::auth_session]
10 PUBLIC_DEPENDENCIES = CREDENTIALS
12 PUBLIC_HEADERS += $(authsrcdir)/session.h
14 auth_session_OBJ_FILES = $(addprefix $(authsrcdir)/, session.o)
16 $(eval $(call proto_header_template,$(authsrcdir)/session_proto.h,$(auth_session_OBJ_FILES:.o=.c)))
18 [SUBSYSTEM::auth_system_session]
19 PUBLIC_DEPENDENCIES = CREDENTIALS
20 PRIVATE_DEPENDENCIES = auth_session LIBSAMBA-UTIL LIBSECURITY
22 auth_system_session_OBJ_FILES = $(addprefix $(authsrcdir)/, system_session.o)
23 $(eval $(call proto_header_template,$(authsrcdir)/system_session_proto.h,$(auth_system_session_OBJ_FILES:.o=.c)))
25 [SUBSYSTEM::auth_sam]
26 PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
27 PRIVATE_DEPENDENCIES = LDAP_ENCODE
29 auth_sam_OBJ_FILES = $(addprefix $(authsrcdir)/, sam.o)
31 $(eval $(call proto_header_template,$(authsrcdir)/auth_sam.h,$(auth_sam_OBJ_FILES:.o=.c)))
33 [SUBSYSTEM::auth_sam_reply]
35 auth_sam_reply_OBJ_FILES = $(addprefix $(authsrcdir)/, auth_sam_reply.o)
37 $(eval $(call proto_header_template,$(authsrcdir)/auth_sam_reply.h,$(auth_sam_reply_OBJ_FILES:.o=.c)))
39 [PYTHON::swig_auth]
40 LIBRARY_REALNAME = samba/_auth.$(SHLIBEXT)
41 PUBLIC_DEPENDENCIES = auth_system_session
42 PRIVATE_DEPENDENCIES = SAMDB
44 $(eval $(call python_py_module_template,samba/auth.py,$(authsrcdir)/auth.py))
46 swig_auth_OBJ_FILES = $(authsrcdir)/auth_wrap.o
48 $(swig_auth_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)