2006-03-19 20:51:15 +03:00
# auth server subsystem
2008-05-18 21:46:09 +04:00
gensecsrcdir := $( authsrcdir) /gensec
2008-02-18 22:04:18 +03:00
m k i n c l u d e g e n s e c / c o n f i g . m k
m k i n c l u d e k e r b e r o s / c o n f i g . m k
m k i n c l u d e n t l m s s p / c o n f i g . m k
2008-05-05 09:23:57 +04:00
m k i n c l u d e n t l m / c o n f i g . m k
2008-02-18 22:04:18 +03:00
m k i n c l u d e c r e d e n t i a l s / c o n f i g . m k
2004-05-24 20:54:41 +04:00
2007-11-26 04:25:20 +03:00
[SUBSYSTEM :: auth_session ]
2007-12-17 13:12:42 +03:00
PUBLIC_DEPENDENCIES = CREDENTIALS
2007-11-26 04:25:20 +03:00
2008-05-18 21:46:09 +04:00
PUBLIC_HEADERS += $( authsrcdir) /session.h
2008-02-29 16:23:38 +03:00
2008-05-18 21:46:09 +04:00
auth_session_OBJ_FILES = $( addprefix $( authsrcdir) /, session.o)
2008-04-14 18:53:00 +04:00
2008-05-19 01:02:47 +04:00
$(eval $(call proto_header_template,$(authsrcdir)/session_proto.h,$(auth_session_OBJ_FILES : .o =.c )))
2008-05-18 23:09:04 +04:00
2007-11-26 04:25:20 +03:00
[SUBSYSTEM :: auth_system_session ]
2007-12-17 13:12:42 +03:00
PUBLIC_DEPENDENCIES = CREDENTIALS
PRIVATE_DEPENDENCIES = auth_session LIBSAMBA-UTIL LIBSECURITY
2007-11-26 04:25:20 +03:00
2008-05-18 21:46:09 +04:00
auth_system_session_OBJ_FILES = $( addprefix $( authsrcdir) /, system_session.o)
2008-05-19 01:40:23 +04:00
$(eval $(call proto_header_template,$(authsrcdir)/system_session_proto.h,$(auth_system_session_OBJ_FILES : .o =.c )))
2008-04-14 18:53:00 +04:00
2006-04-27 23:50:13 +04:00
[SUBSYSTEM :: auth_sam ]
2007-12-10 06:33:29 +03:00
PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB LIBSECURITY
2007-12-06 23:39:49 +03:00
PRIVATE_DEPENDENCIES = LDAP_ENCODE
2006-04-27 23:50:13 +04:00
2008-05-18 21:46:09 +04:00
auth_sam_OBJ_FILES = $( addprefix $( authsrcdir) /, sam.o)
2008-04-14 18:53:00 +04:00
2008-05-19 01:40:23 +04:00
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam.h,$(auth_sam_OBJ_FILES : .o =.c )))
2008-05-18 23:09:04 +04:00
2007-12-10 06:33:29 +03:00
[SUBSYSTEM :: auth_sam_reply ]
2008-04-14 18:53:00 +04:00
2008-05-18 21:46:09 +04:00
auth_sam_reply_OBJ_FILES = $( addprefix $( authsrcdir) /, auth_sam_reply.o)
2007-12-10 06:33:29 +03:00
2008-05-19 01:40:23 +04:00
$(eval $(call proto_header_template,$(authsrcdir)/auth_sam_reply.h,$(auth_sam_reply_OBJ_FILES : .o =.c )))
2008-05-18 23:09:04 +04:00
2007-11-21 14:31:41 +03:00
[PYTHON :: swig_auth ]
2008-05-22 01:59:34 +04:00
LIBRARY_REALNAME = samba/_auth.$( SHLIBEXT)
2007-12-24 08:54:30 +03:00
PUBLIC_DEPENDENCIES = auth_system_session
2007-11-21 14:31:41 +03:00
PRIVATE_DEPENDENCIES = SAMDB
2008-04-14 18:53:00 +04:00
2008-05-21 23:50:56 +04:00
$( eval $ ( call python_py_module_template ,samba /auth .py ,$ ( authsrcdir ) /auth .py ) )
2008-05-21 23:24:48 +04:00
2008-05-18 21:46:09 +04:00
swig_auth_OBJ_FILES = $( authsrcdir) /auth_wrap.o
2008-05-21 23:32:53 +04:00
2008-05-22 04:13:26 +04:00
$(swig_auth_OBJ_FILES) : CFLAGS +=$( CFLAG_NO_UNUSED_MACROS ) $( CFLAG_NO_CAST_QUAL )