summaryrefslogtreecommitdiffstats
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:36:14 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:36:14 +0100
commit9209470b920eaa904129ae43d454db2526f97ca8 (patch)
tree1779ec576c3b93acadb411255de43a76f10a641d /source4/librpc
parent127e8743193dbb4b0632172ac5a562a3b807f07d (diff)
downloadsamba-9209470b920eaa904129ae43d454db2526f97ca8.tar.gz
samba-9209470b920eaa904129ae43d454db2526f97ca8.tar.xz
samba-9209470b920eaa904129ae43d454db2526f97ca8.zip
dcerpc: Use manually written .pc files for dcerpc and ndr.
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk2
-rw-r--r--source4/librpc/dcerpc.pc.in11
-rw-r--r--source4/librpc/ndr.pc.in11
3 files changed, 24 insertions, 0 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 4d4167ba04..f55813a8ca 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -4,6 +4,7 @@
VERSION = 0.0.1
SO_VERSION = 0
DESCRIPTION = Network Data Representation Core Library
+PC_FILE = ndr.pc
PUBLIC_HEADERS = ndr/libndr.h
PUBLIC_PROTO_HEADER = ndr/libndr_proto.h
OBJ_FILES = \
@@ -458,6 +459,7 @@ PUBLIC_HEADERS = gen_ndr/dcerpc.h gen_ndr/ndr_dcerpc.h
[LIBRARY::dcerpc]
VERSION = 0.0.1
SO_VERSION = 0
+PC_FILE = dcerpc.pc
DESCRIPTION = DCE/RPC client library
PUBLIC_HEADERS = rpc/dcerpc.h \
gen_ndr/mgmt.h gen_ndr/ndr_mgmt.h gen_ndr/ndr_mgmt_c.h \
diff --git a/source4/librpc/dcerpc.pc.in b/source4/librpc/dcerpc.pc.in
new file mode 100644
index 0000000000..3960f2a583
--- /dev/null
+++ b/source4/librpc/dcerpc.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dcerpc
+Description: DCE/RPC client library
+Requires: ndr
+Version: 0.0.1
+Libs: -L${libdir} -ldcerpc
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/librpc/ndr.pc.in b/source4/librpc/ndr.pc.in
new file mode 100644
index 0000000000..4317397dc7
--- /dev/null
+++ b/source4/librpc/ndr.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ndr
+Description: Network Data Representation Core Library
+Requires: talloc
+Version: 0.0.1
+Libs: -L${libdir} -lndr
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1