Author: dreiss
Date: Fri Mar 20 07:14:50 2009
New Revision: 756353

URL: http://svn.apache.org/viewvc?rev=756353&view=rev
Log:
Fix a parallel build bug under test

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.

Modified:
    incubator/thrift/trunk/test/Makefile.am

Modified: incubator/thrift/trunk/test/Makefile.am
URL: 
http://svn.apache.org/viewvc/incubator/thrift/trunk/test/Makefile.am?rev=756353&r1=756352&r2=756353&view=diff
==============================================================================
--- incubator/thrift/trunk/test/Makefile.am (original)
+++ incubator/thrift/trunk/test/Makefile.am Fri Mar 20 07:14:50 2009
@@ -20,6 +20,9 @@
        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


Reply via email to