~fsx/protobluff

51ed244306e4fa115e9e9c7fdac6eda20780e10d — Frank Smit 10 months ago 5e6b2d2
Remove old build scripts.
34 files changed, 0 insertions(+), 1679 deletions(-)

D Makefile.am
D autogen.sh
D configure.ac
D examples/Makefile.am
D examples/decoding/Makefile.am
D examples/encoding/Makefile.am
D examples/messages/Makefile.am
D include/Makefile.am
D src/Makefile.am
D src/core/Makefile.am
D src/generator/Makefile.am
D src/message/Makefile.am
D src/util/Makefile.am
D tests/Makefile.am
D tests/core/Makefile.am
D tests/core/buffer/Makefile.am
D tests/core/decoder/Makefile.am
D tests/core/descriptor/Makefile.am
D tests/core/encoder/Makefile.am
D tests/core/stream/Makefile.am
D tests/core/varint/Makefile.am
D tests/message/Makefile.am
D tests/message/buffer/Makefile.am
D tests/message/cursor/Makefile.am
D tests/message/field/Makefile.am
D tests/message/journal/Makefile.am
D tests/message/message/Makefile.am
D tests/message/nested/Makefile.am
D tests/message/oneof/Makefile.am
D tests/message/part/Makefile.am
D tests/util/Makefile.am
D tests/util/chunk_allocator/Makefile.am
D tests/util/descriptor/Makefile.am
D tests/util/validator/Makefile.am
D Makefile.am => Makefile.am +0 -103
@@ 1,103 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = include src tests

# -----------------------------------------------------------------------------
# pkg-config configuration
# -----------------------------------------------------------------------------

# Create pkg-config recipe
pkgconfigdir = @libdir@/pkgconfig
pkgconfig_DATA = \
	src/protobluff.pc \
	src/protobluff-lite.pc

# -----------------------------------------------------------------------------
# Custom build rules
# -----------------------------------------------------------------------------

# Alias check with test
test: check

# Clean profiling information
clean-local:
	find src -name '*.gcda' -type f -delete
	find src -name '*.gcno' -type f -delete

# Purge development files
purge: clean
	find . -depth -name '.deps*' -exec rm -rf '{}' \;
	find . -depth -name '.libs*' -exec rm -rf '{}' \;
	find . -name 'Makefile' -type f -delete
	find . -name 'Makefile.in' -type f -delete
	find . -name '.dirstamp' -type f -delete
	find . -name '.DS_Store' -type f -delete
	find . -name '*.log' -type f -delete
	find . -name '*.trs' -type f -delete
	find . -name '*.pc' -type f -delete
	rm -f  aclocal.m4
	rm -rf autom4te.cache
	rm -f  autoscan.log
	rm -f  compile
	rm -f  configure
	rm -f  configure.scan
	rm -f  config.*
	rm -f  depcomp
	rm -f  install-sh
	rm -f  libtool
	rm -f  ltmain.sh
	rm -rf m4
	rm -f  missing
	rm -f  stamp-h1
	rm -f  test-driver

# -----------------------------------------------------------------------------
# Coverage report
# -----------------------------------------------------------------------------

if HAVE_COVERAGE

# Generate and display code coverage report
coverage:
	@LCOV@ -q -c --no-external -d @top_builddir@/src -o tests/coverage.info
	@GENHTML@ tests/coverage.info -o tests/coverage -c tests/coverage.css

endif # HAVE_COVERAGE

# -----------------------------------------------------------------------------
# Leak check
# -----------------------------------------------------------------------------

if HAVE_VALGRIND

# Perform leak check using unit tests
memcheck: check
	@for t in `find tests -maxdepth 3 -perm +111 -type f`; do \
	  @LIBTOOL@ --mode=execute @VALGRIND@ --dsymutil=yes --tool=memcheck \
	  --track-origins=yes --leak-check=full --show-reachable=yes \
	  --suppressions=valgrind.supp $$t; \
	done

endif # HAVE_VALGRIND

D autogen.sh => autogen.sh +0 -55
@@ 1,55 0,0 @@
#!/bin/bash

# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# Sometimes autoreconf doesn't create m4 directory, so do it explicitly
mkdir m4 > /dev/null 2>&1

# 1st pass: generate relevant files
command -v autoreconf > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo "autogen.sh: error: could not find autoreconf." 1>&2
  echo "autoconf is required to run autogen.sh." 1>&2
  exit 1
