-# AUTOGENERATED by mktowscript.pl from ../../source4/auth/gensec/config.mk
-# Please remove this notice if hand editing
-
-
-bld.SAMBA_LIBRARY('gensec',
- source='gensec.c socket.c',
- # PC_FILES='gensec.pc',
- autoproto='gensec_proto.h',
- public_deps='CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba_socket LIBPACKET LIBTSOCKET UTIL_TEVENT',
- public_headers='gensec.h',
- vnum='0.0.1'
- )
+#!/usr/bin/env python
+bld.SAMBA_SUBSYSTEM('gensec_util',
+ source='socket.c gensec_tstream.c',
+ deps='tevent-util tevent samba-util LIBTSOCKET',
+ autoproto='gensec_proto.h')
bld.SAMBA_MODULE('gensec_krb5',
source='gensec_krb5.c',
subsystem='gensec',
init_function='gensec_krb5_init',
- deps='CREDENTIALS KERBEROS auth_session'
+ deps='samba-credentials authkrb5 com_err gensec_util',
+ internal_module=False,
)
source='gensec_gssapi.c',
subsystem='gensec',
init_function='gensec_gssapi_init',
- deps='HEIMDAL_GSSAPI CREDENTIALS KERBEROS'
+ deps='gssapi samba-credentials authkrb5 com_err gensec_util'
)
source='cyrus_sasl.c',
subsystem='gensec',
init_function='gensec_sasl_init',
- deps='CREDENTIALS SASL'
- )
-
-
-bld.SAMBA_MODULE('gensec_spnego',
- source='spnego.c ../../../libcli/auth/spnego_parse.c',
- autoproto='spnego_proto.h',
- subsystem='gensec',
- init_function='gensec_spnego_init',
- deps='ASN1_UTIL CREDENTIALS'
+ deps='samba-credentials sasl2',
+ enabled=bld.CONFIG_SET('HAVE_SASL')
)
bld.SAMBA_MODULE('gensec_schannel',
- source='schannel.c ../../../libcli/auth/schannel_sign.c',
+ source='schannel.c',
subsystem='gensec',
- deps='COMMON_SCHANNELDB NDR_SCHANNEL CREDENTIALS LIBNDR auth_session',
- output_type='MERGED_OBJ',
+ deps='COMMON_SCHANNEL NDR_SCHANNEL samba-credentials ndr auth_session',
+ internal_module=True,
autoproto='schannel_proto.h',
init_function='gensec_schannel_init'
)
bld.SAMBA_PYTHON('pygensec',
source='pygensec.c',
- deps='gensec PYTALLOC pyparam_util',
+ deps='gensec pytalloc-util pyparam_util',
realname='samba/gensec.so'
)