diff options
| author | frsyuki <frsyuki@users.sourceforge.jp> | 2010-04-26 21:52:19 +0900 |
|---|---|---|
| committer | frsyuki <frsyuki@users.sourceforge.jp> | 2010-04-26 21:52:19 +0900 |
| commit | 68f60568acdafb2205c1436b61bfcaf0087b1572 (patch) | |
| tree | 20878874062da3a8858efac0552a09496a1640d9 /cpp | |
| parent | 9fbca83ac0ba0017d22cd84b696cff3baa1cde23 (diff) | |
| download | msgpack-python-68f60568acdafb2205c1436b61bfcaf0087b1572.tar.gz | |
cpp: build libmsgpackc.so for backward compatibility.
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/Makefile.am | 16 | ||||
| -rw-r--r-- | cpp/test/Makefile.am | 14 |
2 files changed, 24 insertions, 6 deletions
diff --git a/cpp/Makefile.am b/cpp/Makefile.am index 3cbb400..08eb7a5 100644 --- a/cpp/Makefile.am +++ b/cpp/Makefile.am @@ -12,6 +12,22 @@ libmsgpack_la_SOURCES = \ libmsgpack_la_LDFLAGS = -version-info 3:0:0 +# backward compatibility +lib_LTLIBRARIES += libmsgpackc.la + +libmsgpackc_la_SOURCES = \ + unpack.c \ + objectc.c \ + vrefbuffer.c \ + zone.c + +libmsgpackc_la_LDFLAGS = -version-info 2:0:0 + +# work around for duplicated file name +kumo_manager_CFLAGS = $(AM_CFLAGS) +kumo_manager_CXXFLAGS = $(AM_CXXFLAGS) + + nobase_include_HEADERS = \ msgpack/pack_define.h \ msgpack/pack_template.h \ diff --git a/cpp/test/Makefile.am b/cpp/test/Makefile.am index a80f319..2b96669 100644 --- a/cpp/test/Makefile.am +++ b/cpp/test/Makefile.am @@ -1,13 +1,15 @@ +AM_CPPFLAGS = -I.. +AM_C_CPPFLAGS = -I.. AM_LDFLAGS = ../libmsgpack.la -lgtest_main check_PROGRAMS = \ - zone \ - pack_unpack \ - streaming \ - object \ - convert \ - buffer + zone \ + pack_unpack \ + streaming \ + object \ + convert \ + buffer TESTS = $(check_PROGRAMS) |
