summaryrefslogtreecommitdiff
path: root/librpc/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-01-25 02:01:56 +0100
committerGünther Deschner <gd@samba.org>2011-01-25 11:42:46 +0100
commitdd35fe181c2397a970fa956afa5f4da534841b99 (patch)
tree0f40699c1134710641e94a616ecefa8aed36ea02 /librpc/wscript_build
parent7eac3100ea77eca64152444336180418938d5843 (diff)
downloadsamba-dd35fe181c2397a970fa956afa5f4da534841b99.tar.gz
samba-dd35fe181c2397a970fa956afa5f4da534841b99.tar.bz2
samba-dd35fe181c2397a970fa956afa5f4da534841b99.zip
waf: share libndr.so between samba3 and samba4.
Guenther
Diffstat (limited to 'librpc/wscript_build')
-rw-r--r--librpc/wscript_build10
1 files changed, 10 insertions, 0 deletions
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 236a728d5f..9cbd9fa37c 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -493,3 +493,13 @@ bld.SAMBA_LIBRARY('dcerpc-samba',
private_library=True,
grouping_library=True
)
+
+bld.SAMBA_LIBRARY('ndr',
+ source='../librpc/ndr/ndr_string.c ../librpc/ndr/ndr_basic.c ../librpc/ndr/uuid.c ../librpc/ndr/ndr.c ../librpc/ndr/ndr_misc.c ../librpc/gen_ndr/ndr_misc.c',
+ pc_files='../librpc/ndr.pc',
+ public_deps='errors talloc samba-util',
+ public_headers='../librpc/gen_ndr/misc.h ../librpc/gen_ndr/ndr_misc.h ../librpc/ndr/libndr.h:ndr.h',
+ header_path= [ ( '*gen_ndr*', 'gen_ndr' ) ],
+ depends_on='PIDL_MISC',
+ vnum='0.0.1'
+ )