summaryrefslogtreecommitdiffstats
path: root/source3/smbd/notifyd/wscript_build
blob: 6880a314a6f517066d5ee4c28f8e9ecd91942305 (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
#!/usr/bin/env python

bld.SAMBA3_SUBSYSTEM('fcn_wait',
                     source='fcn_wait.c',
                     deps='samba3core')

bld.SAMBA3_SUBSYSTEM('notifyd_db',
		     source='notifyd_entry.c notifyd_db.c',
                     deps='samba-debug dbwrap errors3')

bld.SAMBA3_SUBSYSTEM('notifyd',
		     source='notifyd.c',
                     deps='''
                         util_tdb
                         TDB_LIB
                         messages_util
                         notifyd_db
                     ''')

bld.SAMBA3_BINARY('notifyd-tests',
                  source='tests.c',
                  install=False,
                  deps='''
                       smbconf
                  ''')

bld.SAMBA3_BINARY('notifydd',
                  source='notifydd.c',
                  install=False,
                  deps='''notifyd
                       smbconf
                  ''')

TORTURE_NOTIFYD_SOURCE='test_notifyd.c'
TORTURE_NOTIFYD_DEPS='fcn_wait notifyd_db'

bld.SAMBA_MODULE('TORTURE_NOTIFYD',
	source=TORTURE_NOTIFYD_SOURCE,
	subsystem='smbtorture',
	init_function='torture_notifyd_init',
	deps=TORTURE_NOTIFYD_DEPS,
	internal_module=True,
	enabled=bld.PYTHON_BUILD_IS_ENABLED()
	)