fi

# Generate Makefile.in from Makefile.am
command -v automake --add-missing > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo "autogen.sh: error: could not find automake." 1>&2
  echo "automake is required to run autogen.sh." 1>&2
  exit 1
fi

# Generate files to build shared libraries
command -v libtoolize > /dev/null 2>&1
if  [ $? -ne 0 ]; then
  echo "autogen.sh: error: could not find libtool." 1>&2
  echo "libtool is required to run autogen.sh." 1>&2
  exit 1
fi

# 2nd pass: generate configure script
autoreconf --install --force --verbose
if [ $? -ne 0 ]; then
  echo "autogen.sh: error: autoreconf exited with status $?" 1>&2
  exit 1
fi

D configure.ac => configure.ac +0 -247
@@ 1,247 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Prologue
# -----------------------------------------------------------------------------

AC_PREREQ(2.69)

AC_INIT([protobluff], [1.1.1], [martin.donath@squidfunk.com])
AM_INIT_AUTOMAKE([subdir-objects foreign])

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])

: ${CFLAGS=""}
: ${CXXFLAGS=""}

AC_PROG_CC
AC_PROG_CXX
AC_PROG_CPP

LT_INIT

AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])

# -----------------------------------------------------------------------------
# Dependencies
# -----------------------------------------------------------------------------

# Library versioning as <current:revision:age> - also remember to synchronize
# this value with the version info in the core/common.h header file.
AC_SUBST([VERSION_INFO], [5:1:1])

# Checks for programs
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_PROG_LN_S
AC_PROG_MAKE_SET

# Check for Protocol Buffers support to build generator
AC_CHECK_LIB([protobuf], [main], [LIBPROTOBUF="-lprotobuf"], [
	AC_MSG_WARN([libprotobuf not found; cannot build protoc-gen-protobluff])])
AC_CHECK_LIB([protoc], [main], [LIBPROTOC="-lprotoc"], [
	AC_MSG_WARN([libprotoc not found; cannot build protoc-gen-protobluff])])
AC_CHECK_PROGS([PROTOC], [protoc])
if test -z "$PROTOC"; then
	AC_MSG_WARN([protoc not found; cannot build protoc-gen-protobluff])
fi
AM_CONDITIONAL(HAVE_PROTOBUF, [ \
	test -n "$LIBPROTOBUF" -a -n "$LIBPROTOC" -a -n "$PROTOC"])
if test -z "$HAVE_PROTOBUF"; then
	protobuf_LIBS="$LIBPROTOBUF $LIBPROTOC"
else
	protobuf_LIBS=""
fi
AC_SUBST([protobuf_LIBS])
AC_SUBST([PROTOC])

# Check for ability to build and run tests
PKG_CHECK_MODULES([check], [check >= 0.9.10], [],
	AC_MSG_WARN([check not found; cannot build tests]))
AM_CONDITIONAL(HAVE_CHECK, [test -n "$check_LIBS"])

# Additional compiler flags for check
if test "${CC}" = "clang"; then
	check_CFLAGS+=" -g -Wno-incompatible-pointer-types-discards-qualifiers"
else
	check_CFLAGS+=" -g"
fi

# Check for ability to build coverage report
AC_CHECK_PROGS([LCOV], [lcov])
if test -z "$LCOV"; then
	AC_MSG_WARN([lcov not found; cannot build coverage report])
fi
AC_CHECK_PROGS([GENHTML], [genhtml])
if test -z "$GENHTML"; then
	AC_MSG_WARN([genhtml not found; cannot build coverage report])
fi
AM_CONDITIONAL(HAVE_COVERAGE, [test -n "$LCOV" -a -n "$GENHTML"])

# Check for ability to run memcheck
AC_CHECK_PROGS([VALGRIND], [valgrind])
if test -z "$VALGRIND"; then
	AC_MSG_WARN([valgrind not found; cannot run leak check])
fi
AM_CONDITIONAL(HAVE_VALGRIND, [test -n "$VALGRIND"])

# -----------------------------------------------------------------------------
# Arguments
# -----------------------------------------------------------------------------

