THRIFT-2971 - C++ test and tutorial parallel build is unstable
diff --git a/test/cpp/Makefile.am b/test/cpp/Makefile.am
index 90aa563..7d57f5c 100755
--- a/test/cpp/Makefile.am
+++ b/test/cpp/Makefile.am
@@ -18,6 +18,13 @@
#
AUTOMAKE_OPTIONS = subdir-objects serial-tests
+BUILT_SOURCES = gen-cpp/ThriftTest.cpp \
+ gen-cpp/ThriftTest_types.cpp \
+ gen-cpp/ThriftTest_constants.cpp \
+ gen-cpp/StressTest_types.cpp \
+ gen-cpp/StressTest_constants.cpp \
+ gen-cpp/Service.cpp
+
noinst_LTLIBRARIES = libtestgencpp.la libstresstestgencpp.la
nodist_libtestgencpp_la_SOURCES = \
gen-cpp/ThriftTest_constants.cpp \