summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-21 22:05:17 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 22:07:12 +0100
commitf2ebf076a41cf96b0367049ee979d5b98052b3db (patch)
treedba2628ba28bc7161959aebb880348727c0a4288
parent26e36db607caef8d7432d80322377c20911912ef (diff)
downloadsamba-f2ebf076a41cf96b0367049ee979d5b98052b3db.tar.gz
samba-f2ebf076a41cf96b0367049ee979d5b98052b3db.tar.bz2
samba-f2ebf076a41cf96b0367049ee979d5b98052b3db.zip
Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.
Guenther (This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc)
-rw-r--r--source3/configure.in1
-rw-r--r--source3/library-versions.in3
-rw-r--r--source3/pkgconfig/netapi.pc.in14
-rw-r--r--source3/pkgconfig/smbclient.pc.in14
-rw-r--r--source3/pkgconfig/smbsharemodes.pc.in14
5 files changed, 44 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index a9053d9a08..04891ae4be 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -6606,6 +6606,7 @@ AC_SUBST(SMBD_LIBS)
AC_OUTPUT(Makefile library-versions
script/findsmb smbadduser script/gen-8bit-gap.sh script/installbin.sh script/uninstallbin.sh
lib/netapi/examples/Makefile
+ pkgconfig/smbclient.pc pkgconfig/netapi.pc pkgconfig/smbsharemodes.pc
)
#################################################
diff --git a/source3/library-versions.in b/source3/library-versions.in
index cd4d621dd5..9c10da525f 100644
--- a/source3/library-versions.in
+++ b/source3/library-versions.in
@@ -5,5 +5,4 @@
bin/libsmbclient.@SHLIBEXT@:0:1
bin/libsmbsharemodes.@SHLIBEXT@:0:2
bin/libaddns.@SHLIBEXT@:0:1
-bin/libmsrpc.@SHLIBEXT@:0:1
-
+bin/libnetapi.@SHLIBEXT@:0:1
diff --git a/source3/pkgconfig/netapi.pc.in b/source3/pkgconfig/netapi.pc.in
new file mode 100644
index 0000000000..b1f60b240e
--- /dev/null
+++ b/source3/pkgconfig/netapi.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Samba libnetapi
+Description: A library to control CIFS servers
+Version: 0
+URL: http://www.samba.org/
+#Libs: -L@libdir@ -lnetapi
+Libs: -lnetapi
+Libs.private: -lnetapi @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
+Cflags: -I@includedir@
+
diff --git a/source3/pkgconfig/smbclient.pc.in b/source3/pkgconfig/smbclient.pc.in
new file mode 100644
index 0000000000..969abbe1ff
--- /dev/null
+++ b/source3/pkgconfig/smbclient.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Samba libsmbclient
+Description: A library to access CIFS servers
+Version: 0
+URL: http://www.samba.org/
+#Libs: -L@libdir@ -lsmbclient
+Libs: -lsmbclient
+Libs.private: -lsmbclient @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
+Cflags: -I@includedir@
+
diff --git a/source3/pkgconfig/smbsharemodes.pc.in b/source3/pkgconfig/smbsharemodes.pc.in
new file mode 100644
index 0000000000..dcb0d2eeda
--- /dev/null
+++ b/source3/pkgconfig/smbsharemodes.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Samba libsmbsharemodes
+Description: A library
+Version: 0
+URL: http://www.samba.org/
+#Libs: -L@libdir@ -lsmbsharemodes
+Libs: -lsmbsharemodes
+Libs.private: -lsmbsharemodes @KRB5_LIBS@ @LDAP_LIBS@ @LIBS@
+Cflags: -I@includedir@
+