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