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