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