waf: convert NDR_NBT into shared library.
[Samba.git] / source4 / kdc / wscript_build
blobaec1cb28d91e8d09005ba34df13b483c507242e1
1 #!/usr/bin/env python
3 bld.SAMBA_MODULE('service_kdc',
4 source='kdc.c kpasswdd.c proxy.c',
5 subsystem='service',
6 init_function='server_service_kdc_init',
7 deps='kdc HDB_SAMBA4 WDC_SAMBA4 samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET com_err samba_server_gensec',
8 internal_module=False,
12 bld.SAMBA_SUBSYSTEM('HDB_SAMBA4',
13 source='hdb-samba4.c',
14 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
15 includes='../heimdal/kdc',
19 bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
20 source='wdc-samba4.c',
21 includes='../heimdal/kdc',
22 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
26 bld.SAMBA_SUBSYSTEM('PAC_GLUE',
27 source='pac-glue.c',
28 includes='../heimdal/kdc',
29 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
32 bld.SAMBA_LIBRARY('pac',
33 source=[],
34 deps='PAC_GLUE',
35 private_library=True,
36 grouping_library=True)
39 bld.SAMBA_LIBRARY('db-glue',
40 source='db-glue.c',
41 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
42 private_library=True,
43 includes='../heimdal/kdc',
46 bld.SAMBA_LIBRARY('kdc-policy',
47 source='policy.c',
48 deps='samba-hostconfig authkrb5',
49 private_library=True,
50 autoproto = 'kdc-policy-proto.h'
54 bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
55 source='mit_samba.c',
56 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
60 bld.SAMBA_LIBRARY('mit-samba',
61 source='',
62 deps='MIT_SAMBA',
63 external_library=True,
64 realname='mit_samba.so'