From f2ebf076a41cf96b0367049ee979d5b98052b3db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 21 Dec 2007 22:05:17 +0100 Subject: [PATCH] Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}. Guenther (This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc) --- source3/configure.in | 1 + source3/library-versions.in | 3 +-- source3/pkgconfig/netapi.pc.in | 14 ++++++++++++++ source3/pkgconfig/smbclient.pc.in | 14 ++++++++++++++ source3/pkgconfig/smbsharemodes.pc.in | 14 ++++++++++++++ 5 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 source3/pkgconfig/netapi.pc.in create mode 100644 source3/pkgconfig/smbclient.pc.in create mode 100644 source3/pkgconfig/smbsharemodes.pc.in diff --git a/source3/configure.in b/source3/configure.in index a9053d9a08f..04891ae4bef 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 cd4d621dd51..9c10da525fc 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 00000000000..b1f60b240e0 --- /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 00000000000..969abbe1ffd --- /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 00000000000..dcb0d2eeda6 --- /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@ +