mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-18 20:38:00 +01:00
Merge pull request #108 from kou/support-pkg-config
c: supports pkg-config
This commit is contained in:
commit
b33e60b3ae
@ -13,6 +13,9 @@ DOC_FILES = \
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(DOC_FILES)
|
$(DOC_FILES)
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = msgpack.pc
|
||||||
|
|
||||||
doxygen:
|
doxygen:
|
||||||
./preprocess clean
|
./preprocess clean
|
||||||
cd src && $(MAKE) doxygen
|
cd src && $(MAKE) doxygen
|
||||||
|
@ -93,6 +93,7 @@ AC_SUBST(VERSION_MINOR, $minor)
|
|||||||
|
|
||||||
|
|
||||||
AC_OUTPUT([Makefile
|
AC_OUTPUT([Makefile
|
||||||
|
msgpack.pc
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/msgpack/version.h
|
src/msgpack/version.h
|
||||||
test/Makefile])
|
test/Makefile])
|
||||||
|
10
cpp/msgpack.pc.in
Normal file
10
cpp/msgpack.pc.in
Normal 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}
|
Loading…
x
Reference in New Issue
Block a user