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 | |
| 3 | common_cxxflags = -Isrc $(BOOST_CPPFLAGS) |
| 4 | common_ldflags = $(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 = \ |
| 29 | src/Thrift.h \ |
| 30 | src/TProcessor.h |
| 31 | |
| 32 | include_concurrencydir = $(includedir)/thrift/concurrency |
| 33 | include_concurrency_HEADERS = \ |
| 34 | src/concurrency/Exception.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 35 | src/concurrency/Monitor.h \ |
| 36 | src/concurrency/PosixThreadFactory.h \ |
| 37 | src/concurrency/Thread.h \ |
| 38 | src/concurrency/ThreadManager.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 39 | src/concurrency/TimerManager.h |
| 40 | |
| 41 | include_protocoldir = $(includedir)/thrift/protocol |
| 42 | include_protocol_HEADERS = \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 43 | src/protocol/TBinaryProtocol.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 44 | src/protocol/TProtocol.h |
| 45 | |
| 46 | include_transportdir = $(includedir)/thrift/transport |
| 47 | include_transport_HEADERS = \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 48 | src/transport/TBufferedTransport.h \ |
| 49 | src/transport/TChunkedTransport.h \ |
| 50 | src/transport/TNullTransport.h \ |
| 51 | src/transport/TServerSocket.h \ |
| 52 | src/transport/TServerTransport.h \ |
| 53 | src/transport/TSocket.h \ |
| 54 | src/transport/TTransport.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 55 | src/transport/TTransportException.h |
| 56 | |
| 57 | include_serverdir = $(includedir)/thrift/server |
| 58 | include_server_HEADERS = \ |
| 59 | src/server/TServer.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 60 | src/server/TSimpleServer.h \ |
| 61 | src/server/TThreadPoolServer.h |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 62 | |
| 63 | bin_PROGRAMS = concurrency_test |
| 64 | |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 65 | concurrency_test_SOURCES = src/concurrency/test/Tests.cc \ |
| 66 | src/concurrency/test/ThreadFactoryTests.h \ |
| 67 | src/concurrency/test/ThreadManagerTests.h \ |
| 68 | src/concurrency/test/TimerManagerTests.h |
| 69 | |
Marc Slemko | c09a65a | 2006-08-09 01:20:16 +0000 | [diff] [blame] | 70 | concurrency_test_LDADD = libthrift.la |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 71 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 72 | concurrency_test_CXXFLAGS = $(common_cxxflags) |
| 73 | concurrency_test_LDFLAGS = $(common_ldflags) |