From d226acd97a2aa79cd1710c2b07d00a2ed3c93d6e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 13 Oct 2011 10:02:17 +1100 Subject: libsmbclient: add ABI checking and pc file this gives us ABI checking for libsmbclient so that the waf build will prevent ABI breakage, and a public version number. The addition of the pc file makes this library available via pkgconfig, including querying of the version number Pair-Programmed-With: Andrew Bartlett --- source3/libsmb/smbclient.pc.in | 11 +++++++++++ source3/wscript_build | 6 ++++-- 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 source3/libsmb/smbclient.pc.in diff --git a/source3/libsmb/smbclient.pc.in b/source3/libsmb/smbclient.pc.in new file mode 100644 index 0000000000..bcef2f2c81 --- /dev/null +++ b/source3/libsmb/smbclient.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: smbclient +Description: A SMB library interface +Version: @PACKAGE_VERSION@ +Libs: @LIB_RPATH@ -L${libdir} -lsmbclient +Cflags: -I${includedir} +URL: http://www.samba.org/ diff --git a/source3/wscript_build b/source3/wscript_build index 6c27ecde19..c9e60c043e 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -659,8 +659,10 @@ bld.SAMBA3_LIBRARY('smbclient', public_deps='''talloc tdb_compat wbclient cap param smbd_shim libsmb KRBCLIENT pdb LIBMSRPC_GEN msrpc3 libcli_lsa3 RPC_NDR_SRVSVC popt_samba3''', public_headers='include/libsmbclient.h', - vnum='0', - pc_files=[], + abi_directory='libsmb/ABI', + abi_match='smbc_*', + vnum='0.1.0', + pc_files='libsmb/smbclient.pc', vars=locals()) bld.SAMBA3_LIBRARY('smbsharemodes', -- cgit