summaryrefslogtreecommitdiff
path: root/source4/lib/policy/wscript_build
blob: f7c59090b846c45d4051cc4315c82b6aa626d25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python

bld.SAMBA_LIBRARY('samba-policy',
	source='gp_ldap.c gp_filesys.c gp_manage.c gp_ini.c',
	pc_files='samba-policy.pc',
	public_deps='ldb samba-net',
	vnum='0.0.1',
	pyembed=True,
	public_headers='policy.h',
	enabled=bld.PYTHON_BUILD_IS_ENABLED()
	)

bld.SAMBA_PYTHON('py_policy',
	source='pypolicy.c',
	public_deps='samba-policy pytalloc-util',
	realname='samba/policy.so'
	)