From ebd4ea733811a4e37bc7231bf2aa8fd5612ffb02 Mon Sep 17 00:00:00 2001 From: Brad Hards Date: Mon, 9 Aug 2010 10:37:34 +1000 Subject: s4-build: added dcerpc_server library OpenChange needs this for dcerpc_register_ep_server() Signed-off-by: Andrew Tridgell --- source4/rpc_server/dcerpc_server.pc.in | 11 +++++++++++ source4/rpc_server/wscript_build | 8 +++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 source4/rpc_server/dcerpc_server.pc.in (limited to 'source4/rpc_server') 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', -- cgit