1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00
Andrew Tridgell b4dd1accc8 s4-waf: don't depend directly on python modules
build rules should not list dependencies on python modules. Instead,
if code needs the module it should use the python API import calls to
access the module.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-21 19:03:26 +11:00

70 lines
1.6 KiB
Python

#!/usr/bin/env python
bld.SAMBA_PIDL('PIDL_REG',
source='regf.idl',
options='--header --tdr-parser')
bld.SAMBA_SUBSYSTEM('TDR_REGF',
source='tdr_regf.c',
public_deps='TDR'
)
bld.SAMBA_LIBRARY('registry',
source='interface.c ../../../libcli/registry/util_reg.c util.c samba.c patchfile_dotreg.c patchfile_preg.c patchfile.c regf.c hive.c local.c ldb.c dir.c rpc.c',
pc_files='registry.pc',
public_deps='LIBSAMBA-UTIL CHARSET TDR_REGF ldb RPC_NDR_WINREG LDBSAMBA',
public_headers='registry.h',
vnum='0.0.1'
)
bld.SAMBA_SUBSYSTEM('registry_common',
source='tools/common.c',
autoproto='tools/common.h',
public_deps='registry'
)
bld.SAMBA_BINARY('regdiff',
source='tools/regdiff.c',
manpages='man/regdiff.1',
deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS'
)
bld.SAMBA_BINARY('regpatch',
source='tools/regpatch.c',
manpages='man/regpatch.1',
deps='LIBSAMBA-HOSTCONFIG registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
)
bld.SAMBA_BINARY('regshell',
source='tools/regshell.c',
manpages='man/regshell.1',
deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
)
bld.SAMBA_BINARY('regtree',
source='tools/regtree.c',
manpages='man/regtree.1',
deps='LIBSAMBA-HOSTCONFIG popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
)
bld.SAMBA_SUBSYSTEM('torture_registry',
source='tests/generic.c tests/hive.c tests/diff.c tests/registry.c',
autoproto='tests/proto.h',
deps='torture registry'
)
bld.SAMBA_PYTHON('py_registry',
source='pyregistry.c',
public_deps='registry PYTALLOC pyparam_util',
realname='samba/registry.so'
)