dcerpc: Use manually written .pc files for dcerpc and ndr.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:36:14 +0000 (18:36 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:36:14 +0000 (18:36 +0100)
(This used to be commit 676fd18fa2914b7b5530014a944a11ea1d6f631d)

source4/configure.ac
source4/lib/registry/registry.pc.in
source4/librpc/config.mk
source4/librpc/dcerpc.pc.in [new file with mode: 0644]
source4/librpc/ndr.pc.in [new file with mode: 0644]

index 59a21375f65d0376f08d9c595e974a29adbc89b7..f35251ec8eaa1381db9d32f1d35018cb22b25f73 100644 (file)
@@ -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,
        [],
index 21184c483c69a4f04a33d4f12a6db0b91d334750..98943a073642d077aee77c24e05a87effbc58ded 100644 (file)
@@ -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
index 4d4167ba04a55bee82320e5e71c7a0931a336342..f55813a8caa42b66ad6da97a4ad7c17ea1e54737 100644 (file)
@@ -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 (file)
index 0000000..3960f2a
--- /dev/null
@@ -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 (file)
index 0000000..4317397
--- /dev/null
@@ -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