# Disable optimized compilation
AC_ARG_ENABLE([optimized],
	[AS_HELP_STRING([--disable-optimized],
		[no optimizations @<:@default=enabled@:>@])],
	[OPTIMIZATIONS="-g"],
	[OPTIMIZATIONS="-O3 -DNDEBUG"
	 OPTIMIZATIONS+=" -fno-exceptions"
	 OPTIMIZATIONS+=" -fno-unwind-tables"
	 OPTIMIZATIONS+=" -fno-asynchronous-unwind-tables"
	 OPTIMIZATIONS+=" -fno-stack-protector"
	 OPTIMIZATIONS+=" -fomit-frame-pointer"])
AC_SUBST([OPTIMIZATIONS])

# Disable stripped build
AC_ARG_ENABLE([stripped],
	[AS_HELP_STRING([--disable-stripped],
		[strip internal symbols @<:@default=enabled@:>@])],
	[CPPFLAGS+=" -fvisibility=hidden"], [])

# Enable coverage report
AC_ARG_ENABLE([coverage],
	[AS_HELP_STRING([--enable-coverage],
		[coverage report @<:@default=disabled@:>@])],
	[coverage_CPPFLAGS="--coverage" coverage_LDFLAGS="--coverage"],
	[coverage_CPPFLAGS=""           coverage_LDFLAGS=""])
AC_SUBST([coverage_CPPFLAGS])
AC_SUBST([coverage_LDFLAGS])

# -----------------------------------------------------------------------------
# Header files, types and functions
# -----------------------------------------------------------------------------

# Check for header files
AC_HEADER_STDBOOL
AC_HEADER_STDC
AC_HEADER_TIME
AC_CHECK_HEADERS([ \
	float.h \
	limits.h \
	stddef.h \
	stdint.h \
	stdlib.h \
	string.h])

# Check for keywords and types
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_INT32_T
AC_TYPE_INT64_T
AC_TYPE_UINT8_T
AC_TYPE_UINT32_T
AC_TYPE_UINT64_T
AC_CHECK_TYPES([ptrdiff_t])

# Check for library functions
AC_FUNC_ALLOCA
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_FUNC_STRTOD
AC_CHECK_FUNCS([ \
	localeconv \
	memmove \
	setlocale \
	strchr \
	strpbrk \
	strtol \
	strtoul \
	strtoull])

# -----------------------------------------------------------------------------
# Configuration
# -----------------------------------------------------------------------------

# Configuration files
AC_CONFIG_FILES([
	Makefile
	examples/decoding/Makefile
	examples/encoding/Makefile
	examples/messages/Makefile
	examples/Makefile
	include/Makefile
	src/core/Makefile
	src/generator/Makefile
	src/message/Makefile
	src/util/Makefile
	src/Makefile
	src/protobluff-lite.pc
	src/protobluff.pc
	tests/core/buffer/Makefile
	tests/core/decoder/Makefile
	tests/core/descriptor/Makefile
	tests/core/encoder/Makefile
	tests/core/stream/Makefile
	tests/core/varint/Makefile
	tests/core/Makefile
	tests/message/buffer/Makefile
	tests/message/cursor/Makefile
	tests/message/field/Makefile
	tests/message/journal/Makefile
	tests/message/message/Makefile
	tests/message/nested/Makefile
	tests/message/oneof/Makefile
	tests/message/part/Makefile
	tests/message/Makefile
	tests/util/chunk_allocator/Makefile
	tests/util/descriptor/Makefile
	tests/util/validator/Makefile
	tests/util/Makefile
	tests/Makefile
])

# Compiler flags
CFLAGS+=" -std=c99"
CXXFLAGS+=" -std=c++11"
CPPFLAGS+=" -Wall -Wno-deprecated-declarations -Wno-address"

# Output result
AC_OUTPUT

# Print build configuration
AC_MSG_RESULT([
  $PACKAGE $VERSION

    CC:                     ${CC}
    CFLAGS:                 ${CFLAGS} ${OPTIMIZATIONS}
    CXX:                    ${CXX}
    CXXFLAGS:               ${CXXFLAGS} ${OPTIMIZATIONS}
    CPPFLAGS:               ${CPPFLAGS} ${coverage_CPPFLAGS}
    LDFLAGS:                ${LDFLAGS} ${coverage_LDFLAGS}

    prefix:                 ${prefix}
    sysconfdir:             ${sysconfdir}
    libdir:                 ${libdir}
    includedir:             ${includedir}
])

