build: moved util_reg.c into a common subsystem
[kamenim/samba-autobuild/.git] / source4 / lib / registry / wscript_build
index cd2b5081445979d48d1579ea4baa708df1c26c26..2f0372a9338b92d9e897b28fb89f3e1a3b992400 100644 (file)
@@ -1,3 +1,5 @@
+#!/usr/bin/env python
+
 bld.SAMBA_PIDL('PIDL_REG',
                source='regf.idl',
                options='--header --tdr-parser')
@@ -10,8 +12,8 @@ bld.SAMBA_SUBSYSTEM('TDR_REGF',
 
 bld.SAMBA_LIBRARY('registry',
        source='interface.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 LDB_WRAP',
+       pc_files='registry.pc',
+       public_deps='samba-util TDR_REGF ldb RPC_NDR_WINREG ldbsamba util_reg',
        public_headers='registry.h',
        vnum='0.0.1'
        )
@@ -27,32 +29,28 @@ bld.SAMBA_SUBSYSTEM('registry_common',
 bld.SAMBA_BINARY('regdiff',
        source='tools/regdiff.c',
        manpages='man/regdiff.1',
-       installdir='BINDIR',
-       deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS'
+       deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS'
        )
 
 
 bld.SAMBA_BINARY('regpatch',
        source='tools/regpatch.c',
        manpages='man/regpatch.1',
-       installdir='BINDIR',
-       deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS registry_common'
+       deps='samba-hostconfig registry popt POPT_SAMBA POPT_CREDENTIALS registry_common'
        )
 
 
 bld.SAMBA_BINARY('regshell',
        source='tools/regshell.c',
        manpages='man/regshell.1',
-       installdir='BINDIR',
-       deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
+       deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS SMBREADLINE registry_common'
        )
 
 
 bld.SAMBA_BINARY('regtree',
        source='tools/regtree.c',
        manpages='man/regtree.1',
-       installdir='BINDIR',
-       deps='LIBSAMBA-HOSTCONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS registry_common'
+       deps='samba-hostconfig popt registry POPT_SAMBA POPT_CREDENTIALS registry_common'
        )
 
 
@@ -65,7 +63,7 @@ bld.SAMBA_SUBSYSTEM('torture_registry',
 
 bld.SAMBA_PYTHON('py_registry',
        source='pyregistry.c',
-       public_deps='registry PYTALLOC pycredentials pyparam_util',
+       public_deps='registry pytalloc-util pyparam_util',
        realname='samba/registry.so'
        )