summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-08 14:00:02 +0100
committerGünther Deschner <gd@samba.org>2011-02-08 14:05:36 +0100
commit56fe080d87952c6f1f1175444327769c67c55167 (patch)
treeedd888720083a838581ec6883b452dd518c56f2f
parent947ba448a4d52bfbf03f6ed96e96d172a0c69dce (diff)
downloadsamba-56fe080d87952c6f1f1175444327769c67c55167.tar.gz
samba-56fe080d87952c6f1f1175444327769c67c55167.tar.bz2
samba-56fe080d87952c6f1f1175444327769c67c55167.zip
lib/compression: add shared wscript_build.
Guenther
-rw-r--r--lib/compression/wscript_build6
-rw-r--r--librpc/wscript_build1
-rw-r--r--source3/wscript_build4
-rw-r--r--source4/lib/wscript_build6
4 files changed, 7 insertions, 10 deletions
diff --git a/lib/compression/wscript_build b/lib/compression/wscript_build
new file mode 100644
index 0000000000..7ad533340d
--- /dev/null
+++ b/lib/compression/wscript_build
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+bld.SAMBA_SUBSYSTEM('LZXPRESS',
+ deps='replace',
+ source='lzxpress.c'
+ )
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 34be18a790..d15e8b225d 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -1,6 +1,7 @@
#!/usr/bin/env python
bld.RECURSE('idl')
+bld.RECURSE('../lib/compression')
bld.SAMBA_SUBSYSTEM('NDR_AUDIOSRV',
source='gen_ndr/ndr_audiosrv.c',
diff --git a/source3/wscript_build b/source3/wscript_build
index 35e45d758c..fde1d175a6 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1052,10 +1052,6 @@ bld.SAMBA_SUBSYSTEM('dcerpc', '')
bld.SAMBA_SUBSYSTEM('ldb',
source='lib/ldb_compat.c')
-bld.SAMBA_SUBSYSTEM('LZXPRESS',
- deps='replace',
- source='../lib/compression/lzxpress.c')
-
bld.SAMBA_SUBSYSTEM('NDR_SECURITY',
source='''../librpc/gen_ndr/ndr_security.c ../librpc/ndr/ndr_sec_helper.c''',
deps='ndr',
diff --git a/source4/lib/wscript_build b/source4/lib/wscript_build
index 27b5582ad9..872259d670 100644
--- a/source4/lib/wscript_build
+++ b/source4/lib/wscript_build
@@ -1,11 +1,5 @@
#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LZXPRESS',
- deps='replace',
- source='../../lib/compression/lzxpress.c'
- )
-
-
bld.SAMBA_SUBSYSTEM('GENCACHE',
source='../../source3/lib/gencache.c',
enabled=False,