summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/wscript_build
blob: 7e45c600fb250645f69a6cad4f683524ac45cccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python

bld.SAMBA_LIBRARY('dsdb-module',
	source=[],
	deps='DSDB_MODULE_HELPERS DSDB_MODULE_HELPER_RIDALLOC',
	private_library=True,
	grouping_library=True)

bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPERS',
	source='util.c acl_util.c schema_util.c',
	autoproto='util_proto.h',
	deps='ldb ndr samdb-common samba-security'
	)

bld.SAMBA_SUBSYSTEM('DSDB_MODULE_HELPER_RIDALLOC',
	source='ridalloc.c',
	autoproto='ridalloc.h',
	deps='MESSAGING',
	)

if bld.AD_DC_BUILD_IS_ENABLED():
    bld.PROCESS_SEPARATE_RULE("server")