summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-22 18:43:07 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-22 18:43:07 +0100
commit1c61efc07ed59a7c5fb5bb2ed51cdc92bd37ea57 (patch)
tree092dd2bdea121a329b6c652dfdd0c931d180e250 /source4
parentf254d532025cd50314a808be72ce59cdd8f1eb87 (diff)
downloadsamba-1c61efc07ed59a7c5fb5bb2ed51cdc92bd37ea57.tar.gz
samba-1c61efc07ed59a7c5fb5bb2ed51cdc92bd37ea57.tar.bz2
samba-1c61efc07ed59a7c5fb5bb2ed51cdc92bd37ea57.zip
dcerpc_samr: Use manually written .pc file.
(This used to be commit 4b83dc06471818089790c42157b972964d8d02e2)
Diffstat (limited to 'source4')
-rw-r--r--source4/configure.ac1
-rw-r--r--source4/librpc/config.mk1
-rw-r--r--source4/librpc/dcerpc_samr.pc.in11
3 files changed, 13 insertions, 0 deletions
diff --git a/source4/configure.ac b/source4/configure.ac
index 8c0f176e5f..23fc1023ad 100644
--- a/source4/configure.ac
+++ b/source4/configure.ac
@@ -33,6 +33,7 @@ AC_OUTPUT(librpc/ndr.pc)
AC_OUTPUT(torture/torture.pc)
AC_OUTPUT(auth/gensec/gensec.pc)
AC_OUTPUT(param/samba-config.pc)
+AC_OUTPUT(librpc/dcerpc_samr.pc)
SMB_EXT_LIB_FROM_PKGCONFIG(LIBTALLOC, talloc >= 1.1.0,
[],
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index f55813a8ca..dc58870469 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -346,6 +346,7 @@ PUBLIC_DEPENDENCIES = dcerpc NDR_UNIXINFO
[LIBRARY::dcerpc_samr]
OBJ_FILES = gen_ndr/ndr_samr_c.o
+PC_FILE = dcerpc_samr.pc
PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR
VERSION = 0.0.1
SO_VERSION = 0
diff --git a/source4/librpc/dcerpc_samr.pc.in b/source4/librpc/dcerpc_samr.pc.in
new file mode 100644
index 0000000000..c4102237d3
--- /dev/null
+++ b/source4/librpc/dcerpc_samr.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: dcerpc_samr
+Description: DCE/RPC client library - SAMR
+Requires.private: dcerpc ndr
+Version: 0.0.1
+Libs: -L${libdir} -ldcerpc_samr
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1