blob: d387297dfcea82b55eaa308451dfff2a8fbf726e [file] [log] [blame]
David Reiss351e22b2010-08-31 16:51:19 +00001#
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 Meier81a1f992014-10-22 14:09:43 +020019AUTOMAKE_OPTIONS = subdir-objects serial-tests
20
James E. King, IIIb4c190b2017-02-13 16:39:59 -050021BUILT_SOURCES = gen-cpp/AnnotationTest_types.h \
22 gen-cpp/DebugProtoTest_types.h \
Nobuaki Sukegawaa0c5ab72015-02-01 00:27:12 +090023 gen-cpp/EnumTest_types.h \
24 gen-cpp/OptionalRequiredTest_types.h \
25 gen-cpp/Recursive_types.h \
26 gen-cpp/ThriftTest_types.h \
27 gen-cpp/TypedefTest_types.h \
28 gen-cpp/ChildService.h \
Ben Craig1684c422015-04-24 08:52:44 -050029 gen-cpp/EmptyService.h \
Nobuaki Sukegawaa0c5ab72015-02-01 00:27:12 +090030 gen-cpp/ParentService.h \
31 gen-cpp/proc_types.h
32
Roger Meier2b1a5282012-05-11 10:12:39 +000033noinst_LTLIBRARIES = libtestgencpp.la libprocessortest.la
David Reiss351e22b2010-08-31 16:51:19 +000034nodist_libtestgencpp_la_SOURCES = \
James E. King, IIIb4c190b2017-02-13 16:39:59 -050035 gen-cpp/AnnotationTest_types.cpp \
36 gen-cpp/AnnotationTest_types.h \
Jens Geyer79f988c2014-10-03 20:42:54 +020037 gen-cpp/DebugProtoTest_types.cpp \
38 gen-cpp/DebugProtoTest_types.h \
39 gen-cpp/EnumTest_types.cpp \
40 gen-cpp/EnumTest_types.h \
41 gen-cpp/OptionalRequiredTest_types.cpp \
42 gen-cpp/OptionalRequiredTest_types.h \
43 gen-cpp/Recursive_types.cpp \
44 gen-cpp/Recursive_types.h \
45 gen-cpp/ThriftTest_types.cpp \
46 gen-cpp/ThriftTest_types.h \
Roger Meiera5bf1a12014-10-22 23:26:01 +020047 gen-cpp/ThriftTest_constants.cpp \
48 gen-cpp/ThriftTest_constants.h \
Jens Geyer79f988c2014-10-03 20:42:54 +020049 gen-cpp/TypedefTest_types.cpp \
50 gen-cpp/TypedefTest_types.h \
51 ThriftTest_extras.cpp \
52 DebugProtoTest_extras.cpp
David Reiss351e22b2010-08-31 16:51:19 +000053
Roger Meier2b1a5282012-05-11 10:12:39 +000054nodist_libprocessortest_la_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020055 gen-cpp/ChildService.cpp \
56 gen-cpp/ChildService.h \
Ben Craig1684c422015-04-24 08:52:44 -050057 gen-cpp/EmptyService.cpp \
58 gen-cpp/EmptyService.h \
Jens Geyer79f988c2014-10-03 20:42:54 +020059 gen-cpp/ParentService.cpp \
60 gen-cpp/ParentService.h \
61 gen-cpp/proc_types.cpp \
62 gen-cpp/proc_types.h
Roger Meier2b1a5282012-05-11 10:12:39 +000063
David Reiss351e22b2010-08-31 16:51:19 +000064ThriftTest_extras.o: gen-cpp/ThriftTest_types.h
65DebugProtoTest_extras.o: gen-cpp/DebugProtoTest_types.h
66
67libtestgencpp_la_LIBADD = $(top_builddir)/lib/cpp/libthrift.la
68
Roger Meiera5bf1a12014-10-22 23:26:01 +020069noinst_PROGRAMS = Benchmark \
Roger Meiera5bf1a12014-10-22 23:26:01 +020070 concurrency_test
David Reiss351e22b2010-08-31 16:51:19 +000071
72Benchmark_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +020073 Benchmark.cpp
David Reiss351e22b2010-08-31 16:51:19 +000074
75Benchmark_LDADD = libtestgencpp.la
76
77check_PROGRAMS = \
Roger Meier01144552015-04-04 16:14:08 +020078 UnitTests \
Jens Geyer79f988c2014-10-03 20:42:54 +020079 TFDTransportTest \
80 TPipedTransportTest \
81 DebugProtoTest \
82 JSONProtoTest \
83 OptionalRequiredTest \
84 RecursiveTest \
85 SpecializationTest \
86 AllProtocolsTest \
87 TransportTest \
ben-craigaf2d9c82015-07-16 08:11:21 -050088 TInterruptTest \
Ben Craig1684c422015-04-24 08:52:44 -050089 TServerIntegrationTest \
Jim Kingb0b710a2015-07-28 13:31:27 -040090 SecurityTest \
Jens Geyer79f988c2014-10-03 20:42:54 +020091 ZlibTest \
92 TFileTransportTest \
Jens Geyer79f988c2014-10-03 20:42:54 +020093 link_test \
94 OpenSSLManualInitTest \
James E. King, IIIb4c190b2017-02-13 16:39:59 -050095 EnumTest \
96 AnnotationTest
David Reiss351e22b2010-08-31 16:51:19 +000097
Jens Geyer4461a2f2014-12-23 18:22:54 +010098if AMX_HAVE_LIBEVENT
Nobuaki Sukegawa208738a2015-02-01 00:27:22 +090099noinst_PROGRAMS += \
Jens Geyer4461a2f2014-12-23 18:22:54 +0100100 processor_test
101check_PROGRAMS += \
102 TNonblockingServerTest
103endif
104
Roger Meier9e0f0742011-08-03 17:36:55 +0000105TESTS_ENVIRONMENT= \
Jens Geyer79f988c2014-10-03 20:42:54 +0200106 BOOST_TEST_LOG_SINK=tests.xml \
107 BOOST_TEST_LOG_LEVEL=test_suite \
Nobuaki Sukegawa3d600bf2016-01-23 22:45:20 +0900108 BOOST_TEST_LOG_FORMAT=XML
Roger Meier9e0f0742011-08-03 17:36:55 +0000109
David Reiss351e22b2010-08-31 16:51:19 +0000110TESTS = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200111 $(check_PROGRAMS)
David Reiss351e22b2010-08-31 16:51:19 +0000112
113UnitTests_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200114 UnitTestMain.cpp \
115 TMemoryBufferTest.cpp \
116 TBufferBaseTest.cpp \
117 Base64Test.cpp \
118 ToStringTest.cpp \
Roger Meier01144552015-04-04 16:14:08 +0200119 TypedefTest.cpp \
Ben Craig1684c422015-04-24 08:52:44 -0500120 TServerSocketTest.cpp \
jfarrellf13e4312015-08-25 00:39:29 -0400121 TServerTransportTest.cpp \
jfarrellf13e4312015-08-25 00:39:29 -0400122 TTransportCheckThrow.h
Roger Meier12d70532011-12-14 23:35:28 +0000123
124if !WITH_BOOSTTHREADS
125UnitTests_SOURCES += \
Ben Craig1684c422015-04-24 08:52:44 -0500126 RWMutexStarveTest.cpp
Roger Meier12d70532011-12-14 23:35:28 +0000127endif
David Reiss351e22b2010-08-31 16:51:19 +0000128
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000129UnitTests_LDADD = \
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000130 libtestgencpp.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100131 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000132
ben-craigaf2d9c82015-07-16 08:11:21 -0500133TInterruptTest_SOURCES = \
Martin Haimberger0ad6ee92015-11-13 03:18:50 -0800134 TSocketInterruptTest.cpp \
135 TSSLSocketInterruptTest.cpp
Ben Craig1684c422015-04-24 08:52:44 -0500136
ben-craigaf2d9c82015-07-16 08:11:21 -0500137TInterruptTest_LDADD = \
Ben Craig1684c422015-04-24 08:52:44 -0500138 libtestgencpp.la \
139 $(BOOST_TEST_LDADD) \
Martin Haimberger0ad6ee92015-11-13 03:18:50 -0800140 $(BOOST_FILESYSTEM_LDADD) \
Ben Craig1684c422015-04-24 08:52:44 -0500141 $(BOOST_CHRONO_LDADD) \
142 $(BOOST_SYSTEM_LDADD) \
143 $(BOOST_THREAD_LDADD)
144
145TServerIntegrationTest_SOURCES = \
146 TServerIntegrationTest.cpp
147
148TServerIntegrationTest_LDADD = \
149 libtestgencpp.la \
150 libprocessortest.la \
151 $(BOOST_TEST_LDADD) \
152 $(BOOST_SYSTEM_LDADD) \
153 $(BOOST_THREAD_LDADD)
154
Jim Kingb0b710a2015-07-28 13:31:27 -0400155SecurityTest_SOURCES = \
156 SecurityTest.cpp
157
158SecurityTest_LDADD = \
159 libtestgencpp.la \
160 libprocessortest.la \
161 $(BOOST_TEST_LDADD) \
162 $(BOOST_FILESYSTEM_LDADD) \
163 $(BOOST_SYSTEM_LDADD) \
164 $(BOOST_THREAD_LDADD)
165
David Reiss35dc7692010-10-06 17:10:19 +0000166TransportTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200167 TransportTest.cpp
David Reiss35dc7692010-10-06 17:10:19 +0000168
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000169TransportTest_LDADD = \
170 libtestgencpp.la \
171 $(top_builddir)/lib/cpp/libthriftz.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100172 $(BOOST_TEST_LDADD) \
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000173 -lz
David Reiss35dc7692010-10-06 17:10:19 +0000174
David Reiss9a961e72010-10-06 17:10:23 +0000175ZlibTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200176 ZlibTest.cpp
David Reiss9a961e72010-10-06 17:10:23 +0000177
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000178ZlibTest_LDADD = \
179 libtestgencpp.la \
180 $(top_builddir)/lib/cpp/libthriftz.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100181 $(BOOST_TEST_LDADD) \
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000182 -lz
David Reiss9a961e72010-10-06 17:10:23 +0000183
Jens Geyerae0b22c2014-09-04 23:04:21 +0200184EnumTest_SOURCES = \
James E. King, IIIb4c190b2017-02-13 16:39:59 -0500185 EnumTest.cpp
Jens Geyerae0b22c2014-09-04 23:04:21 +0200186
187EnumTest_LDADD = \
188 libtestgencpp.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100189 $(BOOST_TEST_LDADD)
Jens Geyerae0b22c2014-09-04 23:04:21 +0200190
James E. King, IIIb4c190b2017-02-13 16:39:59 -0500191AnnotationTest_SOURCES = \
192 AnnotationTest.cpp
193
194AnnotationTest_LDADD = \
195 libtestgencpp.la \
196 $(BOOST_TEST_LDADD)
197
David Reiss709b69f2010-10-06 17:10:30 +0000198TFileTransportTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200199 TFileTransportTest.cpp
David Reiss709b69f2010-10-06 17:10:30 +0000200
Christian Lavoie4f42ef72010-11-04 18:51:42 +0000201TFileTransportTest_LDADD = \
202 libtestgencpp.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100203 $(BOOST_TEST_LDADD)
David Reiss709b69f2010-10-06 17:10:30 +0000204
David Reiss351e22b2010-08-31 16:51:19 +0000205#
206# TFDTransportTest
207#
208TFDTransportTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200209 TFDTransportTest.cpp
David Reiss351e22b2010-08-31 16:51:19 +0000210
Claudius Heine5ef662b2015-06-24 10:03:50 +0200211TFDTransportTest_LDADD = \
212 $(top_builddir)/lib/cpp/libthrift.la \
213 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000214
215
216#
217# TPipedTransportTest
218#
219TPipedTransportTest_SOURCES = \
jfarrellf13e4312015-08-25 00:39:29 -0400220 TPipedTransportTest.cpp \
221 TPipeInterruptTest.cpp
David Reiss351e22b2010-08-31 16:51:19 +0000222
223TPipedTransportTest_LDADD = \
jfarrelle2e5e222015-08-25 14:59:40 -0400224 libtestgencpp.la \
Claudius Heine5ef662b2015-06-24 10:03:50 +0200225 $(top_builddir)/lib/cpp/libthrift.la \
jfarrelle2e5e222015-08-25 14:59:40 -0400226 $(BOOST_TEST_LDADD) \
227 $(BOOST_SYSTEM_LDADD) \
228 $(BOOST_THREAD_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000229
230#
231# AllProtocolsTest
232#
233AllProtocolsTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200234 AllProtocolTests.cpp \
235 AllProtocolTests.tcc \
236 GenericHelpers.h
David Reiss351e22b2010-08-31 16:51:19 +0000237
Claudius Heine5ef662b2015-06-24 10:03:50 +0200238AllProtocolsTest_LDADD = \
239 libtestgencpp.la \
240 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000241
242#
243# DebugProtoTest
244#
245DebugProtoTest_SOURCES = \
ben-craigaf2d9c82015-07-16 08:11:21 -0500246 DebugProtoTest.cpp
David Reiss351e22b2010-08-31 16:51:19 +0000247
Claudius Heine5ef662b2015-06-24 10:03:50 +0200248DebugProtoTest_LDADD = \
249 libtestgencpp.la \
250 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000251
252
253#
254# JSONProtoTest
255#
256JSONProtoTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200257 JSONProtoTest.cpp
David Reiss351e22b2010-08-31 16:51:19 +0000258
Claudius Heine5ef662b2015-06-24 10:03:50 +0200259JSONProtoTest_LDADD = \
260 libtestgencpp.la \
261 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000262
263#
Nobuaki Sukegawad0d7a652014-12-07 21:36:51 +0900264# TNonblockingServerTest
265#
266TNonblockingServerTest_SOURCES = TNonblockingServerTest.cpp
267
268TNonblockingServerTest_LDADD = libprocessortest.la \
269 $(top_builddir)/lib/cpp/libthrift.la \
270 $(top_builddir)/lib/cpp/libthriftnb.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100271 $(BOOST_TEST_LDADD) \
Nobuaki Sukegawad0d7a652014-12-07 21:36:51 +0900272 $(BOOST_LDFLAGS) \
Jens Geyer4461a2f2014-12-23 18:22:54 +0100273 $(LIBEVENT_LIBS)
Nobuaki Sukegawad0d7a652014-12-07 21:36:51 +0900274
275#
David Reiss351e22b2010-08-31 16:51:19 +0000276# OptionalRequiredTest
277#
278OptionalRequiredTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200279 OptionalRequiredTest.cpp
David Reiss351e22b2010-08-31 16:51:19 +0000280
Claudius Heine5ef662b2015-06-24 10:03:50 +0200281OptionalRequiredTest_LDADD = \
282 libtestgencpp.la \
283 $(BOOST_TEST_LDADD)
David Reiss351e22b2010-08-31 16:51:19 +0000284
David Reisse71115b2010-10-06 17:09:56 +0000285#
jfarrelle0e83162014-04-08 22:45:01 -0400286# OptionalRequiredTest
287#
288RecursiveTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200289 RecursiveTest.cpp
jfarrelle0e83162014-04-08 22:45:01 -0400290
Claudius Heine5ef662b2015-06-24 10:03:50 +0200291RecursiveTest_LDADD = \
292 libtestgencpp.la \
293 $(BOOST_TEST_LDADD)
294
295#
David Reisse71115b2010-10-06 17:09:56 +0000296# SpecializationTest
297#
298SpecializationTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200299 SpecializationTest.cpp
David Reisse71115b2010-10-06 17:09:56 +0000300
Claudius Heine5ef662b2015-06-24 10:03:50 +0200301SpecializationTest_LDADD = \
302 libtestgencpp.la \
303 $(BOOST_TEST_LDADD)
David Reisse71115b2010-10-06 17:09:56 +0000304
Roger Meier2b1a5282012-05-11 10:12:39 +0000305concurrency_test_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200306 concurrency/Tests.cpp \
307 concurrency/ThreadFactoryTests.h \
308 concurrency/ThreadManagerTests.h \
309 concurrency/TimerManagerTests.h
David Reiss351e22b2010-08-31 16:51:19 +0000310
Roger Meier2b1a5282012-05-11 10:12:39 +0000311concurrency_test_LDADD = \
312 $(top_builddir)/lib/cpp/libthrift.la
313
Roger Meier63fcb7e2014-06-15 21:48:59 +0200314link_test_SOURCES = \
315 link/LinkTest.cpp \
316 link/TemplatedService1.cpp \
317 link/TemplatedService2.cpp
318
Roger Meier2b1a5282012-05-11 10:12:39 +0000319processor_test_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200320 processor/ProcessorTest.cpp \
321 processor/EventLog.cpp \
322 processor/ServerThread.cpp \
323 processor/EventLog.h \
324 processor/Handlers.h \
325 processor/ServerThread.h
Roger Meier2b1a5282012-05-11 10:12:39 +0000326
327processor_test_LDADD = libprocessortest.la \
328 $(top_builddir)/lib/cpp/libthrift.la \
329 $(top_builddir)/lib/cpp/libthriftnb.la \
Konrad Grochowskiec8d8772014-12-20 12:19:00 +0100330 $(BOOST_TEST_LDADD) \
Roger Meier2b1a5282012-05-11 10:12:39 +0000331 $(BOOST_LDFLAGS) \
Jens Geyer4461a2f2014-12-23 18:22:54 +0100332 $(LIBEVENT_LIBS)
Alan Dunnbee7b732014-07-26 13:48:43 -0500333
334OpenSSLManualInitTest_SOURCES = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200335 OpenSSLManualInitTest.cpp
Alan Dunnbee7b732014-07-26 13:48:43 -0500336
337OpenSSLManualInitTest_LDADD = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200338 $(top_builddir)/lib/cpp/libthrift.la \
Nobuaki Sukegawaa8370852016-01-19 00:48:46 +0900339 $(BOOST_TEST_LDADD) \
340 $(OPENSSL_LDFLAGS) \
341 $(OPENSSL_LIBS)
Alan Dunnbee7b732014-07-26 13:48:43 -0500342
David Reiss351e22b2010-08-31 16:51:19 +0000343#
344# Common thrift code generation rules
345#
346THRIFT = $(top_builddir)/compiler/cpp/thrift
347
James E. King, IIIb4c190b2017-02-13 16:39:59 -0500348gen-cpp/AnnotationTest_constants.cpp gen-cpp/AnnotationTest_constants.h gen-cpp/AnnotationTest_types.cpp gen-cpp/AnnotationTest_types.h: $(top_srcdir)/test/AnnotationTest.thrift
349 $(THRIFT) --gen cpp $<
350
Ben Craig1684c422015-04-24 08:52:44 -0500351gen-cpp/DebugProtoTest_types.cpp gen-cpp/DebugProtoTest_types.h gen-cpp/EmptyService.cpp gen-cpp/EmptyService.h: $(top_srcdir)/test/DebugProtoTest.thrift
Randy Abernethy8dbe5f62015-08-01 22:57:02 -0700352 $(THRIFT) --gen cpp $<
David Reiss351e22b2010-08-31 16:51:19 +0000353
Jens Geyerae0b22c2014-09-04 23:04:21 +0200354gen-cpp/EnumTest_types.cpp gen-cpp/EnumTest_types.h: $(top_srcdir)/test/EnumTest.thrift
Jens Geyer79f988c2014-10-03 20:42:54 +0200355 $(THRIFT) --gen cpp $<
Jens Geyerae0b22c2014-09-04 23:04:21 +0200356
Jens Geyer089bcd32014-09-11 22:36:41 +0200357gen-cpp/TypedefTest_types.cpp gen-cpp/TypedefTest_types.h: $(top_srcdir)/test/TypedefTest.thrift
Jens Geyer79f988c2014-10-03 20:42:54 +0200358 $(THRIFT) --gen cpp $<
Jens Geyer089bcd32014-09-11 22:36:41 +0200359
David Reiss351e22b2010-08-31 16:51:19 +0000360gen-cpp/OptionalRequiredTest_types.cpp gen-cpp/OptionalRequiredTest_types.h: $(top_srcdir)/test/OptionalRequiredTest.thrift
Randy Abernethy8dbe5f62015-08-01 22:57:02 -0700361 $(THRIFT) --gen cpp $<
David Reiss351e22b2010-08-31 16:51:19 +0000362
jfarrelle0e83162014-04-08 22:45:01 -0400363gen-cpp/Recursive_types.cpp gen-cpp/Recursive_types.h: $(top_srcdir)/test/Recursive.thrift
Jens Geyer79f988c2014-10-03 20:42:54 +0200364 $(THRIFT) --gen cpp $<
jfarrelle0e83162014-04-08 22:45:01 -0400365
David Reiss351e22b2010-08-31 16:51:19 +0000366gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: $(top_srcdir)/test/StressTest.thrift
Randy Abernethy8dbe5f62015-08-01 22:57:02 -0700367 $(THRIFT) --gen cpp $<
David Reiss351e22b2010-08-31 16:51:19 +0000368
369gen-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
Randy Abernethy8dbe5f62015-08-01 22:57:02 -0700370 $(THRIFT) --gen cpp $<
David Reiss351e22b2010-08-31 16:51:19 +0000371
Roger Meier6f28c042014-11-01 20:31:44 +0100372gen-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 Geyer79f988c2014-10-03 20:42:54 +0200373 $(THRIFT) --gen cpp:templates,cob_style $<
Roger Meier2b1a5282012-05-11 10:12:39 +0000374
Nobuaki Sukegawa11da87e2016-09-10 14:02:19 +0900375AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(top_srcdir)/lib/cpp/src -D__STDC_LIMIT_MACROS -I.
Roger Meier38315782011-11-06 11:29:41 +0000376AM_LDFLAGS = $(BOOST_LDFLAGS)
Roger Meiercb0754d2014-10-21 21:28:04 +0200377AM_CXXFLAGS = -Wall -Wextra -pedantic
David Reiss351e22b2010-08-31 16:51:19 +0000378
379clean-local:
Nobuaki Sukegawad3f7d0e2015-11-03 13:42:00 +0900380 $(RM) gen-cpp/*
David Reiss351e22b2010-08-31 16:51:19 +0000381
382EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200383 concurrency \
jfarrellf13e4312015-08-25 00:39:29 -0400384 processor \
385 qt \
386 CMakeLists.txt \
387 DebugProtoTest_extras.cpp \
jfarrellf13e4312015-08-25 00:39:29 -0400388 ThriftTest_extras.cpp