Revert "Add functions to programatically set the security mask and directory security...
[Samba/bb.git] / source4 / kdc / wscript_build
bloba5668188d566663b610561752dcabb41a07ccd62
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 PAC_GLUE',
8 internal_module=False,
12 bld.SAMBA_LIBRARY('HDB_SAMBA4',
13 source='hdb-samba4.c hdb-samba4-plugin.c',
14 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
15 includes='../heimdal/kdc',
16 private_library=True
19 # A plugin for Heimdal's kadmin for users who need to operate that tool
20 bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
21 source='hdb-samba4-plugin.c',
22 deps='hdb HDB_SAMBA4 samba-util samba-hostconfig ',
23 includes='../heimdal/kdc',
24 link_name='modules/hdb/hdb_samba4.so',
25 realname='hdb_samba4.so',
26 install_path='${MODULESDIR}/hdb',
27 enabled = (bld.CONFIG_SET("USING_SYSTEM_KRB5") and bld.CONFIG_SET("USING_SYSTEM_HDB"))
30 bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
31 source='wdc-samba4.c',
32 includes='../heimdal/kdc',
33 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
37 bld.SAMBA_SUBSYSTEM('PAC_GLUE',
38 source='pac-glue.c',
39 includes='../heimdal/kdc',
40 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
43 bld.SAMBA_LIBRARY('pac',
44 source=[],
45 deps='PAC_GLUE',
46 private_library=True,
47 grouping_library=True)
50 bld.SAMBA_LIBRARY('db-glue',
51 source='db-glue.c',
52 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err',
53 private_library=True,
54 includes='../heimdal/kdc',
57 bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
58 source='mit_samba.c',
59 deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
63 bld.SAMBA_LIBRARY('mit-samba',
64 source='',
65 deps='MIT_SAMBA',
66 external_library=True,
67 realname='mit_samba.so'