David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 1 | SUBDIRS = py |
| 2 | |
David Reiss | 8180c0c | 2008-02-04 21:14:14 +0000 | [diff] [blame] | 3 | check_PROGRAMS = \ |
| 4 | DebugProtoTest \ |
David Reiss | db0ea15 | 2008-02-18 01:49:37 +0000 | [diff] [blame^] | 5 | JSONProtoTest \ |
David Reiss | 8180c0c | 2008-02-04 21:14:14 +0000 | [diff] [blame] | 6 | OptionalRequiredTest \ |
| 7 | ReflectionTest |
| 8 | |
| 9 | TESTS = \ |
| 10 | $(check_PROGRAMS) |
| 11 | |
| 12 | |
| 13 | # |
| 14 | # DebugProtoTest |
| 15 | # |
| 16 | DebugProtoTest_SOURCES = \ |
| 17 | gen-cpp/DebugProtoTest_types.cpp \ |
| 18 | DebugProtoTest.cpp |
| 19 | |
| 20 | DebugProtoTest_LDADD = \ |
| 21 | $(top_srcdir)/lib/cpp/libthrift.la |
| 22 | |
| 23 | |
| 24 | # |
David Reiss | db0ea15 | 2008-02-18 01:49:37 +0000 | [diff] [blame^] | 25 | # JSONProtoTest |
| 26 | # |
| 27 | JSONProtoTest_SOURCES = \ |
| 28 | gen-cpp/DebugProtoTest_types.cpp \ |
| 29 | JSONProtoTest.cpp |
| 30 | |
| 31 | JSONProtoTest_LDADD = \ |
| 32 | $(top_srcdir)/lib/cpp/libthrift.la |
| 33 | |
| 34 | # |
David Reiss | 8180c0c | 2008-02-04 21:14:14 +0000 | [diff] [blame] | 35 | # OptionalRequiredTest |
| 36 | # |
| 37 | OptionalRequiredTest_SOURCES = \ |
| 38 | gen-cpp/OptionalRequiredTest_types.cpp \ |
| 39 | OptionalRequiredTest.cpp |
| 40 | |
| 41 | OptionalRequiredTest_LDADD = \ |
| 42 | $(top_srcdir)/lib/cpp/libthrift.la |
| 43 | |
| 44 | |
| 45 | # |
| 46 | # ReflectionTest |
| 47 | # |
| 48 | ReflectionTest_SOURCES = \ |
| 49 | gen-cpp/DebugProtoTest_types.cpp \ |
| 50 | gen-cpp/PartiallyReflectable.cpp \ |
| 51 | gen-cpp/Service.cpp \ |
| 52 | gen-cpp/StressTest_types.cpp \ |
| 53 | ReflectionTest.cpp |
| 54 | |
| 55 | ReflectionTest_LDADD = \ |
| 56 | $(top_srcdir)/lib/cpp/libthrift.la |
| 57 | |
| 58 | |
| 59 | # |
| 60 | # Common thrift code generation rules |
| 61 | # |
| 62 | THRIFT = $(top_srcdir)/compiler/cpp/thrift |
| 63 | |
| 64 | gen-cpp/DebugProtoTest_types.cpp gen-cpp/PartiallyReflectable.cpp: DebugProtoTest.thrift |
| 65 | $(THRIFT) -cpp $< |
| 66 | |
| 67 | gen-cpp/OptionalRequiredTest_types.cpp: OptionalRequiredTest.thrift |
| 68 | $(THRIFT) -cpp $< |
| 69 | |
| 70 | gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: StressTest.thrift |
| 71 | $(THRIFT) -cpp $< |
| 72 | |
| 73 | |
| 74 | INCLUDES = \ |
| 75 | -I$(top_srcdir)/lib/cpp/src |
| 76 | |
| 77 | AM_CPPFLAGS = $(BOOST_CPPFLAGS) |
| 78 | |
| 79 | clean-local: |
| 80 | rm -rf gen-cpp |