D examples/Makefile.am => examples/Makefile.am +0 -25
@@ 1,25 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = decoding encoding messages
\ No newline at end of file

D examples/decoding/Makefile.am => examples/decoding/Makefile.am +0 -59
@@ 1,59 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Example: decoding
# -----------------------------------------------------------------------------

# Build decoding example
bin_PROGRAMS = example
example_SOURCES = \
	example.c
nodist_example_SOURCES = \
	person.pb.c \
	person.pb.h
example_CFLAGS = \
	-g
example_LDADD = \
	@top_builddir@/src/libprotobluff.la

# -----------------------------------------------------------------------------
# Custom build rules
# -----------------------------------------------------------------------------

# Generate bindings before build
BUILT_SOURCES = \
	$(nodist_example_SOURCES)

# Clean generated bindings
CLEANFILES = \
	$(nodist_example_SOURCES)

# Don't install examples
install:
install-strip:

# -----------------------------------------------------------------------------
# Generate Protocol Buffers bindings
# -----------------------------------------------------------------------------

# Invoke protoc compiler on *.proto files
%.pb.c %.pb.h: %.proto
	@PROTOC@ --protobluff_out=. $?

D examples/encoding/Makefile.am => examples/encoding/Makefile.am +0 -59
@@ 1,59 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Example: encoding
# -----------------------------------------------------------------------------

# Build encoding example
bin_PROGRAMS = example
example_SOURCES = \
	example.c
nodist_example_SOURCES = \
	person.pb.c \
	person.pb.h
example_CFLAGS = \
	-g
example_LDADD = \
	@top_builddir@/src/libprotobluff.la

# -----------------------------------------------------------------------------
# Custom build rules
# -----------------------------------------------------------------------------

# Generate bindings before build
BUILT_SOURCES = \
	$(nodist_example_SOURCES)

# Clean generated bindings
CLEANFILES = \
	$(nodist_example_SOURCES)

# Don't install examples
install:
install-strip:

# -----------------------------------------------------------------------------
# Generate Protocol Buffers bindings
# -----------------------------------------------------------------------------

# Invoke protoc compiler on *.proto files
%.pb.c %.pb.h: %.proto
	@PROTOC@ --protobluff_out=. $?
\ No newline at end of file

D examples/messages/Makefile.am => examples/messages/Makefile.am +0 -59
@@ 1,59 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Example: messages
# -----------------------------------------------------------------------------

# Build messages example
bin_PROGRAMS = example
example_SOURCES = \
	example.c
nodist_example_SOURCES = \
	person.pb.c \
	person.pb.h
example_CFLAGS = \
	-g
example_LDADD = \
	@top_builddir@/src/libprotobluff.la

# -----------------------------------------------------------------------------
# Custom build rules
# -----------------------------------------------------------------------------

# Generate bindings before build
BUILT_SOURCES = \
	$(nodist_example_SOURCES)

# Clean generated bindings
CLEANFILES = \
	$(nodist_example_SOURCES)

# Don't install examples
install:
install-strip:

# -----------------------------------------------------------------------------
# Generate Protocol Buffers bindings
# -----------------------------------------------------------------------------

# Invoke protoc compiler on *.proto files
%.pb.c %.pb.h: %.proto
	@PROTOC@ --protobluff_out=. $?

D include/Makefile.am => include/Makefile.am +0 -50
@@ 1,50 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Public header files: libprotobluff
# -----------------------------------------------------------------------------

# Don't rebase libprotobluff public header files
nobase_include_HEADERS = \
	protobluff/core/allocator.h \
	protobluff/core/buffer.h \
	protobluff/core/common.h \
	protobluff/core/decoder.h \
	protobluff/core/descriptor.h \
	protobluff/core/encoder.h \
	protobluff/core/string.h \
	protobluff/core.h \
	protobluff/descriptor.h \
	protobluff/message/buffer.h \
	protobluff/message/common.h \
	protobluff/message/cursor.h \
	protobluff/message/field.h \
	protobluff/message/journal.h \
	protobluff/message/message.h \
	protobluff/message/nested.h \
	protobluff/message/oneof.h \
	protobluff/message/part.h \
	protobluff/message.h \
	protobluff/util/chunk_allocator.h \
	protobluff/util/descriptor.h \
	protobluff/util/validator.h \
	protobluff/util.h \
	protobluff.h

