Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.
authorGünther Deschner <gd@samba.org>
Fri, 21 Dec 2007 21:05:17 +0000 (22:05 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2007 21:07:12 +0000 (22:07 +0100)
Guenther
(This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc)

source3/configure.in
source3/library-versions.in
source3/pkgconfig/netapi.pc.in [new file with mode: 0644]
source3/pkgconfig/smbclient.pc.in [new file with mode: 0644]
source3/pkgconfig/smbsharemodes.pc.in [new file with mode: 0644]

index a9053d9a08fc6e14c9a2157555cc9df0fefd95b6..04891ae4bef64d9da0b0d56418c95376aca1256a 100644 (file)
@@ -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
          )
 
 #################################################
index cd4d621dd511f7d06de7b6d15b3541eb6780e03d..9c10da525fc543a88fe3513499960dcc2a977aa3 100644 (file)
@@ -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 (file)
index 0000000..b1f60b2
--- /dev/null
@@ -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 (file)
index 0000000..969abbe
--- /dev/null
@@ -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 (file)
index 0000000..dcb0d2e
--- /dev/null
@@ -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@
+