summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 21:55:11 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:47 +1000
commit7c3234c4854f904e41c69b3c25fa3bcdce765cb7 (patch)
tree1a3e37ecd48832743645f028f2210e876c5b30a7 /source4/lib/registry
parentd01f75c72df6c49c2898f5f26dbffac7a55ac3bd (diff)
downloadsamba-7c3234c4854f904e41c69b3c25fa3bcdce765cb7.tar.gz
samba-7c3234c4854f904e41c69b3c25fa3bcdce765cb7.tar.bz2
samba-7c3234c4854f904e41c69b3c25fa3bcdce765cb7.zip
build: enable ENFORCE_GROUP_ORDERING()
also fixed ASN1 target names
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/wscript_build70
1 files changed, 70 insertions, 0 deletions
diff --git a/source4/lib/registry/wscript_build b/source4/lib/registry/wscript_build
new file mode 100644
index 0000000000..d6a40b8569
--- /dev/null
+++ b/source4/lib/registry/wscript_build
@@ -0,0 +1,70 @@
+bld.SAMBA_PIDL_TDR('PIDL_REG',
+ source='regf.idl')
+
+bld.SAMBA_SUBSYSTEM('TDR_REGF',
+ source='tdr_regf.c',
+ public_deps='TDR'
+ )
+
+
+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',
+ 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',
+ installdir='BINDIR',
+ deps='LIBSAMBA-HOSTCONFIG registry LIBPOPT 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'
+ )
+
+
+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'
+ )
+
+
+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'
+ )
+
+
+bld.SAMBA_SUBSYSTEM('torture_registry',
+ source='tests/generic.c 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 pycredentials pyparam_util',
+ realname='samba/registry.so'
+ )
+