D src/Makefile.am => src/Makefile.am +0 -51
@@ 1,51 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = core message util generator

# -----------------------------------------------------------------------------
# Shared library: libprotobluff-lite
# -----------------------------------------------------------------------------

# Build libprotobluff-lite shared library
lib_LTLIBRARIES = libprotobluff-lite.la
libprotobluff_lite_la_SOURCES =
libprotobluff_lite_la_LIBADD = \
	@top_builddir@/src/core/libprotobluff-core.la
libprotobluff_lite_la_LDFLAGS = \
	-version-info @VERSION_INFO@

# -----------------------------------------------------------------------------
# Shared library: libprotobluff
# -----------------------------------------------------------------------------

# Build libprotobluff shared library
lib_LTLIBRARIES += libprotobluff.la
libprotobluff_la_SOURCES =
libprotobluff_la_LIBADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/util/libprotobluff-util.la \
	@top_builddir@/src/core/libprotobluff-core.la
libprotobluff_la_LDFLAGS = \
	-version-info @VERSION_INFO@

D src/core/Makefile.am => src/core/Makefile.am +0 -41
@@ 1,41 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Intermediary library: core
# -----------------------------------------------------------------------------

# Build core intermediary library
noinst_LTLIBRARIES = libprotobluff-core.la
libprotobluff_core_la_SOURCES = \
	allocator.c \
	buffer.c \
	decoder.c \
	descriptor.c \
	encoder.c \
	stream.c \
	varint.c
libprotobluff_core_la_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include \
	@OPTIMIZATIONS@ \
	@coverage_CPPFLAGS@
libprotobluff_core_la_LDFLAGS = \
	@coverage_LDFLAGS@

D src/generator/Makefile.am => src/generator/Makefile.am +0 -49
@@ 1,49 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Executable: protoc-gen-protobluff
# -----------------------------------------------------------------------------

if HAVE_PROTOBUF

# Build protoc-gen-protobluff executable
bin_PROGRAMS = protoc-gen-protobluff
protoc_gen_protobluff_SOURCES = \
	enum.cc \
	enum_value.cc \
	extension.cc \
	field.cc \
	file.cc \
	generator.cc \
	message.cc \
	oneof.cc \
	protoc-gen-protobluff.cc \
	strutil.cc
protoc_gen_protobluff_CXXFLAGS = \
	-Wno-sign-compare
protoc_gen_protobluff_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include \
	@OPTIMIZATIONS@
protoc_gen_protobluff_LDFLAGS = \
	@protobuf_LIBS@

endif # HAVE_PROTOBUF

D src/message/Makefile.am => src/message/Makefile.am +0 -43
@@ 1,43 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Intermediary library: message
# -----------------------------------------------------------------------------

# Build message intermediary library
noinst_LTLIBRARIES = libprotobluff-message.la
libprotobluff_message_la_SOURCES = \
	buffer.c \
	common.c \
	cursor.c \
	field.c \
	journal.c \
	message.c \
	nested.c \
	oneof.c \
	part.c
libprotobluff_message_la_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include \
	@OPTIMIZATIONS@ \
	@coverage_CPPFLAGS@
libprotobluff_message_la_LDFLAGS = \
	@coverage_LDFLAGS@

D src/util/Makefile.am => src/util/Makefile.am +0 -37
@@ 1,37 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Intermediary library: util
# -----------------------------------------------------------------------------

# Build util intermediary library
noinst_LTLIBRARIES = libprotobluff-util.la
libprotobluff_util_la_SOURCES = \
	chunk_allocator.c \
	descriptor.c \
	validator.c
libprotobluff_util_la_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include \
	@OPTIMIZATIONS@ \
	@coverage_CPPFLAGS@
libprotobluff_util_la_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/Makefile.am => tests/Makefile.am +0 -69
@@ 1,69 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = core message util

# -----------------------------------------------------------------------------
# Tests
# -----------------------------------------------------------------------------

# Add core tests
TESTS = \
	core/buffer/test \
	core/decoder/test \
	core/descriptor/test \
	core/encoder/test \
	core/stream/test \
	core/varint/test

# Add message tests
TESTS += \
	message/buffer/test \
	message/cursor/test \
	message/field/test \
	message/journal/test \
	message/message/test \
	message/nested/test \
	message/oneof/test \
	message/part/test

