dcerpc_samr: Use manually written .pc file.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:43:07 +0000 (18:43 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 22 Jan 2008 17:43:07 +0000 (18:43 +0100)
source/configure.ac
source/librpc/config.mk
source/librpc/dcerpc_samr.pc.in [new file with mode: 0644]

index 8c0f176e5f5a901be72a0c5a95cbe9535af7e1b3..23fc1023ad4953935672c9d5830f4d1642e4e641 100644 (file)
@@ -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,
        [],
index f55813a8caa42b66ad6da97a4ad7c17ea1e54737..dc58870469c37e6420f526fb1498583dbb8f83c6 100644 (file)
@@ -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/source/librpc/dcerpc_samr.pc.in b/source/librpc/dcerpc_samr.pc.in
new file mode 100644 (file)
index 0000000..c410223
--- /dev/null
@@ -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