mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-01 21:13:12 +01:00
cpp: build libmsgpackc.so for backward compatibility.
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user