From 5a282f6c98039a278e1846a6bcdf9eb60cc52f23 Mon Sep 17 00:00:00 2001 From: Alex Helfet Date: Fri, 24 Mar 2017 18:02:22 +0000 Subject: [PATCH] Add extra files to Makefile.am. --- Makefile.am | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index d2ea63c..be2151b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -42,8 +42,7 @@ noinst_HEADERS += \ lib/capnp_priv.h \ compiler/str.h \ compiler/schema.capnp.h \ - compiler/c++.capnp.h \ - compiler/test.capnp.h + compiler/c++.capnp.h GTEST_LDADD = gtest/googletest/lib/libgtest.la gtest/googletest/lib/libgtest.la: @@ -51,6 +50,7 @@ gtest/googletest/lib/libgtest.la: GTEST_CPPFLAGS = -I${srcdir}/gtest/googletest/include DIST_SUBDIRS = gtest/googletest +# Tests check_PROGRAMS += \ capn-test capn_test_SOURCES = \ @@ -61,6 +61,11 @@ capn_test_SOURCES = \ compiler/test.capnp.c \ compiler/schema-test.cpp \ compiler/schema.capnp.c +noinst_HEADERS += \ + compiler/test.capnp.h \ + tests/example.capnp.h +EXTRA_DIST += \ + tests/example.capnp capn_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_CPPFLAGS) capn_test_CXXFLAGS = -std=gnu++11 -pthread capn_test_LDADD = libcapnp_c.la $(GTEST_LDADD)