1 #################################
2 # Start SUBSYSTEM gensec
4 PUBLIC_DEPENDENCIES
= \
5 CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET
7 #################################
9 PC_FILES
+= $(gensecsrcdir
)/gensec.
pc
11 gensec_VERSION
= 0.0.1
13 gensec_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, gensec.o socket.o
)
15 PUBLIC_HEADERS
+= $(gensecsrcdir
)/gensec.h
17 $(eval
$(call proto_header_template
,$(gensecsrcdir
)/gensec_proto.h
,$(gensec_OBJ_FILES
:.o
=.c
)))
19 ################################################
20 # Start MODULE gensec_krb5
23 INIT_FUNCTION
= gensec_krb5_init
24 PRIVATE_DEPENDENCIES
= CREDENTIALS KERBEROS auth_session
25 # End MODULE gensec_krb5
26 ################################################
28 gensec_krb5_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, gensec_krb5.o
)
30 ################################################
31 # Start MODULE gensec_gssapi
32 [MODULE
::gensec_gssapi
]
34 INIT_FUNCTION
= gensec_gssapi_init
35 PRIVATE_DEPENDENCIES
= HEIMDAL_GSSAPI CREDENTIALS KERBEROS
36 # End MODULE gensec_gssapi
37 ################################################
39 gensec_gssapi_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, gensec_gssapi.o
)
41 ################################################
42 # Start MODULE cyrus_sasl
45 INIT_FUNCTION
= gensec_sasl_init
46 PRIVATE_DEPENDENCIES
= CREDENTIALS SASL
47 # End MODULE cyrus_sasl
48 ################################################
50 cyrus_sasl_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, cyrus_sasl.o
)
52 ################################################
53 # Start MODULE gensec_spnego
54 [MODULE
::gensec_spnego
]
56 INIT_FUNCTION
= gensec_spnego_init
57 PRIVATE_DEPENDENCIES
= ASN1_UTIL CREDENTIALS
58 # End MODULE gensec_spnego
59 ################################################
61 gensec_spnego_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, spnego.o
) ..
/libcli
/auth
/spnego_parse.o
63 $(eval
$(call proto_header_template
,$(gensecsrcdir
)/spnego_proto.h
,$(gensec_spnego_OBJ_FILES
:.o
=.c
)))
65 ################################################
66 # Start MODULE gensec_schannel
67 [MODULE
::gensec_schannel
]
69 INIT_FUNCTION
= gensec_schannel_init
70 PRIVATE_DEPENDENCIES
= SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR auth_session
71 OUTPUT_TYPE
= MERGED_OBJ
72 # End MODULE gensec_schannel
73 ################################################
75 gensec_schannel_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, schannel.o
) ..
/libcli
/auth
/schannel_sign.o
76 $(eval
$(call proto_header_template
,$(gensecsrcdir
)/schannel_proto.h
,$(gensec_schannel_OBJ_FILES
:.o
=.c
)))
78 ################################################
79 # Start SUBSYSTEM SCHANNELDB
80 [SUBSYSTEM
::SCHANNELDB
]
81 PRIVATE_DEPENDENCIES
= LDB_WRAP COMMON_SCHANNELDB
82 # End SUBSYSTEM SCHANNELDB
83 ################################################
85 SCHANNELDB_OBJ_FILES
= $(addprefix $(gensecsrcdir
)/, schannel_state.o
)
86 $(eval
$(call proto_header_template
,$(gensecsrcdir
)/schannel_state.h
,$(SCHANNELDB_OBJ_FILES
:.o
=.c
)))
89 PRIVATE_DEPENDENCIES
= gensec PYTALLOC pyparam_util
90 LIBRARY_REALNAME
= samba
/gensec.
$(SHLIBEXT
)
92 pygensec_OBJ_FILES
= $(gensecsrcdir
)/pygensec.o