summaryrefslogtreecommitdiff
path: root/source4
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
parent127e8743193dbb4b0632172ac5a562a3b807f07d (diff)
downloadsamba-9209470b920eaa904129ae43d454db2526f97ca8.tar.gz
samba-9209470b920eaa904129ae43d454db2526f97ca8.tar.bz2
samba-9209470b920eaa904129ae43d454db2526f97ca8.zip
dcerpc: Use manually written .pc files for dcerpc and ndr.
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.ac2
-rw-r--r--source4/lib/registry/registry.pc.in2
-rw-r--r--source4/librpc/config.mk2
-rw-r--r--source4/librpc/dcerpc.pc.in11
-rw-r--r--source4/librpc/ndr.pc.in11
5 files changed, 27 insertions, 1 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 59a21375f6..f35251ec8e 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -28,6 +28,8 @@ m4_include(lib/socket/config.m4)
m4_include(nsswitch/nsstest.m4)
AC_OUTPUT(lib/registry/registry.pc)
+AC_OUTPUT(librpc/dcerpc.pc)
+AC_OUTPUT(librpc/ndr.pc)
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],
diff --git a/source4/lib/registry/registry.pc.in b/source4/lib/registry/registry.pc.in
index 21184c483c..98943a0736 100644
--- a/source4/lib/registry/registry.pc.in
+++ b/source4/lib/registry/registry.pc.in
@@ -7,6 +7,6 @@ Name: registry
Description: Windows-style registry library
Requires: ldb
Requires.private:
-Version: @PACKAGE_VERSION@
+Version: 0.0.1
Libs: -L${libdir} -lregistry
Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
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