David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 1 | # |
| 2 | # Licensed to the Apache Software Foundation (ASF) under one |
| 3 | # or more contributor license agreements. See the NOTICE file |
| 4 | # distributed with this work for additional information |
| 5 | # regarding copyright ownership. The ASF licenses this file |
| 6 | # to you under the Apache License, Version 2.0 (the |
| 7 | # "License"); you may not use this file except in compliance |
| 8 | # with the License. You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, |
| 13 | # software distributed under the License is distributed on an |
| 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | # KIND, either express or implied. See the License for the |
| 16 | # specific language governing permissions and limitations |
| 17 | # under the License. |
| 18 | # |
Roger Meier | 81a1f99 | 2014-10-22 14:09:43 +0200 | [diff] [blame] | 19 | AUTOMAKE_OPTIONS = subdir-objects serial-tests |
| 20 | |
Nobuaki Sukegawa | a0c5ab7 | 2015-02-01 00:27:12 +0900 | [diff] [blame] | 21 | BUILT_SOURCES = gen-cpp/DebugProtoTest_types.h \ |
| 22 | gen-cpp/EnumTest_types.h \ |
| 23 | gen-cpp/OptionalRequiredTest_types.h \ |
| 24 | gen-cpp/Recursive_types.h \ |
| 25 | gen-cpp/ThriftTest_types.h \ |
| 26 | gen-cpp/TypedefTest_types.h \ |
| 27 | gen-cpp/ChildService.h \ |
| 28 | gen-cpp/ParentService.h \ |
| 29 | gen-cpp/proc_types.h |
| 30 | |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 31 | noinst_LTLIBRARIES = libtestgencpp.la libprocessortest.la |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 32 | nodist_libtestgencpp_la_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 33 | gen-cpp/DebugProtoTest_types.cpp \ |
| 34 | gen-cpp/DebugProtoTest_types.h \ |
| 35 | gen-cpp/EnumTest_types.cpp \ |
| 36 | gen-cpp/EnumTest_types.h \ |
| 37 | gen-cpp/OptionalRequiredTest_types.cpp \ |
| 38 | gen-cpp/OptionalRequiredTest_types.h \ |
| 39 | gen-cpp/Recursive_types.cpp \ |
| 40 | gen-cpp/Recursive_types.h \ |
| 41 | gen-cpp/ThriftTest_types.cpp \ |
| 42 | gen-cpp/ThriftTest_types.h \ |
Roger Meier | a5bf1a1 | 2014-10-22 23:26:01 +0200 | [diff] [blame] | 43 | gen-cpp/ThriftTest_constants.cpp \ |
| 44 | gen-cpp/ThriftTest_constants.h \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 45 | gen-cpp/TypedefTest_types.cpp \ |
| 46 | gen-cpp/TypedefTest_types.h \ |
| 47 | ThriftTest_extras.cpp \ |
| 48 | DebugProtoTest_extras.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 49 | |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 50 | nodist_libprocessortest_la_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 51 | gen-cpp/ChildService.cpp \ |
| 52 | gen-cpp/ChildService.h \ |
| 53 | gen-cpp/ParentService.cpp \ |
| 54 | gen-cpp/ParentService.h \ |
| 55 | gen-cpp/proc_types.cpp \ |
| 56 | gen-cpp/proc_types.h |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 57 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 58 | ThriftTest_extras.o: gen-cpp/ThriftTest_types.h |
| 59 | DebugProtoTest_extras.o: gen-cpp/DebugProtoTest_types.h |
| 60 | |
| 61 | libtestgencpp_la_LIBADD = $(top_builddir)/lib/cpp/libthrift.la |
| 62 | |
Roger Meier | a5bf1a1 | 2014-10-22 23:26:01 +0200 | [diff] [blame] | 63 | noinst_PROGRAMS = Benchmark \ |
Roger Meier | a5bf1a1 | 2014-10-22 23:26:01 +0200 | [diff] [blame] | 64 | concurrency_test |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 65 | |
| 66 | Benchmark_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 67 | Benchmark.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 68 | |
| 69 | Benchmark_LDADD = libtestgencpp.la |
| 70 | |
| 71 | check_PROGRAMS = \ |
Roger Meier | 0114455 | 2015-04-04 16:14:08 +0200 | [diff] [blame] | 72 | UnitTests \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 73 | TFDTransportTest \ |
| 74 | TPipedTransportTest \ |
| 75 | DebugProtoTest \ |
| 76 | JSONProtoTest \ |
| 77 | OptionalRequiredTest \ |
| 78 | RecursiveTest \ |
| 79 | SpecializationTest \ |
| 80 | AllProtocolsTest \ |
| 81 | TransportTest \ |
| 82 | ZlibTest \ |
| 83 | TFileTransportTest \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 84 | link_test \ |
| 85 | OpenSSLManualInitTest \ |
| 86 | EnumTest |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 87 | |
Jens Geyer | 4461a2f | 2014-12-23 18:22:54 +0100 | [diff] [blame] | 88 | if AMX_HAVE_LIBEVENT |
Nobuaki Sukegawa | 208738a | 2015-02-01 00:27:22 +0900 | [diff] [blame] | 89 | noinst_PROGRAMS += \ |
Jens Geyer | 4461a2f | 2014-12-23 18:22:54 +0100 | [diff] [blame] | 90 | processor_test |
| 91 | check_PROGRAMS += \ |
| 92 | TNonblockingServerTest |
| 93 | endif |
| 94 | |
Roger Meier | 9e0f074 | 2011-08-03 17:36:55 +0000 | [diff] [blame] | 95 | TESTS_ENVIRONMENT= \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 96 | BOOST_TEST_LOG_SINK=tests.xml \ |
| 97 | BOOST_TEST_LOG_LEVEL=test_suite \ |
| 98 | BOOST_TEST_LOG_FORMAT=xml |
Roger Meier | 9e0f074 | 2011-08-03 17:36:55 +0000 | [diff] [blame] | 99 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 100 | TESTS = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 101 | $(check_PROGRAMS) |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 102 | |
| 103 | UnitTests_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 104 | UnitTestMain.cpp \ |
| 105 | TMemoryBufferTest.cpp \ |
| 106 | TBufferBaseTest.cpp \ |
| 107 | Base64Test.cpp \ |
| 108 | ToStringTest.cpp \ |
Roger Meier | 0114455 | 2015-04-04 16:14:08 +0200 | [diff] [blame] | 109 | TypedefTest.cpp \ |
| 110 | TServerSocketTest.cpp |
Roger Meier | 12d7053 | 2011-12-14 23:35:28 +0000 | [diff] [blame] | 111 | |
| 112 | if !WITH_BOOSTTHREADS |
| 113 | UnitTests_SOURCES += \ |
Roger Meier | 3fc4819 | 2011-12-11 21:05:35 +0000 | [diff] [blame] | 114 | RWMutexStarveTest.cpp |
Roger Meier | 12d7053 | 2011-12-14 23:35:28 +0000 | [diff] [blame] | 115 | endif |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 116 | |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 117 | UnitTests_LDADD = \ |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 118 | libtestgencpp.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 119 | $(BOOST_TEST_LDADD) |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 120 | |
David Reiss | 35dc769 | 2010-10-06 17:10:19 +0000 | [diff] [blame] | 121 | TransportTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 122 | TransportTest.cpp |
David Reiss | 35dc769 | 2010-10-06 17:10:19 +0000 | [diff] [blame] | 123 | |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 124 | TransportTest_LDADD = \ |
| 125 | libtestgencpp.la \ |
| 126 | $(top_builddir)/lib/cpp/libthriftz.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 127 | $(BOOST_TEST_LDADD) \ |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 128 | -lz |
David Reiss | 35dc769 | 2010-10-06 17:10:19 +0000 | [diff] [blame] | 129 | |
David Reiss | 9a961e7 | 2010-10-06 17:10:23 +0000 | [diff] [blame] | 130 | ZlibTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 131 | ZlibTest.cpp |
David Reiss | 9a961e7 | 2010-10-06 17:10:23 +0000 | [diff] [blame] | 132 | |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 133 | ZlibTest_LDADD = \ |
| 134 | libtestgencpp.la \ |
| 135 | $(top_builddir)/lib/cpp/libthriftz.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 136 | $(BOOST_TEST_LDADD) \ |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 137 | -lz |
David Reiss | 9a961e7 | 2010-10-06 17:10:23 +0000 | [diff] [blame] | 138 | |
Jens Geyer | ae0b22c | 2014-09-04 23:04:21 +0200 | [diff] [blame] | 139 | EnumTest_SOURCES = \ |
| 140 | EnumTest.cpp |
| 141 | |
| 142 | EnumTest_LDADD = \ |
| 143 | libtestgencpp.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 144 | $(BOOST_TEST_LDADD) |
Jens Geyer | ae0b22c | 2014-09-04 23:04:21 +0200 | [diff] [blame] | 145 | |
David Reiss | 709b69f | 2010-10-06 17:10:30 +0000 | [diff] [blame] | 146 | TFileTransportTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 147 | TFileTransportTest.cpp |
David Reiss | 709b69f | 2010-10-06 17:10:30 +0000 | [diff] [blame] | 148 | |
Christian Lavoie | 4f42ef7 | 2010-11-04 18:51:42 +0000 | [diff] [blame] | 149 | TFileTransportTest_LDADD = \ |
| 150 | libtestgencpp.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 151 | $(BOOST_TEST_LDADD) |
David Reiss | 709b69f | 2010-10-06 17:10:30 +0000 | [diff] [blame] | 152 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 153 | # |
| 154 | # TFDTransportTest |
| 155 | # |
| 156 | TFDTransportTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 157 | TFDTransportTest.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 158 | |
| 159 | TFDTransportTest_LDADD = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 160 | $(top_builddir)/lib/cpp/libthrift.la |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 161 | |
| 162 | |
| 163 | # |
| 164 | # TPipedTransportTest |
| 165 | # |
| 166 | TPipedTransportTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 167 | TPipedTransportTest.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 168 | |
| 169 | TPipedTransportTest_LDADD = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 170 | $(top_builddir)/lib/cpp/libthrift.la |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 171 | |
| 172 | # |
| 173 | # AllProtocolsTest |
| 174 | # |
| 175 | AllProtocolsTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 176 | AllProtocolTests.cpp \ |
| 177 | AllProtocolTests.tcc \ |
| 178 | GenericHelpers.h |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 179 | |
| 180 | AllProtocolsTest_LDADD = libtestgencpp.la |
| 181 | |
| 182 | # |
| 183 | # DebugProtoTest |
| 184 | # |
| 185 | DebugProtoTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 186 | DebugProtoTest.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 187 | |
| 188 | DebugProtoTest_LDADD = libtestgencpp.la |
| 189 | |
| 190 | |
| 191 | # |
| 192 | # JSONProtoTest |
| 193 | # |
| 194 | JSONProtoTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 195 | JSONProtoTest.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 196 | |
| 197 | JSONProtoTest_LDADD = libtestgencpp.la |
| 198 | |
| 199 | # |
Nobuaki Sukegawa | d0d7a65 | 2014-12-07 21:36:51 +0900 | [diff] [blame] | 200 | # TNonblockingServerTest |
| 201 | # |
| 202 | TNonblockingServerTest_SOURCES = TNonblockingServerTest.cpp |
| 203 | |
| 204 | TNonblockingServerTest_LDADD = libprocessortest.la \ |
| 205 | $(top_builddir)/lib/cpp/libthrift.la \ |
| 206 | $(top_builddir)/lib/cpp/libthriftnb.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 207 | $(BOOST_TEST_LDADD) \ |
Nobuaki Sukegawa | d0d7a65 | 2014-12-07 21:36:51 +0900 | [diff] [blame] | 208 | $(BOOST_LDFLAGS) \ |
Jens Geyer | 4461a2f | 2014-12-23 18:22:54 +0100 | [diff] [blame] | 209 | $(LIBEVENT_LIBS) |
Nobuaki Sukegawa | d0d7a65 | 2014-12-07 21:36:51 +0900 | [diff] [blame] | 210 | |
| 211 | # |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 212 | # OptionalRequiredTest |
| 213 | # |
| 214 | OptionalRequiredTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 215 | OptionalRequiredTest.cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 216 | |
| 217 | OptionalRequiredTest_LDADD = libtestgencpp.la |
| 218 | |
David Reiss | e71115b | 2010-10-06 17:09:56 +0000 | [diff] [blame] | 219 | # |
jfarrell | e0e8316 | 2014-04-08 22:45:01 -0400 | [diff] [blame] | 220 | # OptionalRequiredTest |
| 221 | # |
| 222 | RecursiveTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 223 | RecursiveTest.cpp |
jfarrell | e0e8316 | 2014-04-08 22:45:01 -0400 | [diff] [blame] | 224 | |
| 225 | RecursiveTest_LDADD = libtestgencpp.la |
| 226 | |
| 227 | # |
David Reiss | e71115b | 2010-10-06 17:09:56 +0000 | [diff] [blame] | 228 | # SpecializationTest |
| 229 | # |
| 230 | SpecializationTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 231 | SpecializationTest.cpp |
David Reiss | e71115b | 2010-10-06 17:09:56 +0000 | [diff] [blame] | 232 | |
| 233 | SpecializationTest_LDADD = libtestgencpp.la |
| 234 | |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 235 | concurrency_test_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 236 | concurrency/Tests.cpp \ |
| 237 | concurrency/ThreadFactoryTests.h \ |
| 238 | concurrency/ThreadManagerTests.h \ |
| 239 | concurrency/TimerManagerTests.h |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 240 | |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 241 | concurrency_test_LDADD = \ |
| 242 | $(top_builddir)/lib/cpp/libthrift.la |
| 243 | |
Roger Meier | 63fcb7e | 2014-06-15 21:48:59 +0200 | [diff] [blame] | 244 | link_test_SOURCES = \ |
| 245 | link/LinkTest.cpp \ |
| 246 | link/TemplatedService1.cpp \ |
| 247 | link/TemplatedService2.cpp |
| 248 | |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 249 | processor_test_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 250 | processor/ProcessorTest.cpp \ |
| 251 | processor/EventLog.cpp \ |
| 252 | processor/ServerThread.cpp \ |
| 253 | processor/EventLog.h \ |
| 254 | processor/Handlers.h \ |
| 255 | processor/ServerThread.h |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 256 | |
| 257 | processor_test_LDADD = libprocessortest.la \ |
| 258 | $(top_builddir)/lib/cpp/libthrift.la \ |
| 259 | $(top_builddir)/lib/cpp/libthriftnb.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 260 | $(BOOST_TEST_LDADD) \ |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 261 | $(BOOST_LDFLAGS) \ |
Jens Geyer | 4461a2f | 2014-12-23 18:22:54 +0100 | [diff] [blame] | 262 | $(LIBEVENT_LIBS) |
Alan Dunn | bee7b73 | 2014-07-26 13:48:43 -0500 | [diff] [blame] | 263 | |
| 264 | OpenSSLManualInitTest_SOURCES = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 265 | OpenSSLManualInitTest.cpp |
Alan Dunn | bee7b73 | 2014-07-26 13:48:43 -0500 | [diff] [blame] | 266 | |
| 267 | OpenSSLManualInitTest_LDADD = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 268 | $(top_builddir)/lib/cpp/libthrift.la \ |
Konrad Grochowski | ec8d877 | 2014-12-20 12:19:00 +0100 | [diff] [blame] | 269 | $(BOOST_TEST_LDADD) |
Alan Dunn | bee7b73 | 2014-07-26 13:48:43 -0500 | [diff] [blame] | 270 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 271 | # |
| 272 | # Common thrift code generation rules |
| 273 | # |
| 274 | THRIFT = $(top_builddir)/compiler/cpp/thrift |
| 275 | |
| 276 | gen-cpp/DebugProtoTest_types.cpp gen-cpp/DebugProtoTest_types.h: $(top_srcdir)/test/DebugProtoTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 277 | $(THRIFT) --gen cpp:dense $< |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 278 | |
Jens Geyer | ae0b22c | 2014-09-04 23:04:21 +0200 | [diff] [blame] | 279 | gen-cpp/EnumTest_types.cpp gen-cpp/EnumTest_types.h: $(top_srcdir)/test/EnumTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 280 | $(THRIFT) --gen cpp $< |
Jens Geyer | ae0b22c | 2014-09-04 23:04:21 +0200 | [diff] [blame] | 281 | |
Jens Geyer | 089bcd3 | 2014-09-11 22:36:41 +0200 | [diff] [blame] | 282 | gen-cpp/TypedefTest_types.cpp gen-cpp/TypedefTest_types.h: $(top_srcdir)/test/TypedefTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 283 | $(THRIFT) --gen cpp $< |
Jens Geyer | 089bcd3 | 2014-09-11 22:36:41 +0200 | [diff] [blame] | 284 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 285 | gen-cpp/OptionalRequiredTest_types.cpp gen-cpp/OptionalRequiredTest_types.h: $(top_srcdir)/test/OptionalRequiredTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 286 | $(THRIFT) --gen cpp:dense $< |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 287 | |
jfarrell | e0e8316 | 2014-04-08 22:45:01 -0400 | [diff] [blame] | 288 | gen-cpp/Recursive_types.cpp gen-cpp/Recursive_types.h: $(top_srcdir)/test/Recursive.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 289 | $(THRIFT) --gen cpp $< |
jfarrell | e0e8316 | 2014-04-08 22:45:01 -0400 | [diff] [blame] | 290 | |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 291 | gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: $(top_srcdir)/test/StressTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 292 | $(THRIFT) --gen cpp:dense $< |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 293 | |
| 294 | gen-cpp/SecondService.cpp gen-cpp/ThriftTest_constants.cpp gen-cpp/ThriftTest.cpp gen-cpp/ThriftTest_types.cpp gen-cpp/ThriftTest_types.h: $(top_srcdir)/test/ThriftTest.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 295 | $(THRIFT) --gen cpp:dense $< |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 296 | |
Roger Meier | 6f28c04 | 2014-11-01 20:31:44 +0100 | [diff] [blame] | 297 | gen-cpp/ChildService.cpp gen-cpp/ChildService.h gen-cpp/ParentService.cpp gen-cpp/ParentService.h gen-cpp/proc_types.cpp gen-cpp/proc_types.h: processor/proc.thrift |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 298 | $(THRIFT) --gen cpp:templates,cob_style $< |
Roger Meier | 2b1a528 | 2012-05-11 10:12:39 +0000 | [diff] [blame] | 299 | |
Konrad Grochowski | 1ff4a97 | 2014-09-19 23:57:57 +0200 | [diff] [blame] | 300 | AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir)/lib/cpp/src |
Roger Meier | 3831578 | 2011-11-06 11:29:41 +0000 | [diff] [blame] | 301 | AM_LDFLAGS = $(BOOST_LDFLAGS) |
Roger Meier | cb0754d | 2014-10-21 21:28:04 +0200 | [diff] [blame] | 302 | AM_CXXFLAGS = -Wall -Wextra -pedantic |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 303 | |
| 304 | clean-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 305 | $(RM) -r gen-cpp |
David Reiss | 351e22b | 2010-08-31 16:51:19 +0000 | [diff] [blame] | 306 | |
| 307 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 308 | DenseProtoTest.cpp \ |
| 309 | ThriftTest_extras.cpp \ |
| 310 | DebugProtoTest_extras.cpp \ |
| 311 | concurrency \ |
| 312 | processor |