diff --git a/.travis.yml b/.travis.yml index 314ca904..f3cc2856 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,12 +36,12 @@ install: - if [ "$TRAVIS_OS_NAME" == "osx" ]; then unzip -q gtest-1.7.0.zip && cd gtest-1.7.0 && sudo cp -r include/gtest /usr/local/include && clang++ src/gtest-all.cc -I. -Iinclude -c && g++ src/gtest_main.cc -I. -Iinclude -c && ar -rv libgtest.a gtest-all.o && ar -rv libgtest_main.a gtest_main.o && sudo mv *.a /usr/local/lib && cd ..; fi env: - - ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="1" - - ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" + - ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="1" + - ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" - ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="signed" API_VERSION="2" - ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" SHARED="OFF" CHAR_SIGN="unsigned" API_VERSION="2" - - ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" - - ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" + - ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" + - ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" - ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="unsigned" API_VERSION="2" - ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="1" - ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="2" @@ -56,23 +56,23 @@ matrix: - os: osx env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="1" - os: osx - env: ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" - os: osx env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" SHARED="OFF" CHAR_SIGN="unsigned" API_VERSION="2" - os: osx - env: ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" - os: osx env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" SHARED="OFF" CHAR_SIGN="signed" API_VERSION="2" - os: linux compiler: gcc - env: ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="1" + env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="1" - os: linux compiler: gcc - env: ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" - os: linux compiler: gcc - env: ACTION="ci/build_autotools.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" - os: linux compiler: gcc env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="signed" API_VERSION="2" @@ -82,13 +82,13 @@ matrix: - os: linux compiler: clang - env: ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="signed" API_VERSION="2" - os: linux compiler: clang - env: ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" - os: linux compiler: clang - env: ACTION="ci/build_autotools.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" + env: ACTION="ci/build_cmake.sh" VERSION="cpp11" ARCH="32" LIBPATH="/usr/local/lib32" BOOST="boost" BOOST_INC="/usr/local/boost" CHAR_SIGN="unsigned" API_VERSION="2" - os: linux compiler: clang env: ACTION="ci/build_cmake.sh" VERSION="cpp03" ARCH="64" LIBPATH="/usr/local/lib" BOOST="" BOOST_INC="" CHAR_SIGN="unsigned" API_VERSION="2" diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index 66bf2171..00000000 --- a/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -SUBDIRS = src test - -DOC_FILES = \ - Doxyfile \ - README.md \ - LICENSE_1_0.txt \ - NOTICE \ - msgpack_vc8.vcproj \ - msgpack_vc8.sln - -EXTRA_DIST = \ - $(DOC_FILES) CMakeLists.txt test/CMakeLists.txt example - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = msgpack.pc - -doxygen: - ./preprocess clean - cd src && $(MAKE) doxygen - ./preprocess diff --git a/bootstrap b/bootstrap deleted file mode 100755 index a63be404..00000000 --- a/bootstrap +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/sh -# vim:ts=4:sw=4 -# Calls autotools to build configure script and Makefile.in. -# Generated automatically using bootstrapper 0.2.1 -# http://bootstrapper.sourceforge.net/ -# -# Copyright (C) 2002 Anthony Ventimiglia -# -# This bootstrap script is free software; you can redistribute -# it and/or modify it under the terms of the GNU General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. -# -# -# Calls proper programs to create configure script and Makefile.in files. -# if run with the --clean option, bootstrap removes files it generates. To -# clean all autogenerated files (eg: for cvs imports) first run -# make distclean, then bootstrap --clean -# see bootstrapper(1) for more infor - - -if test x"$1" = x"--help"; then - echo "$0: automatic bootstrapping utility for GNU Autotools" - echo " cleans up old autogenerated files and runs autoconf," - echo " automake and aclocal on local directory" - echo - echo " --clean clean up auto-generated files without" - echo " creating new scripts" - echo - exit 0 -fi - - -mkdir -p ac -test -f AUTHORS || touch AUTHORS -test -f COPYING || touch COPYING -test -f ChangeLog || cp -f CHANGELOG.md ChangeLog -test -f NEWS || touch NEWS -test -f NOTICE || touch NOTICE -test -f README || cp -f README.md README - -ACLOCAL="aclocal" -ACLOCAL_FILES="aclocal.m4" -ALWAYS_CLEAN="config.status config.log config.cache libtool" -AUTOCONF="autoconf" -AUTOCONF_FILES="configure" -AUTOHEADER="autoheader" -AUTOHEADER_FILES="" -AUTOMAKE="automake --add-missing --copy" -AUTOMAKE_FILES="config.sub stamp-h.in ltmain.sh missing mkinstalldirs install-sh config.guess" -CONFIG_AUX_DIR="." -CONFIG_FILES="stamp-h ltconfig" -CONFIG_HEADER="" -if [ x`uname` = x"Darwin" ]; then - LIBTOOLIZE="glibtoolize --force --copy" -else - LIBTOOLIZE="libtoolize --force --copy" -fi -LIBTOOLIZE_FILES="config.sub ltmain.sh config.guess" -RM="rm" -SUBDIRS="[]" - - -# These are files created by configure, so we'll always clean them -for i in $ALWAYS_CLEAN; do - test -f $i && \ - $RM $i -done - -if test x"$1" = x"--clean"; then - # - #Clean Files left by previous bootstrap run - # - if test -n "$CONFIG_AUX_DIR"; - then CONFIG_AUX_DIR="$CONFIG_AUX_DIR/" - fi - # Clean Libtoolize generated files - for cf in $LIBTOOLIZE_FILES; do - cf="$CONFIG_AUX_DIR$cf" - test -f $cf && \ - $RM $cf - done - #aclocal.m4 created by aclocal - test -f $ACLOCAL_FILES && $RM $ACLOCAL_FILES - #Clean Autoheader Generated files - for cf in $AUTOHEADER_FILES; do - cf=$CONFIG_AUX_DIR$cf - test -f $cf && \ - $RM $cf - done - # remove config header (Usaually config.h) - test -n "$CONFIG_HEADER" && test -f $CONFIG_HEADER && $RM $CONFIG_HEADER - #Clean Automake generated files - for cf in $AUTOMAKE_FILES; do - cf=$CONFIG_AUX_DIR$cf - test -f $cf && \ - $RM $cf - done - for i in $SUBDIRS; do - test -f $i/Makefile.in && \ - $RM $i/Makefile.in - done - #Autoconf generated files - for cf in $AUTOCONF_FILES; do - test -f $cf && \ - $RM $cf - done - for cf in $CONFIG_FILES; do - cf="$CONFIG_AUX_DIR$cf" - test -f $cf && \ - $RM $cf - done -else - $LIBTOOLIZE - $ACLOCAL - $AUTOHEADER - $AUTOMAKE - $AUTOCONF -fi - - diff --git a/ci/build_autotools.sh b/ci/build_autotools.sh deleted file mode 100755 index b504ba38..00000000 --- a/ci/build_autotools.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/sh - -./bootstrap -ret=$? -if [ $ret -ne 0 ] -then - exit $ret -fi - -if [ $1 = "cpp11" ] -then - cpp11="-std=c++11" -else - cpp11="" -fi - -if [ $2 = "32" ] -then - bit32="-m32" -else - bit32="" -fi - -if [ $3 = "boost" ] -then - boost="-DMSGPACK_USE_BOOST" -else - boost="" -fi - -./configure CFLAGS="$bit32 -f${CHAR_SIGN}-char" CXXFLAGS="$bit32 -f${CHAR_SIGN}-char $cpp11 $boost -I$4 -DMSGPACK_DEFAULT_API_VERSION=${API_VERSION}" - -ret=$? -if [ $ret -ne 0 ] -then - exit $ret -fi - -make - -ret=$? -if [ $ret -ne 0 ] -then - exit $ret -fi - -make check - -ret=$? -if [ $ret -ne 0 ] -then - exit $ret -fi - -make install DESTDIR=`pwd`/build/install - -ret=$? -if [ $ret -ne 0 ] -then - exit $ret -fi - -exit 0 diff --git a/configure.in b/configure.in deleted file mode 100644 index e5d4e152..00000000 --- a/configure.in +++ /dev/null @@ -1,98 +0,0 @@ -AC_INIT(msgpack, m4_esyscmd([cat include/msgpack/version_master.h | tr -d "\n" | sed -e 's/#define MSGPACK_VERSION_MAJOR[[:space:]]*\([[:alnum:]]*\)/\1./g' -e 's/#define MSGPACK_VERSION_MINOR[[:space:]]*\([[:alnum:]]*\)/\1./g' -e 's/#define MSGPACK_VERSION_REVISION[[:space:]]*\([[:alnum:]]*\)/\1/g' | tr -d "\n"])) -AC_CONFIG_AUX_DIR(ac) -AM_INIT_AUTOMAKE -AC_CONFIG_HEADER(config.h) -AC_SUBST(CFLAGS) -CFLAGS="-O3 -Wall -Wextra -Werror $CFLAGS" - -AC_SUBST(CXXFLAGS) -CXXFLAGS="-O3 -Wall -Wextra -Wno-mismatched-tags -Werror $CXXFLAGS" - - -AC_PROG_CC - - -AC_MSG_CHECKING([if C++ API is enabled]) -AC_ARG_ENABLE(cxx, - AS_HELP_STRING([--disable-cxx], - [don't build C++ API]) ) #' -AC_MSG_RESULT([$enable_cxx]) -if test "$enable_cxx" != "no"; then - AC_PROG_CXX - AM_PROG_CC_C_O -fi -AM_CONDITIONAL(ENABLE_CXX, test "$enable_cxx" != "no") - - -AC_PROG_LIBTOOL -AM_PROG_AS - - -AC_MSG_CHECKING([if debug option is enabled]) -AC_ARG_ENABLE(debug, - AS_HELP_STRING([--disable-debug], - [disable assert macros and omit -g option]) ) -AC_MSG_RESULT([$enable_debug]) -if test "$enable_debug" != "no"; then - CXXFLAGS="$CXXFLAGS -g" - CFLAGS="$CFLAGS -g" -else - CXXFLAGS="$CXXFLAGS -DNDEBUG" - CFLAGS="$CFLAGS -DNDEBUG" -fi - - -AC_CACHE_CHECK([for __sync_* atomic operations], msgpack_cv_atomic_ops, [ - AC_TRY_LINK([ - int atomic_sub(int i) { return __sync_sub_and_fetch(&i, 1); } - int atomic_add(int i) { return __sync_add_and_fetch(&i, 1); } - ], [atomic_sub(1); atomic_add(1);], msgpack_cv_atomic_ops="yes") -]) -if test "$msgpack_cv_atomic_ops" != "yes"; then - if test "$enable_cxx" = "no"; then - AC_MSG_ERROR([__sync_* atomic operations are not found. Try to enable C++ support. -If you are using gcc >= 4.1 and the default target CPU architecture is "i386", try to -add CFLAGS="-march=i686" and CXXFLAGS="-march=i686" options to ./configure as follows: - - $ ./configure CFLAGS="-march=i686" CXXFLAGS="-march=i686" - ]) - fi - - AC_LANG_PUSH([C++]) - AC_CACHE_CHECK([for __gnu_cxx::__exchange_and_add], msgpack_cv_gcc_cxx_atomic_ops, [ - AC_TRY_LINK([ - #include - int atomic_sub(int i) { return __gnu_cxx::__exchange_and_add(&i, -1) - 1; } - int atomic_add(int i) { return __gnu_cxx::__exchange_and_add(&i, 1) + 1; } - ], [atomic_sub(1); atomic_add(1);], msgpack_cv_gcc_cxx_atomic_ops="yes") - ]) - AC_LANG_POP([C++]) - - if test "$msgpack_cv_gcc_cxx_atomic_ops" != "yes"; then - AC_MSG_ERROR([__sync_* atomic operations nor __gnu_cxx::__exchange_and_add are not found. - -If you are using gcc >= 4.1 and the default target CPU architecture is "i386", try to -add CFLAGS="-march=i686" and CXXFLAGS="-march=i686" options to ./configure as follows: - - $ ./configure CFLAGS="-march=i686" CXXFLAGS="-march=i686" - ]) - - else - enable_gcc_cxx_atomic=yes - fi -fi - -AM_CONDITIONAL(ENABLE_GCC_CXX_ATOMIC, test "$enable_gcc_cxx_atomic" = "yes") - -major=`echo $VERSION | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).\([[0-9]]*\).*/\1/'` -minor=`echo $VERSION | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).\([[0-9]]*\).*/\2/'` -revision=`echo $VERSION | sed 's/\([[0-9]]*\)\.\([[0-9]]*\).\([[0-9]]*\).*/\3/'` -AC_SUBST(VERSION_MAJOR, $major) -AC_SUBST(VERSION_MINOR, $minor) -AC_SUBST(VERSION_REVISION, $revision) - - -AC_OUTPUT([Makefile - msgpack.pc - src/Makefile - test/Makefile]) diff --git a/example/boost/msgpack_variant_mapbased.cpp b/example/boost/msgpack_variant_mapbased.cpp index 36a06ae4..e36c5dac 100644 --- a/example/boost/msgpack_variant_mapbased.cpp +++ b/example/boost/msgpack_variant_mapbased.cpp @@ -45,7 +45,11 @@ struct proc:boost::static_visitor { // You can remove key-value pair from msgpack::type::variant_ref #if defined(MSGPACK_USE_CPP03) +# if MSGPACK_LIB_STD_CXX + v.erase(std::multimap::const_iterator(it++)); +# else // MSGPACK_LIB_STD_CXX v.erase(it++); +# endif // MSGPACK_LIB_STD_CXX #else // defined(MSGPACK_USE_CPP03) # if MSGPACK_LIB_STD_CXX it = v.erase(std::multimap::const_iterator(it)); diff --git a/make_file_list.sh b/make_file_list.sh index 9467ee49..19261a24 100755 --- a/make_file_list.sh +++ b/make_file_list.sh @@ -18,13 +18,4 @@ cat cpp_headers.tmp | sed -e 's/^/ /g' >> Files.cmake echo ' )' >> Files.cmake echo 'ENDIF ()' >> Files.cmake -echo 'libmsgpackc_la_SOURCES = \' > src/files.mk -cat srcs.tmp | sed -e 's/^src\//\t/g' | sed -e 's/$/ \\/g' | sed '$ s/.$//' >> src/files.mk -echo 'nobase_include_HEADERS = \' >> src/files.mk -cat c_headers.tmp | sed -e 's/^/\t..\//g' | sed -e 's/$/ \\/g' | sed '$ s/.$//' >> src/files.mk -echo 'if ENABLE_CXX' >> src/files.mk -echo 'nobase_include_HEADERS += \' >> src/files.mk -cat cpp_headers.tmp | sed -e 's/^/\t..\//g' | sed -e 's/$/ \\/g' | sed '$ s/.$//' >> src/files.mk -echo 'endif' >> src/files.mk - rm -f srcs.tmp c_headers.tmp cpp_headers.tmp diff --git a/msgpack_vc8.sln b/msgpack_vc8.sln deleted file mode 100644 index 84718afa..00000000 --- a/msgpack_vc8.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 9.00 -# Visual C++ Express 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MessagePack", "msgpack_vc8.vcproj", "{122A2EA4-B283-4241-9655-786DE78283B2}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {122A2EA4-B283-4241-9655-786DE78283B2}.Debug|Win32.ActiveCfg = Debug|Win32 - {122A2EA4-B283-4241-9655-786DE78283B2}.Debug|Win32.Build.0 = Debug|Win32 - {122A2EA4-B283-4241-9655-786DE78283B2}.Release|Win32.ActiveCfg = Release|Win32 - {122A2EA4-B283-4241-9655-786DE78283B2}.Release|Win32.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/msgpack_vc8.vcproj b/msgpack_vc8.vcproj deleted file mode 100644 index abfe5176..00000000 --- a/msgpack_vc8.vcproj +++ /dev/null @@ -1,187 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 732cb68d..00000000 --- a/src/Makefile.am +++ /dev/null @@ -1,46 +0,0 @@ -# For C++ -# -# The C++ parts of msgpack-c is a header only library, -# so there is no libraries. - -# For C - -lib_LTLIBRARIES = libmsgpackc.la - -#AM_CPPFLAGS = -I../include -AM_CFLAGS = -I../include - -include files.mk - -# -version-info CURRENT:REVISION:AGE -libmsgpackc_la_LDFLAGS = -version-info 2:0:0 -no-undefined - -EXTRA_DIST = \ - ../erb/v1/cpp03_define_array.hpp.erb \ - ../erb/v1/cpp03_define_array_decl.hpp.erb \ - ../erb/v1/cpp03_define_map.hpp.erb \ - ../erb/v1/cpp03_define_map_decl.hpp.erb \ - ../erb/v1/cpp03_msgpack_tuple.hpp.erb \ - ../erb/v1/cpp03_msgpack_tuple_decl.hpp.erb \ - ../erb/v1/cpp03_zone.hpp.erb \ - ../erb/v1/cpp03_zone_decl.hpp.erb - -doxygen_c: - cat ../Doxyfile > Doxyfile_c - echo "FILE_PATTERNS = *.h" >> Doxyfile_c - echo "OUTPUT_DIRECTORY = doc_c" >> Doxyfile_c - echo "INPUT = ../include" >> Doxyfile_c - echo "EXTRACT_ALL = YES" >> Doxyfile_c - echo "PROJECT_NAME = \"MessagePack for C\"" >> Doxyfile_c - doxygen Doxyfile_c - -doxygen_cpp: - cat ../Doxyfile > Doxyfile_cpp - echo "FILE_PATTERNS = *.hpp" >> Doxyfile_cpp - echo "OUTPUT_DIRECTORY = doc_cpp" >> Doxyfile_cpp - echo "INPUT = ../include" >> Doxyfile_cpp - echo "EXTRACT_ALL = YES" >> Doxyfile_cpp - echo "PROJECT_NAME = \"MessagePack for C++\"" >> Doxyfile_cpp - doxygen Doxyfile_cpp - -doxygen: doxygen_c doxygen_cpp diff --git a/src/files.mk b/src/files.mk deleted file mode 100644 index 9bca3eda..00000000 --- a/src/files.mk +++ /dev/null @@ -1,641 +0,0 @@ -libmsgpackc_la_SOURCES = \ - objectc.c \ - unpack.c \ - version.c \ - vrefbuffer.c \ - zone.c -nobase_include_HEADERS = \ - ../include/msgpack.h \ - ../include/msgpack/fbuffer.h \ - ../include/msgpack/gcc_atomic.h \ - ../include/msgpack/object.h \ - ../include/msgpack/pack.h \ - ../include/msgpack/pack_define.h \ - ../include/msgpack/pack_template.h \ - ../include/msgpack/predef.h \ - ../include/msgpack/predef/architecture.h \ - ../include/msgpack/predef/architecture/alpha.h \ - ../include/msgpack/predef/architecture/arm.h \ - ../include/msgpack/predef/architecture/blackfin.h \ - ../include/msgpack/predef/architecture/convex.h \ - ../include/msgpack/predef/architecture/ia64.h \ - ../include/msgpack/predef/architecture/m68k.h \ - ../include/msgpack/predef/architecture/mips.h \ - ../include/msgpack/predef/architecture/parisc.h \ - ../include/msgpack/predef/architecture/ppc.h \ - ../include/msgpack/predef/architecture/pyramid.h \ - ../include/msgpack/predef/architecture/rs6k.h \ - ../include/msgpack/predef/architecture/sparc.h \ - ../include/msgpack/predef/architecture/superh.h \ - ../include/msgpack/predef/architecture/sys370.h \ - ../include/msgpack/predef/architecture/sys390.h \ - ../include/msgpack/predef/architecture/x86.h \ - ../include/msgpack/predef/architecture/x86/32.h \ - ../include/msgpack/predef/architecture/x86/64.h \ - ../include/msgpack/predef/architecture/z.h \ - ../include/msgpack/predef/compiler.h \ - ../include/msgpack/predef/compiler/borland.h \ - ../include/msgpack/predef/compiler/clang.h \ - ../include/msgpack/predef/compiler/comeau.h \ - ../include/msgpack/predef/compiler/compaq.h \ - ../include/msgpack/predef/compiler/diab.h \ - ../include/msgpack/predef/compiler/digitalmars.h \ - ../include/msgpack/predef/compiler/dignus.h \ - ../include/msgpack/predef/compiler/edg.h \ - ../include/msgpack/predef/compiler/ekopath.h \ - ../include/msgpack/predef/compiler/gcc.h \ - ../include/msgpack/predef/compiler/gcc_xml.h \ - ../include/msgpack/predef/compiler/greenhills.h \ - ../include/msgpack/predef/compiler/hp_acc.h \ - ../include/msgpack/predef/compiler/iar.h \ - ../include/msgpack/predef/compiler/ibm.h \ - ../include/msgpack/predef/compiler/intel.h \ - ../include/msgpack/predef/compiler/kai.h \ - ../include/msgpack/predef/compiler/llvm.h \ - ../include/msgpack/predef/compiler/metaware.h \ - ../include/msgpack/predef/compiler/metrowerks.h \ - ../include/msgpack/predef/compiler/microtec.h \ - ../include/msgpack/predef/compiler/mpw.h \ - ../include/msgpack/predef/compiler/palm.h \ - ../include/msgpack/predef/compiler/pgi.h \ - ../include/msgpack/predef/compiler/sgi_mipspro.h \ - ../include/msgpack/predef/compiler/sunpro.h \ - ../include/msgpack/predef/compiler/tendra.h \ - ../include/msgpack/predef/compiler/visualc.h \ - ../include/msgpack/predef/compiler/watcom.h \ - ../include/msgpack/predef/detail/_cassert.h \ - ../include/msgpack/predef/detail/_exception.h \ - ../include/msgpack/predef/detail/comp_detected.h \ - ../include/msgpack/predef/detail/endian_compat.h \ - ../include/msgpack/predef/detail/os_detected.h \ - ../include/msgpack/predef/detail/platform_detected.h \ - ../include/msgpack/predef/detail/test.h \ - ../include/msgpack/predef/detail/test_def.h \ - ../include/msgpack/predef/hardware.h \ - ../include/msgpack/predef/hardware/simd.h \ - ../include/msgpack/predef/hardware/simd/arm.h \ - ../include/msgpack/predef/hardware/simd/arm/versions.h \ - ../include/msgpack/predef/hardware/simd/ppc.h \ - ../include/msgpack/predef/hardware/simd/ppc/versions.h \ - ../include/msgpack/predef/hardware/simd/x86.h \ - ../include/msgpack/predef/hardware/simd/x86/versions.h \ - ../include/msgpack/predef/hardware/simd/x86_amd.h \ - ../include/msgpack/predef/hardware/simd/x86_amd/versions.h \ - ../include/msgpack/predef/language.h \ - ../include/msgpack/predef/language/objc.h \ - ../include/msgpack/predef/language/stdc.h \ - ../include/msgpack/predef/language/stdcpp.h \ - ../include/msgpack/predef/library.h \ - ../include/msgpack/predef/library/c.h \ - ../include/msgpack/predef/library/c/_prefix.h \ - ../include/msgpack/predef/library/c/gnu.h \ - ../include/msgpack/predef/library/c/uc.h \ - ../include/msgpack/predef/library/c/vms.h \ - ../include/msgpack/predef/library/c/zos.h \ - ../include/msgpack/predef/library/std.h \ - ../include/msgpack/predef/library/std/_prefix.h \ - ../include/msgpack/predef/library/std/cxx.h \ - ../include/msgpack/predef/library/std/dinkumware.h \ - ../include/msgpack/predef/library/std/libcomo.h \ - ../include/msgpack/predef/library/std/modena.h \ - ../include/msgpack/predef/library/std/msl.h \ - ../include/msgpack/predef/library/std/roguewave.h \ - ../include/msgpack/predef/library/std/sgi.h \ - ../include/msgpack/predef/library/std/stdcpp3.h \ - ../include/msgpack/predef/library/std/stlport.h \ - ../include/msgpack/predef/library/std/vacpp.h \ - ../include/msgpack/predef/make.h \ - ../include/msgpack/predef/os.h \ - ../include/msgpack/predef/os/aix.h \ - ../include/msgpack/predef/os/amigaos.h \ - ../include/msgpack/predef/os/android.h \ - ../include/msgpack/predef/os/beos.h \ - ../include/msgpack/predef/os/bsd.h \ - ../include/msgpack/predef/os/bsd/bsdi.h \ - ../include/msgpack/predef/os/bsd/dragonfly.h \ - ../include/msgpack/predef/os/bsd/free.h \ - ../include/msgpack/predef/os/bsd/net.h \ - ../include/msgpack/predef/os/bsd/open.h \ - ../include/msgpack/predef/os/cygwin.h \ - ../include/msgpack/predef/os/haiku.h \ - ../include/msgpack/predef/os/hpux.h \ - ../include/msgpack/predef/os/ios.h \ - ../include/msgpack/predef/os/irix.h \ - ../include/msgpack/predef/os/linux.h \ - ../include/msgpack/predef/os/macos.h \ - ../include/msgpack/predef/os/os400.h \ - ../include/msgpack/predef/os/qnxnto.h \ - ../include/msgpack/predef/os/solaris.h \ - ../include/msgpack/predef/os/unix.h \ - ../include/msgpack/predef/os/vms.h \ - ../include/msgpack/predef/os/windows.h \ - ../include/msgpack/predef/other.h \ - ../include/msgpack/predef/other/endian.h \ - ../include/msgpack/predef/platform.h \ - ../include/msgpack/predef/platform/mingw.h \ - ../include/msgpack/predef/platform/windows_desktop.h \ - ../include/msgpack/predef/platform/windows_phone.h \ - ../include/msgpack/predef/platform/windows_runtime.h \ - ../include/msgpack/predef/platform/windows_store.h \ - ../include/msgpack/predef/version.h \ - ../include/msgpack/predef/version_number.h \ - ../include/msgpack/sbuffer.h \ - ../include/msgpack/sysdep.h \ - ../include/msgpack/unpack.h \ - ../include/msgpack/unpack_define.h \ - ../include/msgpack/unpack_template.h \ - ../include/msgpack/util.h \ - ../include/msgpack/version.h \ - ../include/msgpack/version_master.h \ - ../include/msgpack/vrefbuffer.h \ - ../include/msgpack/zbuffer.h \ - ../include/msgpack/zone.h -if ENABLE_CXX -nobase_include_HEADERS += \ - ../include/msgpack.hpp \ - ../include/msgpack/adaptor/adaptor_base.hpp \ - ../include/msgpack/adaptor/adaptor_base_decl.hpp \ - ../include/msgpack/adaptor/array_ref.hpp \ - ../include/msgpack/adaptor/array_ref_decl.hpp \ - ../include/msgpack/adaptor/bool.hpp \ - ../include/msgpack/adaptor/boost/fusion.hpp \ - ../include/msgpack/adaptor/boost/msgpack_variant.hpp \ - ../include/msgpack/adaptor/boost/msgpack_variant_decl.hpp \ - ../include/msgpack/adaptor/boost/optional.hpp \ - ../include/msgpack/adaptor/boost/string_ref.hpp \ - ../include/msgpack/adaptor/carray.hpp \ - ../include/msgpack/adaptor/char_ptr.hpp \ - ../include/msgpack/adaptor/check_container_size.hpp \ - ../include/msgpack/adaptor/check_container_size_decl.hpp \ - ../include/msgpack/adaptor/cpp11/array.hpp \ - ../include/msgpack/adaptor/cpp11/array_char.hpp \ - ../include/msgpack/adaptor/cpp11/array_unsigned_char.hpp \ - ../include/msgpack/adaptor/cpp11/forward_list.hpp \ - ../include/msgpack/adaptor/cpp11/reference_wrapper.hpp \ - ../include/msgpack/adaptor/cpp11/shared_ptr.hpp \ - ../include/msgpack/adaptor/cpp11/tuple.hpp \ - ../include/msgpack/adaptor/cpp11/unique_ptr.hpp \ - ../include/msgpack/adaptor/cpp11/unordered_map.hpp \ - ../include/msgpack/adaptor/cpp11/unordered_set.hpp \ - ../include/msgpack/adaptor/define.hpp \ - ../include/msgpack/adaptor/define_decl.hpp \ - ../include/msgpack/adaptor/deque.hpp \ - ../include/msgpack/adaptor/ext.hpp \ - ../include/msgpack/adaptor/ext_decl.hpp \ - ../include/msgpack/adaptor/fixint.hpp \ - ../include/msgpack/adaptor/fixint_decl.hpp \ - ../include/msgpack/adaptor/float.hpp \ - ../include/msgpack/adaptor/int.hpp \ - ../include/msgpack/adaptor/int_decl.hpp \ - ../include/msgpack/adaptor/list.hpp \ - ../include/msgpack/adaptor/map.hpp \ - ../include/msgpack/adaptor/map_decl.hpp \ - ../include/msgpack/adaptor/msgpack_tuple.hpp \ - ../include/msgpack/adaptor/msgpack_tuple_decl.hpp \ - ../include/msgpack/adaptor/nil.hpp \ - ../include/msgpack/adaptor/nil_decl.hpp \ - ../include/msgpack/adaptor/pair.hpp \ - ../include/msgpack/adaptor/raw.hpp \ - ../include/msgpack/adaptor/raw_decl.hpp \ - ../include/msgpack/adaptor/set.hpp \ - ../include/msgpack/adaptor/string.hpp \ - ../include/msgpack/adaptor/tr1/unordered_map.hpp \ - ../include/msgpack/adaptor/tr1/unordered_set.hpp \ - ../include/msgpack/adaptor/v4raw.hpp \ - ../include/msgpack/adaptor/v4raw_decl.hpp \ - ../include/msgpack/adaptor/vector.hpp \ - ../include/msgpack/adaptor/vector_bool.hpp \ - ../include/msgpack/adaptor/vector_char.hpp \ - ../include/msgpack/adaptor/vector_unsigned_char.hpp \ - ../include/msgpack/cpp_config.hpp \ - ../include/msgpack/cpp_config_decl.hpp \ - ../include/msgpack/fbuffer.hpp \ - ../include/msgpack/fbuffer_decl.hpp \ - ../include/msgpack/gcc_atomic.hpp \ - ../include/msgpack/iterator.hpp \ - ../include/msgpack/iterator_decl.hpp \ - ../include/msgpack/meta.hpp \ - ../include/msgpack/meta_decl.hpp \ - ../include/msgpack/object.hpp \ - ../include/msgpack/object_decl.hpp \ - ../include/msgpack/object_fwd.hpp \ - ../include/msgpack/object_fwd_decl.hpp \ - ../include/msgpack/pack.hpp \ - ../include/msgpack/pack_decl.hpp \ - ../include/msgpack/preprocessor.hpp \ - ../include/msgpack/preprocessor/arithmetic.hpp \ - ../include/msgpack/preprocessor/arithmetic/add.hpp \ - ../include/msgpack/preprocessor/arithmetic/dec.hpp \ - ../include/msgpack/preprocessor/arithmetic/detail/div_base.hpp \ - ../include/msgpack/preprocessor/arithmetic/div.hpp \ - ../include/msgpack/preprocessor/arithmetic/inc.hpp \ - ../include/msgpack/preprocessor/arithmetic/mod.hpp \ - ../include/msgpack/preprocessor/arithmetic/mul.hpp \ - ../include/msgpack/preprocessor/arithmetic/sub.hpp \ - ../include/msgpack/preprocessor/array.hpp \ - ../include/msgpack/preprocessor/array/data.hpp \ - ../include/msgpack/preprocessor/array/detail/get_data.hpp \ - ../include/msgpack/preprocessor/array/elem.hpp \ - ../include/msgpack/preprocessor/array/enum.hpp \ - ../include/msgpack/preprocessor/array/insert.hpp \ - ../include/msgpack/preprocessor/array/pop_back.hpp \ - ../include/msgpack/preprocessor/array/pop_front.hpp \ - ../include/msgpack/preprocessor/array/push_back.hpp \ - ../include/msgpack/preprocessor/array/push_front.hpp \ - ../include/msgpack/preprocessor/array/remove.hpp \ - ../include/msgpack/preprocessor/array/replace.hpp \ - ../include/msgpack/preprocessor/array/reverse.hpp \ - ../include/msgpack/preprocessor/array/size.hpp \ - ../include/msgpack/preprocessor/array/to_list.hpp \ - ../include/msgpack/preprocessor/array/to_seq.hpp \ - ../include/msgpack/preprocessor/array/to_tuple.hpp \ - ../include/msgpack/preprocessor/assert_msg.hpp \ - ../include/msgpack/preprocessor/cat.hpp \ - ../include/msgpack/preprocessor/comma.hpp \ - ../include/msgpack/preprocessor/comma_if.hpp \ - ../include/msgpack/preprocessor/comparison.hpp \ - ../include/msgpack/preprocessor/comparison/equal.hpp \ - ../include/msgpack/preprocessor/comparison/greater.hpp \ - ../include/msgpack/preprocessor/comparison/greater_equal.hpp \ - ../include/msgpack/preprocessor/comparison/less.hpp \ - ../include/msgpack/preprocessor/comparison/less_equal.hpp \ - ../include/msgpack/preprocessor/comparison/not_equal.hpp \ - ../include/msgpack/preprocessor/config/config.hpp \ - ../include/msgpack/preprocessor/config/limits.hpp \ - ../include/msgpack/preprocessor/control.hpp \ - ../include/msgpack/preprocessor/control/deduce_d.hpp \ - ../include/msgpack/preprocessor/control/detail/dmc/while.hpp \ - ../include/msgpack/preprocessor/control/detail/edg/while.hpp \ - ../include/msgpack/preprocessor/control/detail/msvc/while.hpp \ - ../include/msgpack/preprocessor/control/detail/while.hpp \ - ../include/msgpack/preprocessor/control/expr_if.hpp \ - ../include/msgpack/preprocessor/control/expr_iif.hpp \ - ../include/msgpack/preprocessor/control/if.hpp \ - ../include/msgpack/preprocessor/control/iif.hpp \ - ../include/msgpack/preprocessor/control/while.hpp \ - ../include/msgpack/preprocessor/debug.hpp \ - ../include/msgpack/preprocessor/debug/assert.hpp \ - ../include/msgpack/preprocessor/debug/error.hpp \ - ../include/msgpack/preprocessor/debug/line.hpp \ - ../include/msgpack/preprocessor/dec.hpp \ - ../include/msgpack/preprocessor/detail/auto_rec.hpp \ - ../include/msgpack/preprocessor/detail/check.hpp \ - ../include/msgpack/preprocessor/detail/dmc/auto_rec.hpp \ - ../include/msgpack/preprocessor/detail/is_binary.hpp \ - ../include/msgpack/preprocessor/detail/is_nullary.hpp \ - ../include/msgpack/preprocessor/detail/is_unary.hpp \ - ../include/msgpack/preprocessor/detail/null.hpp \ - ../include/msgpack/preprocessor/detail/split.hpp \ - ../include/msgpack/preprocessor/empty.hpp \ - ../include/msgpack/preprocessor/enum.hpp \ - ../include/msgpack/preprocessor/enum_params.hpp \ - ../include/msgpack/preprocessor/enum_params_with_a_default.hpp \ - ../include/msgpack/preprocessor/enum_params_with_defaults.hpp \ - ../include/msgpack/preprocessor/enum_shifted.hpp \ - ../include/msgpack/preprocessor/enum_shifted_params.hpp \ - ../include/msgpack/preprocessor/expand.hpp \ - ../include/msgpack/preprocessor/expr_if.hpp \ - ../include/msgpack/preprocessor/facilities.hpp \ - ../include/msgpack/preprocessor/facilities/apply.hpp \ - ../include/msgpack/preprocessor/facilities/detail/is_empty.hpp \ - ../include/msgpack/preprocessor/facilities/empty.hpp \ - ../include/msgpack/preprocessor/facilities/expand.hpp \ - ../include/msgpack/preprocessor/facilities/identity.hpp \ - ../include/msgpack/preprocessor/facilities/intercept.hpp \ - ../include/msgpack/preprocessor/facilities/is_1.hpp \ - ../include/msgpack/preprocessor/facilities/is_empty.hpp \ - ../include/msgpack/preprocessor/facilities/is_empty_or_1.hpp \ - ../include/msgpack/preprocessor/facilities/is_empty_variadic.hpp \ - ../include/msgpack/preprocessor/facilities/overload.hpp \ - ../include/msgpack/preprocessor/for.hpp \ - ../include/msgpack/preprocessor/identity.hpp \ - ../include/msgpack/preprocessor/if.hpp \ - ../include/msgpack/preprocessor/inc.hpp \ - ../include/msgpack/preprocessor/iterate.hpp \ - ../include/msgpack/preprocessor/iteration.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/lower1.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/lower2.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/lower3.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/lower4.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/lower5.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/upper1.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/upper2.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/upper3.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/upper4.hpp \ - ../include/msgpack/preprocessor/iteration/detail/bounds/upper5.hpp \ - ../include/msgpack/preprocessor/iteration/detail/finish.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/forward1.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/forward2.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/forward3.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/forward4.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/forward5.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/reverse1.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/reverse2.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/reverse3.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/reverse4.hpp \ - ../include/msgpack/preprocessor/iteration/detail/iter/reverse5.hpp \ - ../include/msgpack/preprocessor/iteration/detail/local.hpp \ - ../include/msgpack/preprocessor/iteration/detail/rlocal.hpp \ - ../include/msgpack/preprocessor/iteration/detail/self.hpp \ - ../include/msgpack/preprocessor/iteration/detail/start.hpp \ - ../include/msgpack/preprocessor/iteration/iterate.hpp \ - ../include/msgpack/preprocessor/iteration/local.hpp \ - ../include/msgpack/preprocessor/iteration/self.hpp \ - ../include/msgpack/preprocessor/library.hpp \ - ../include/msgpack/preprocessor/limits.hpp \ - ../include/msgpack/preprocessor/list.hpp \ - ../include/msgpack/preprocessor/list/adt.hpp \ - ../include/msgpack/preprocessor/list/append.hpp \ - ../include/msgpack/preprocessor/list/at.hpp \ - ../include/msgpack/preprocessor/list/cat.hpp \ - ../include/msgpack/preprocessor/list/detail/dmc/fold_left.hpp \ - ../include/msgpack/preprocessor/list/detail/edg/fold_left.hpp \ - ../include/msgpack/preprocessor/list/detail/edg/fold_right.hpp \ - ../include/msgpack/preprocessor/list/detail/fold_left.hpp \ - ../include/msgpack/preprocessor/list/detail/fold_right.hpp \ - ../include/msgpack/preprocessor/list/enum.hpp \ - ../include/msgpack/preprocessor/list/filter.hpp \ - ../include/msgpack/preprocessor/list/first_n.hpp \ - ../include/msgpack/preprocessor/list/fold_left.hpp \ - ../include/msgpack/preprocessor/list/fold_right.hpp \ - ../include/msgpack/preprocessor/list/for_each.hpp \ - ../include/msgpack/preprocessor/list/for_each_i.hpp \ - ../include/msgpack/preprocessor/list/for_each_product.hpp \ - ../include/msgpack/preprocessor/list/rest_n.hpp \ - ../include/msgpack/preprocessor/list/reverse.hpp \ - ../include/msgpack/preprocessor/list/size.hpp \ - ../include/msgpack/preprocessor/list/to_array.hpp \ - ../include/msgpack/preprocessor/list/to_seq.hpp \ - ../include/msgpack/preprocessor/list/to_tuple.hpp \ - ../include/msgpack/preprocessor/list/transform.hpp \ - ../include/msgpack/preprocessor/logical.hpp \ - ../include/msgpack/preprocessor/logical/and.hpp \ - ../include/msgpack/preprocessor/logical/bitand.hpp \ - ../include/msgpack/preprocessor/logical/bitnor.hpp \ - ../include/msgpack/preprocessor/logical/bitor.hpp \ - ../include/msgpack/preprocessor/logical/bitxor.hpp \ - ../include/msgpack/preprocessor/logical/bool.hpp \ - ../include/msgpack/preprocessor/logical/compl.hpp \ - ../include/msgpack/preprocessor/logical/nor.hpp \ - ../include/msgpack/preprocessor/logical/not.hpp \ - ../include/msgpack/preprocessor/logical/or.hpp \ - ../include/msgpack/preprocessor/logical/xor.hpp \ - ../include/msgpack/preprocessor/max.hpp \ - ../include/msgpack/preprocessor/min.hpp \ - ../include/msgpack/preprocessor/punctuation.hpp \ - ../include/msgpack/preprocessor/punctuation/comma.hpp \ - ../include/msgpack/preprocessor/punctuation/comma_if.hpp \ - ../include/msgpack/preprocessor/punctuation/detail/is_begin_parens.hpp \ - ../include/msgpack/preprocessor/punctuation/is_begin_parens.hpp \ - ../include/msgpack/preprocessor/punctuation/paren.hpp \ - ../include/msgpack/preprocessor/punctuation/paren_if.hpp \ - ../include/msgpack/preprocessor/punctuation/remove_parens.hpp \ - ../include/msgpack/preprocessor/repeat.hpp \ - ../include/msgpack/preprocessor/repeat_2nd.hpp \ - ../include/msgpack/preprocessor/repeat_3rd.hpp \ - ../include/msgpack/preprocessor/repeat_from_to.hpp \ - ../include/msgpack/preprocessor/repeat_from_to_2nd.hpp \ - ../include/msgpack/preprocessor/repeat_from_to_3rd.hpp \ - ../include/msgpack/preprocessor/repetition.hpp \ - ../include/msgpack/preprocessor/repetition/deduce_r.hpp \ - ../include/msgpack/preprocessor/repetition/deduce_z.hpp \ - ../include/msgpack/preprocessor/repetition/detail/dmc/for.hpp \ - ../include/msgpack/preprocessor/repetition/detail/edg/for.hpp \ - ../include/msgpack/preprocessor/repetition/detail/for.hpp \ - ../include/msgpack/preprocessor/repetition/detail/msvc/for.hpp \ - ../include/msgpack/preprocessor/repetition/enum.hpp \ - ../include/msgpack/preprocessor/repetition/enum_binary_params.hpp \ - ../include/msgpack/preprocessor/repetition/enum_params.hpp \ - ../include/msgpack/preprocessor/repetition/enum_params_with_a_default.hpp \ - ../include/msgpack/preprocessor/repetition/enum_params_with_defaults.hpp \ - ../include/msgpack/preprocessor/repetition/enum_shifted.hpp \ - ../include/msgpack/preprocessor/repetition/enum_shifted_binary_params.hpp \ - ../include/msgpack/preprocessor/repetition/enum_shifted_params.hpp \ - ../include/msgpack/preprocessor/repetition/enum_trailing.hpp \ - ../include/msgpack/preprocessor/repetition/enum_trailing_binary_params.hpp \ - ../include/msgpack/preprocessor/repetition/enum_trailing_params.hpp \ - ../include/msgpack/preprocessor/repetition/for.hpp \ - ../include/msgpack/preprocessor/repetition/repeat.hpp \ - ../include/msgpack/preprocessor/repetition/repeat_from_to.hpp \ - ../include/msgpack/preprocessor/selection.hpp \ - ../include/msgpack/preprocessor/selection/max.hpp \ - ../include/msgpack/preprocessor/selection/min.hpp \ - ../include/msgpack/preprocessor/seq.hpp \ - ../include/msgpack/preprocessor/seq/cat.hpp \ - ../include/msgpack/preprocessor/seq/detail/binary_transform.hpp \ - ../include/msgpack/preprocessor/seq/detail/is_empty.hpp \ - ../include/msgpack/preprocessor/seq/detail/split.hpp \ - ../include/msgpack/preprocessor/seq/elem.hpp \ - ../include/msgpack/preprocessor/seq/enum.hpp \ - ../include/msgpack/preprocessor/seq/filter.hpp \ - ../include/msgpack/preprocessor/seq/first_n.hpp \ - ../include/msgpack/preprocessor/seq/fold_left.hpp \ - ../include/msgpack/preprocessor/seq/fold_right.hpp \ - ../include/msgpack/preprocessor/seq/for_each.hpp \ - ../include/msgpack/preprocessor/seq/for_each_i.hpp \ - ../include/msgpack/preprocessor/seq/for_each_product.hpp \ - ../include/msgpack/preprocessor/seq/insert.hpp \ - ../include/msgpack/preprocessor/seq/pop_back.hpp \ - ../include/msgpack/preprocessor/seq/pop_front.hpp \ - ../include/msgpack/preprocessor/seq/push_back.hpp \ - ../include/msgpack/preprocessor/seq/push_front.hpp \ - ../include/msgpack/preprocessor/seq/remove.hpp \ - ../include/msgpack/preprocessor/seq/replace.hpp \ - ../include/msgpack/preprocessor/seq/rest_n.hpp \ - ../include/msgpack/preprocessor/seq/reverse.hpp \ - ../include/msgpack/preprocessor/seq/seq.hpp \ - ../include/msgpack/preprocessor/seq/size.hpp \ - ../include/msgpack/preprocessor/seq/subseq.hpp \ - ../include/msgpack/preprocessor/seq/to_array.hpp \ - ../include/msgpack/preprocessor/seq/to_list.hpp \ - ../include/msgpack/preprocessor/seq/to_tuple.hpp \ - ../include/msgpack/preprocessor/seq/transform.hpp \ - ../include/msgpack/preprocessor/seq/variadic_seq_to_seq.hpp \ - ../include/msgpack/preprocessor/slot.hpp \ - ../include/msgpack/preprocessor/slot/counter.hpp \ - ../include/msgpack/preprocessor/slot/detail/counter.hpp \ - ../include/msgpack/preprocessor/slot/detail/def.hpp \ - ../include/msgpack/preprocessor/slot/detail/shared.hpp \ - ../include/msgpack/preprocessor/slot/detail/slot1.hpp \ - ../include/msgpack/preprocessor/slot/detail/slot2.hpp \ - ../include/msgpack/preprocessor/slot/detail/slot3.hpp \ - ../include/msgpack/preprocessor/slot/detail/slot4.hpp \ - ../include/msgpack/preprocessor/slot/detail/slot5.hpp \ - ../include/msgpack/preprocessor/slot/slot.hpp \ - ../include/msgpack/preprocessor/stringize.hpp \ - ../include/msgpack/preprocessor/tuple.hpp \ - ../include/msgpack/preprocessor/tuple/detail/is_single_return.hpp \ - ../include/msgpack/preprocessor/tuple/eat.hpp \ - ../include/msgpack/preprocessor/tuple/elem.hpp \ - ../include/msgpack/preprocessor/tuple/enum.hpp \ - ../include/msgpack/preprocessor/tuple/insert.hpp \ - ../include/msgpack/preprocessor/tuple/pop_back.hpp \ - ../include/msgpack/preprocessor/tuple/pop_front.hpp \ - ../include/msgpack/preprocessor/tuple/push_back.hpp \ - ../include/msgpack/preprocessor/tuple/push_front.hpp \ - ../include/msgpack/preprocessor/tuple/rem.hpp \ - ../include/msgpack/preprocessor/tuple/remove.hpp \ - ../include/msgpack/preprocessor/tuple/replace.hpp \ - ../include/msgpack/preprocessor/tuple/reverse.hpp \ - ../include/msgpack/preprocessor/tuple/size.hpp \ - ../include/msgpack/preprocessor/tuple/to_array.hpp \ - ../include/msgpack/preprocessor/tuple/to_list.hpp \ - ../include/msgpack/preprocessor/tuple/to_seq.hpp \ - ../include/msgpack/preprocessor/variadic.hpp \ - ../include/msgpack/preprocessor/variadic/detail/is_single_return.hpp \ - ../include/msgpack/preprocessor/variadic/elem.hpp \ - ../include/msgpack/preprocessor/variadic/size.hpp \ - ../include/msgpack/preprocessor/variadic/to_array.hpp \ - ../include/msgpack/preprocessor/variadic/to_list.hpp \ - ../include/msgpack/preprocessor/variadic/to_seq.hpp \ - ../include/msgpack/preprocessor/variadic/to_tuple.hpp \ - ../include/msgpack/preprocessor/while.hpp \ - ../include/msgpack/preprocessor/wstringize.hpp \ - ../include/msgpack/sbuffer.hpp \ - ../include/msgpack/sbuffer_decl.hpp \ - ../include/msgpack/type.hpp \ - ../include/msgpack/unpack.hpp \ - ../include/msgpack/unpack_decl.hpp \ - ../include/msgpack/v1/adaptor/adaptor_base.hpp \ - ../include/msgpack/v1/adaptor/adaptor_base_decl.hpp \ - ../include/msgpack/v1/adaptor/array_ref.hpp \ - ../include/msgpack/v1/adaptor/array_ref_decl.hpp \ - ../include/msgpack/v1/adaptor/bool.hpp \ - ../include/msgpack/v1/adaptor/boost/fusion.hpp \ - ../include/msgpack/v1/adaptor/boost/msgpack_variant.hpp \ - ../include/msgpack/v1/adaptor/boost/msgpack_variant_decl.hpp \ - ../include/msgpack/v1/adaptor/boost/optional.hpp \ - ../include/msgpack/v1/adaptor/boost/string_ref.hpp \ - ../include/msgpack/v1/adaptor/carray.hpp \ - ../include/msgpack/v1/adaptor/char_ptr.hpp \ - ../include/msgpack/v1/adaptor/check_container_size.hpp \ - ../include/msgpack/v1/adaptor/check_container_size_decl.hpp \ - ../include/msgpack/v1/adaptor/cpp11/array.hpp \ - ../include/msgpack/v1/adaptor/cpp11/array_char.hpp \ - ../include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp \ - ../include/msgpack/v1/adaptor/cpp11/forward_list.hpp \ - ../include/msgpack/v1/adaptor/cpp11/reference_wrapper.hpp \ - ../include/msgpack/v1/adaptor/cpp11/shared_ptr.hpp \ - ../include/msgpack/v1/adaptor/cpp11/tuple.hpp \ - ../include/msgpack/v1/adaptor/cpp11/unique_ptr.hpp \ - ../include/msgpack/v1/adaptor/cpp11/unordered_map.hpp \ - ../include/msgpack/v1/adaptor/cpp11/unordered_set.hpp \ - ../include/msgpack/v1/adaptor/define.hpp \ - ../include/msgpack/v1/adaptor/define_decl.hpp \ - ../include/msgpack/v1/adaptor/deque.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_define_array_decl.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_define_map_decl.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple_decl.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_define_array_decl.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_define_map_decl.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp \ - ../include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple_decl.hpp \ - ../include/msgpack/v1/adaptor/ext.hpp \ - ../include/msgpack/v1/adaptor/ext_decl.hpp \ - ../include/msgpack/v1/adaptor/fixint.hpp \ - ../include/msgpack/v1/adaptor/fixint_decl.hpp \ - ../include/msgpack/v1/adaptor/float.hpp \ - ../include/msgpack/v1/adaptor/int.hpp \ - ../include/msgpack/v1/adaptor/int_decl.hpp \ - ../include/msgpack/v1/adaptor/list.hpp \ - ../include/msgpack/v1/adaptor/map.hpp \ - ../include/msgpack/v1/adaptor/map_decl.hpp \ - ../include/msgpack/v1/adaptor/msgpack_tuple.hpp \ - ../include/msgpack/v1/adaptor/msgpack_tuple_decl.hpp \ - ../include/msgpack/v1/adaptor/nil.hpp \ - ../include/msgpack/v1/adaptor/nil_decl.hpp \ - ../include/msgpack/v1/adaptor/pair.hpp \ - ../include/msgpack/v1/adaptor/raw.hpp \ - ../include/msgpack/v1/adaptor/raw_decl.hpp \ - ../include/msgpack/v1/adaptor/set.hpp \ - ../include/msgpack/v1/adaptor/string.hpp \ - ../include/msgpack/v1/adaptor/tr1/unordered_map.hpp \ - ../include/msgpack/v1/adaptor/tr1/unordered_set.hpp \ - ../include/msgpack/v1/adaptor/v4raw.hpp \ - ../include/msgpack/v1/adaptor/v4raw_decl.hpp \ - ../include/msgpack/v1/adaptor/vector.hpp \ - ../include/msgpack/v1/adaptor/vector_bool.hpp \ - ../include/msgpack/v1/adaptor/vector_char.hpp \ - ../include/msgpack/v1/adaptor/vector_unsigned_char.hpp \ - ../include/msgpack/v1/cpp_config.hpp \ - ../include/msgpack/v1/cpp_config_decl.hpp \ - ../include/msgpack/v1/detail/cpp03_zone.hpp \ - ../include/msgpack/v1/detail/cpp03_zone_decl.hpp \ - ../include/msgpack/v1/detail/cpp11_zone.hpp \ - ../include/msgpack/v1/detail/cpp11_zone_decl.hpp \ - ../include/msgpack/v1/fbuffer.hpp \ - ../include/msgpack/v1/fbuffer_decl.hpp \ - ../include/msgpack/v1/iterator.hpp \ - ../include/msgpack/v1/iterator_decl.hpp \ - ../include/msgpack/v1/meta.hpp \ - ../include/msgpack/v1/meta_decl.hpp \ - ../include/msgpack/v1/object.hpp \ - ../include/msgpack/v1/object_decl.hpp \ - ../include/msgpack/v1/object_fwd.hpp \ - ../include/msgpack/v1/object_fwd_decl.hpp \ - ../include/msgpack/v1/pack.hpp \ - ../include/msgpack/v1/pack_decl.hpp \ - ../include/msgpack/v1/preprocessor.hpp \ - ../include/msgpack/v1/sbuffer.hpp \ - ../include/msgpack/v1/sbuffer_decl.hpp \ - ../include/msgpack/v1/unpack.hpp \ - ../include/msgpack/v1/unpack_decl.hpp \ - ../include/msgpack/v1/version.hpp \ - ../include/msgpack/v1/versioning.hpp \ - ../include/msgpack/v1/vrefbuffer.hpp \ - ../include/msgpack/v1/vrefbuffer_decl.hpp \ - ../include/msgpack/v1/zbuffer.hpp \ - ../include/msgpack/v1/zbuffer_decl.hpp \ - ../include/msgpack/v1/zone.hpp \ - ../include/msgpack/v1/zone_decl.hpp \ - ../include/msgpack/v2/adaptor/adaptor_base.hpp \ - ../include/msgpack/v2/adaptor/adaptor_base_decl.hpp \ - ../include/msgpack/v2/adaptor/array_ref_decl.hpp \ - ../include/msgpack/v2/adaptor/boost/msgpack_variant_decl.hpp \ - ../include/msgpack/v2/adaptor/check_container_size_decl.hpp \ - ../include/msgpack/v2/adaptor/define_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp03_define_array_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp03_define_map_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp03_msgpack_tuple_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp11_define_array_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp11_define_map_decl.hpp \ - ../include/msgpack/v2/adaptor/detail/cpp11_msgpack_tuple_decl.hpp \ - ../include/msgpack/v2/adaptor/ext_decl.hpp \ - ../include/msgpack/v2/adaptor/fixint_decl.hpp \ - ../include/msgpack/v2/adaptor/int_decl.hpp \ - ../include/msgpack/v2/adaptor/map_decl.hpp \ - ../include/msgpack/v2/adaptor/msgpack_tuple_decl.hpp \ - ../include/msgpack/v2/adaptor/nil_decl.hpp \ - ../include/msgpack/v2/adaptor/raw_decl.hpp \ - ../include/msgpack/v2/adaptor/v4raw_decl.hpp \ - ../include/msgpack/v2/cpp_config_decl.hpp \ - ../include/msgpack/v2/detail/cpp03_zone_decl.hpp \ - ../include/msgpack/v2/detail/cpp11_zone_decl.hpp \ - ../include/msgpack/v2/fbuffer_decl.hpp \ - ../include/msgpack/v2/iterator_decl.hpp \ - ../include/msgpack/v2/meta_decl.hpp \ - ../include/msgpack/v2/object.hpp \ - ../include/msgpack/v2/object_decl.hpp \ - ../include/msgpack/v2/object_fwd.hpp \ - ../include/msgpack/v2/object_fwd_decl.hpp \ - ../include/msgpack/v2/pack_decl.hpp \ - ../include/msgpack/v2/sbuffer_decl.hpp \ - ../include/msgpack/v2/unpack.hpp \ - ../include/msgpack/v2/unpack_decl.hpp \ - ../include/msgpack/v2/vrefbuffer_decl.hpp \ - ../include/msgpack/v2/zbuffer_decl.hpp \ - ../include/msgpack/v2/zone_decl.hpp \ - ../include/msgpack/version.hpp \ - ../include/msgpack/versioning.hpp \ - ../include/msgpack/vrefbuffer.hpp \ - ../include/msgpack/vrefbuffer_decl.hpp \ - ../include/msgpack/zbuffer.hpp \ - ../include/msgpack/zbuffer_decl.hpp \ - ../include/msgpack/zone.hpp \ - ../include/msgpack/zone_decl.hpp -endif diff --git a/test/Makefile.am b/test/Makefile.am deleted file mode 100644 index f341c15a..00000000 --- a/test/Makefile.am +++ /dev/null @@ -1,99 +0,0 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include -pthread -AM_C_CPPFLAGS = -I$(top_srcdir)/include -pthread -AM_LDFLAGS = $(top_builddir)/src/libmsgpackc.la -lgtest_main -lgtest -lpthread - -check_PROGRAMS = \ - array_ref \ - buffer \ - carray \ - cases \ - convert \ - fixint \ - fixint_c \ - inc_adaptor_define \ - json \ - limit \ - msgpack_basic \ - msgpack_c \ - msgpack_container \ - msgpack_stream \ - msgpack_tuple \ - msgpack_vref \ - object \ - object_with_zone \ - pack_unpack \ - pack_unpack_c \ - raw \ - reference \ - streaming \ - streaming_c \ - user_class \ - version \ - visitor \ - zone - -check_PROGRAMS += \ - boost_fusion \ - boost_variant \ - boost_optional \ - boost_string_ref - -check_PROGRAMS += \ - iterator_cpp11 \ - msgpack_cpp11 \ - reference_cpp11 \ - reference_wrapper_cpp11 \ - shared_ptr_cpp11 \ - unique_ptr_cpp11 - -check_PROGRAMS += \ - multi_file - -TESTS = $(check_PROGRAMS) - -array_ref_SOURCES = array_ref.cpp -buffer_SOURCES = buffer.cpp -carray_SOURCES = carray.cpp -cases_SOURCES = cases.cpp -convert_SOURCES = convert.cpp -fixint_SOURCES = fixint.cpp -fixint_c_SOURCES = fixint_c.cpp -inc_adaptor_define_SOURCES = inc_adaptor_define.cpp -json_SOURCES = json.cpp -limit_SOURCES = limit.cpp -msgpack_basic_SOURCES = msgpack_basic.cpp -msgpack_c_SOURCES = msgpack_c.cpp -msgpack_container_SOURCES = msgpack_container.cpp -msgpack_stream_SOURCES = msgpack_stream.cpp -msgpack_tuple_SOURCES = msgpack_tuple.cpp -msgpack_vref_SOURCES = msgpack_vref.cpp -object_SOURCES = object.cpp -object_with_zone_SOURCES = object_with_zone.cpp -pack_unpack_SOURCES = pack_unpack.cpp -pack_unpack_c_SOURCES = pack_unpack_c.cpp -raw_SOURCES = raw.cpp -reference_SOURCES = reference.cpp -streaming_SOURCES = streaming.cpp -streaming_c_SOURCES = streaming_c.cpp -user_class_SOURCES = user_class.cpp -version_SOURCES = version.cpp -visitor_SOURCES = visitor.cpp -zone_SOURCES = zone.cpp - -iterator_cpp11_SOURCES = iterator_cpp11.cpp -msgpack_cpp11_SOURCES = msgpack_cpp11.cpp -reference_cpp11_SOURCES = reference_cpp11.cpp -reference_wrapper_cpp11_SOURCES = reference_wrapper_cpp11.cpp -shared_ptr_cpp11_SOURCES = shared_ptr_cpp11.cpp -unique_ptr_cpp11_SOURCES = unique_ptr_cpp11.cpp - -boost_fusion_SOURCES = boost_fusion.cpp -boost_variant_SOURCES = boost_variant.cpp -boost_optional_SOURCES = boost_optional.cpp -boost_string_ref_SOURCES = boost_string_ref.cpp - -multi_file_SOURCES = multi_file1.cpp multi_file2.cpp - -buffer_LDADD = -lz - -EXTRA_DIST = cases.mpac cases_compact.mpac test_allocator.hpp