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.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756353 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2009-03-20 07:14:50 +00:00
parent ade070ffdf
commit f2422b6067

View File

@ -20,6 +20,9 @@ libtestgencpp_la_SOURCES = \
ThriftTest_extras.cpp \ ThriftTest_extras.cpp \
DebugProtoTest_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 libtestgencpp_la_LIBADD = $(top_builddir)/lib/cpp/libthrift.la
noinst_PROGRAMS = Benchmark noinst_PROGRAMS = Benchmark