summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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',