Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 1 | lib_LTLIBRARIES = libthrift.la |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 2 | |
Mark Slee | d788b2e | 2006-09-07 01:26:35 +0000 | [diff] [blame] | 3 | common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS) |
| 4 | common_ldflags = -Wall $(BOOST_LDFLAGS) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 5 | |
| 6 | # Define the source file for the module |
| 7 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 8 | libthrift_sources = src/concurrency/Monitor.cc \ |
| 9 | src/concurrency/PosixThreadFactory.cc \ |
| 10 | src/concurrency/ThreadManager.cc \ |
| 11 | src/concurrency/TimerManager.cc \ |
| 12 | src/protocol/TBinaryProtocol.cc \ |
| 13 | src/transport/TBufferedTransport.cc \ |
| 14 | src/transport/TChunkedTransport.cc \ |
| 15 | src/transport/TSocket.cc \ |
| 16 | src/transport/TServerSocket.cc \ |
| 17 | src/server/TSimpleServer.cc \ |
| 18 | src/server/TThreadPoolServer.cc |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 19 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 20 | libthrift_la_SOURCES = $(libthrift_sources) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 21 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 22 | libthrift_cxxflags = $(common_cxxflags) |
| 23 | libthrift_ldflags = $(common_ldflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 24 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 25 | libthrift_la_CXXFLAGS = $(libthrift_cxxflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 26 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 27 | include_thriftdir = $(includedir)/thrift |
| 28 | include_thrift_HEADERS = \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 29 | config.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 30 | src/Thrift.h \ |
| 31 | src/TProcessor.h |
| 32 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 33 | include_concurrencydir = $(include_thriftdir)/concurrency |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 34 | include_concurrency_HEADERS = \ |
| 35 | src/concurrency/Exception.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 36 | src/concurrency/Monitor.h \ |
| 37 | src/concurrency/PosixThreadFactory.h \ |
| 38 | src/concurrency/Thread.h \ |
| 39 | src/concurrency/ThreadManager.h \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 40 | src/concurrency/TimerManager.h \ |
| 41 | src/concurrency/Util.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 42 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 43 | include_protocoldir = $(include_thriftdir)/protocol |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 44 | include_protocol_HEADERS = \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 45 | src/protocol/TBinaryProtocol.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 46 | src/protocol/TProtocol.h |
| 47 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 48 | include_transportdir = $(include_thriftdir)/transport |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 49 | include_transport_HEADERS = \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 50 | src/transport/TBufferedTransport.h \ |
| 51 | src/transport/TChunkedTransport.h \ |
| 52 | src/transport/TNullTransport.h \ |
| 53 | src/transport/TServerSocket.h \ |
| 54 | src/transport/TServerTransport.h \ |
| 55 | src/transport/TSocket.h \ |
| 56 | src/transport/TTransport.h \ |
Mark Slee | d788b2e | 2006-09-07 01:26:35 +0000 | [diff] [blame] | 57 | src/transport/TTransportException.h \ |
| 58 | src/transport/TTransportFactory.h \ |
| 59 | src/transport/TBufferedTransportFactory.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 60 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 61 | include_serverdir = $(include_thriftdir)/server |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 62 | include_server_HEADERS = \ |
| 63 | src/server/TServer.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 64 | src/server/TSimpleServer.h \ |
| 65 | src/server/TThreadPoolServer.h |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 66 | |
| 67 | bin_PROGRAMS = concurrency_test |
| 68 | |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 69 | concurrency_test_SOURCES = src/concurrency/test/Tests.cc \ |
| 70 | src/concurrency/test/ThreadFactoryTests.h \ |
| 71 | src/concurrency/test/ThreadManagerTests.h \ |
| 72 | src/concurrency/test/TimerManagerTests.h |
| 73 | |
Marc Slemko | c09a65a | 2006-08-09 01:20:16 +0000 | [diff] [blame] | 74 | concurrency_test_LDADD = libthrift.la |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 75 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 76 | concurrency_test_CXXFLAGS = $(common_cxxflags) |
| 77 | concurrency_test_LDFLAGS = $(common_ldflags) |