summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-08-09 10:37:34 +1000
committerAndrew Tridgell <tridge@samba.org>2010-08-09 12:27:23 +1000
commitebd4ea733811a4e37bc7231bf2aa8fd5612ffb02 (patch)
treec3600a3760271e801295341438408836cb3a2e8c
parent016418d6c240da20f010d2bbd95051feef0a5244 (diff)
downloadsamba-ebd4ea733811a4e37bc7231bf2aa8fd5612ffb02.tar.gz
samba-ebd4ea733811a4e37bc7231bf2aa8fd5612ffb02.tar.bz2
samba-ebd4ea733811a4e37bc7231bf2aa8fd5612ffb02.zip
s4-build: added dcerpc_server library
OpenChange needs this for dcerpc_register_ep_server() Signed-off-by: Andrew Tridgell <tridge@samba.org>
-rw-r--r--source4/rpc_server/dcerpc_server.pc.in11
-rw-r--r--source4/rpc_server/wscript_build8
2 files changed, 16 insertions, 3 deletions
diff --git a/source4/rpc_server/dcerpc_server.pc.in b/source4/rpc_server/dcerpc_server.pc.in
new file mode 100644
index 0000000000..525f1bfd1e
--- /dev/null
+++ b/source4/rpc_server/dcerpc_server.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dcerpc_server
+Description: DCE/RPC server library
+Requires: dcerpc
+Version: 0.0.1
+Libs: -L${libdir} -ldcerpc
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index f2808a4a23..d258d2745e 100644
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -118,14 +118,16 @@ bld.SAMBA_MODULE('dcerpc_browser',
)
-bld.SAMBA_SUBSYSTEM('dcerpc_server',
+bld.SAMBA_LIBRARY('dcerpc_server',
source='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c',
+ pc_files='dcerpc_server.pc',
+ deps='LIBCLI_AUTH LIBNDR samba_server_gensec',
+ public_deps='dcerpc',
autoproto='dcerpc_server_proto.h',
public_headers='dcerpc_server.h',
- deps='LIBCLI_AUTH LIBNDR dcerpc samba_server_gensec'
+ vnum='0.0.1'
)
-
bld.SAMBA_MODULE('DCESRV',
source='service_rpc.c',
autoproto='service_rpc.h',