THRIFT-2971 - C++ test and tutorial parallel build is unstable
diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am
index d0675cf..43c5975 100755
--- a/lib/cpp/test/Makefile.am
+++ b/lib/cpp/test/Makefile.am
@@ -18,6 +18,16 @@
#
AUTOMAKE_OPTIONS = subdir-objects serial-tests
+BUILT_SOURCES = gen-cpp/DebugProtoTest_types.h \
+ gen-cpp/EnumTest_types.h \
+ gen-cpp/OptionalRequiredTest_types.h \
+ gen-cpp/Recursive_types.h \
+ gen-cpp/ThriftTest_types.h \
+ gen-cpp/TypedefTest_types.h \
+ gen-cpp/ChildService.h \
+ gen-cpp/ParentService.h \
+ gen-cpp/proc_types.h
+
noinst_LTLIBRARIES = libtestgencpp.la libprocessortest.la
nodist_libtestgencpp_la_SOURCES = \
gen-cpp/DebugProtoTest_types.cpp \