Fix a parallel build bug under test
authorDavid Reiss <dreiss@apache.org>
Fri, 20 Mar 2009 07:14:50 +0000 (07:14 +0000)
committerDavid Reiss <dreiss@apache.org>
Fri, 20 Mar 2009 07:14:50 +0000 (07:14 +0000)
The "_extras.cpp" files depend on the appropriate ".h" files,
but that dependency is not listed in the Makefile, and cannot
be determined automatically by automake because the .h files
are generated.  Add explicit dependencies so "make -j8 check"
works.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756353 13f79535-47bb-0310-9956-ffa450edef68

test/Makefile.am

index b1092d5..1a2884e 100644 (file)
@@ -20,6 +20,9 @@ libtestgencpp_la_SOURCES = \
        ThriftTest_extras.cpp \
        DebugProtoTest_extras.cpp
 
+ThriftTest_extras.o: gen-cpp/ThriftTest_types.h
+DebugProtoTest_extras.o: gen-cpp/DebugProtoTest_types.h
+
 libtestgencpp_la_LIBADD = $(top_builddir)/lib/cpp/libthrift.la
 
 noinst_PROGRAMS = Benchmark