# Add util tests
TESTS += \
	util/chunk_allocator/test \
	util/descriptor/test \
	util/validator/test

# -----------------------------------------------------------------------------
# Coverage report
# -----------------------------------------------------------------------------

if HAVE_COVERAGE

# Reset execution counts
clean-local:
	@LCOV@ -z -d @top_builddir@/src
	rm -rf coverage
	rm -f  coverage.info

endif # HAVE_COVERAGE

D tests/core/Makefile.am => tests/core/Makefile.am +0 -25
@@ 1,25 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = buffer decoder descriptor encoder stream varint

D tests/core/buffer/Makefile.am => tests/core/buffer/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/buffer
# -----------------------------------------------------------------------------

# Build protobluff/core/buffer test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/core/decoder/Makefile.am => tests/core/decoder/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/decoder
# -----------------------------------------------------------------------------

# Build protobluff/core/decoder test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/core/descriptor/Makefile.am => tests/core/descriptor/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/descriptor
# -----------------------------------------------------------------------------

# Build protobluff/core/descriptor test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/core/encoder/Makefile.am => tests/core/encoder/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/encoder
# -----------------------------------------------------------------------------

# Build protobluff/core/encoder test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/core/stream/Makefile.am => tests/core/stream/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/stream
# -----------------------------------------------------------------------------

# Build protobluff/core/stream test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/core/varint/Makefile.am => tests/core/varint/Makefile.am +0 -38
@@ 1,38 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/core/varint
# -----------------------------------------------------------------------------

# Build protobluff/core/varint test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/Makefile.am => tests/message/Makefile.am +0 -25
@@ 1,25 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = buffer cursor field journal message nested oneof part

D tests/message/buffer/Makefile.am => tests/message/buffer/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/buffer
# -----------------------------------------------------------------------------

# Build protobluff/message/buffer test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/cursor/Makefile.am => tests/message/cursor/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/cursor
# -----------------------------------------------------------------------------

# Build protobluff/message/cursor test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/field/Makefile.am => tests/message/field/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/field
# -----------------------------------------------------------------------------

# Build protobluff/message/field test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/journal/Makefile.am => tests/message/journal/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/journal
# -----------------------------------------------------------------------------

# Build protobluff/message/journal test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/message/Makefile.am => tests/message/message/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/message
# -----------------------------------------------------------------------------

# Build protobluff/message/message test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/nested/Makefile.am => tests/message/nested/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/nested
# -----------------------------------------------------------------------------

# Build protobluff/message/nested test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/oneof/Makefile.am => tests/message/oneof/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/oneof
# -----------------------------------------------------------------------------

# Build protobluff/message/oneof test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/message/part/Makefile.am => tests/message/part/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/message/part
# -----------------------------------------------------------------------------

# Build protobluff/message/part test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/message/libprotobluff-message.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/util/Makefile.am => tests/util/Makefile.am +0 -25
@@ 1,25 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Subdirectories
# -----------------------------------------------------------------------------

SUBDIRS = chunk_allocator descriptor validator

D tests/util/chunk_allocator/Makefile.am => tests/util/chunk_allocator/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/util/chunk_allocator
# -----------------------------------------------------------------------------

# Build protobluff/util/chunk_allocator test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/util/libprotobluff-util.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/util/descriptor/Makefile.am => tests/util/descriptor/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/util/descriptor
# -----------------------------------------------------------------------------

# Build protobluff/util/descriptor test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/util/libprotobluff-util.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@

D tests/util/validator/Makefile.am => tests/util/validator/Makefile.am +0 -39
@@ 1,39 0,0 @@
# Copyright (c) 2013-2020 Martin Donath <martin.donath@squidfunk.com>

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.

# -----------------------------------------------------------------------------
# Test suite: protobluff/util/validator
# -----------------------------------------------------------------------------

# Build protobluff/util/validator test suite
check_PROGRAMS = test
test_SOURCES = \
	test.c
test_CFLAGS = \
	@check_CFLAGS@
test_CPPFLAGS = \
	-I@top_builddir@/src \
	-I@top_builddir@/include
test_LDADD = \
	@top_builddir@/src/util/libprotobluff-util.la \
	@top_builddir@/src/core/libprotobluff-core.la \
	@check_LIBS@
test_LDFLAGS = \
	@coverage_LDFLAGS@