Merge pull request #108 from kou/support-pkg-config

c: supports pkg-config
This commit is contained in:
FURUHASHI Sadayuki 2012-04-20 19:40:42 -07:00
commit b33e60b3ae
3 changed files with 14 additions and 0 deletions

View File

@ -13,6 +13,9 @@ DOC_FILES = \
EXTRA_DIST = \
$(DOC_FILES)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = msgpack.pc
doxygen:
./preprocess clean
cd src && $(MAKE) doxygen

View File

@ -93,6 +93,7 @@ AC_SUBST(VERSION_MINOR, $minor)
AC_OUTPUT([Makefile
msgpack.pc
src/Makefile
src/msgpack/version.h
test/Makefile])

10
cpp/msgpack.pc.in Normal file
View File

@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: MessagePack
Description: Binary-based efficient object serialization library
Version: @VERSION@
Libs: -L${libdir} -lmsgpack
Cflags: -I${includedir}