summaryrefslogtreecommitdiff
path: root/source4/kdc/wscript_build
blob: 5b2ba28793de4eefee990636b3932187e56f2bb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python

bld.SAMBA_MODULE('service_kdc',
	source='kdc.c kpasswdd.c proxy.c',
	subsystem='service',
	init_function='server_service_kdc_init',
	deps='kdc HDB_SAMBA4 WDC_SAMBA4 samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET com_err samba_server_gensec',
	internal_module=False,
	)


bld.SAMBA_LIBRARY('HDB_SAMBA4',
                  source='hdb-samba4.c hdb-samba4-plugin.c',
                  deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue samba-hostconfig com_err',
                  includes='../heimdal/kdc',
                  private_library=True
                  )

# A plugin for Heimdal's kadmin for users who need to operate that tool
bld.SAMBA_LIBRARY('HDB_SAMBA4_PLUGIN',
                  source='hdb-samba4-plugin.c',
                  deps='hdb HDB_SAMBA4 samba-util samba-hostconfig ',
                  includes='../heimdal/kdc',
                  link_name='modules/hdb/hdb_samba4.so',
                  realname='hdb_samba4.so',
                  install_path='${MODULESDIR}/hdb',
                  enabled = (bld.CONFIG_SET("USING_SYSTEM_KRB5") and bld.CONFIG_SET("USING_SYSTEM_HDB"))
                  )

bld.SAMBA_SUBSYSTEM('WDC_SAMBA4',
	source='wdc-samba4.c',
	includes='../heimdal/kdc',
	deps='ldb auth4_sam auth_sam_reply samba-credentials hdb PAC_GLUE samba-hostconfig com_err'
	)


bld.SAMBA_SUBSYSTEM('PAC_GLUE',
	source='pac-glue.c',
	includes='../heimdal/kdc',
	deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err'
	)

bld.SAMBA_LIBRARY('pac',
	source=[],
	deps='PAC_GLUE',
	private_library=True,
	grouping_library=True)


bld.SAMBA_LIBRARY('db-glue',
	source='db-glue.c',
	deps='ldb auth4_sam auth_sam_reply samba-credentials hdb samba-hostconfig com_err kdc-policy',
	private_library=True,
	includes='../heimdal/kdc',
	)

bld.SAMBA_LIBRARY('kdc-policy',
	source='policy.c',
	deps='samba-hostconfig authkrb5',
	private_library=True,
        autoproto = 'kdc-policy-proto.h'
        )


bld.SAMBA_SUBSYSTEM('MIT_SAMBA',
	source='mit_samba.c',
	deps='ldb auth4_sam auth_sam_reply samba-credentials hdb db-glue PAC_GLUE samba-hostconfig com_err'
	)


bld.SAMBA_LIBRARY('mit-samba',
	source='',
	deps='MIT_SAMBA',
	external_library=True,
	realname='mit_samba.so'
	)