Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 1 | lib_LTLIBRARIES = libthrift.la libthriftnb.la |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 2 | |
Marc Slemko | 85ca7a1 | 2007-01-17 08:32:16 +0000 | [diff] [blame] | 3 | common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS) $(EVENT_CPPFLAGS) |
| 4 | common_ldflags = -Wall $(BOOST_LDFLAGS) $(EVENT_LDFLAGS) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 5 | |
| 6 | # Define the source file for the module |
| 7 | |
Mark Slee | f983108 | 2007-02-20 20:59:21 +0000 | [diff] [blame] | 8 | libthrift_sources = src/Thrift.cpp \ |
| 9 | src/concurrency/Mutex.cpp \ |
Mark Slee | 0f70d77 | 2006-10-28 00:51:14 +0000 | [diff] [blame] | 10 | src/concurrency/Monitor.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 11 | src/concurrency/PosixThreadFactory.cpp \ |
| 12 | src/concurrency/ThreadManager.cpp \ |
| 13 | src/concurrency/TimerManager.cpp \ |
James Wang | 3e9d177 | 2007-03-27 23:17:34 +0000 | [diff] [blame] | 14 | src/processor/PeekProcessor.cpp \ |
| 15 | src/protocol/TBinaryProtocol.cpp \ |
David Reiss | 00dcccf | 2007-07-21 01:18:10 +0000 | [diff] [blame^] | 16 | src/protocol/TDebugProtocol.cpp \ |
Aditya Agarwal | 25b2936 | 2006-12-09 00:58:15 +0000 | [diff] [blame] | 17 | src/transport/TFileTransport.cpp \ |
Mark Slee | 8a98e1b | 2007-02-27 05:16:23 +0000 | [diff] [blame] | 18 | src/transport/THttpClient.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 19 | src/transport/TSocket.cpp \ |
jsobel | e02e424 | 2007-05-08 17:51:49 +0000 | [diff] [blame] | 20 | src/transport/TSocketPool.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 21 | src/transport/TServerSocket.cpp \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 22 | src/transport/TTransportUtils.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 23 | src/server/TSimpleServer.cpp \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 24 | src/server/TThreadPoolServer.cpp \ |
| 25 | src/server/TThreadedServer.cpp |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 26 | |
| 27 | libthriftnb_sources = src/server/TNonblockingServer.cpp |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 28 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 29 | libthrift_la_SOURCES = $(libthrift_sources) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 30 | libthriftnb_la_SOURCES = $(libthriftnb_sources) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 31 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 32 | libthrift_cxxflags = $(common_cxxflags) |
| 33 | libthrift_ldflags = $(common_ldflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 34 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 35 | libthrift_la_CXXFLAGS = $(libthrift_cxxflags) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 36 | libthriftnb_la_CXXFLAGS = $(libthrift_cxxflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 37 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 38 | include_thriftdir = $(includedir)/thrift |
| 39 | include_thrift_HEADERS = \ |
James Wang | 3e9d177 | 2007-03-27 23:17:34 +0000 | [diff] [blame] | 40 | config.h \ |
| 41 | src/Thrift.h \ |
| 42 | src/TProcessor.h \ |
| 43 | src/TLogging.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 44 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 45 | include_concurrencydir = $(include_thriftdir)/concurrency |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 46 | include_concurrency_HEADERS = \ |
James Wang | 3e9d177 | 2007-03-27 23:17:34 +0000 | [diff] [blame] | 47 | src/concurrency/Exception.h \ |
Mark Slee | 0f70d77 | 2006-10-28 00:51:14 +0000 | [diff] [blame] | 48 | src/concurrency/Mutex.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 49 | src/concurrency/Monitor.h \ |
| 50 | src/concurrency/PosixThreadFactory.h \ |
| 51 | src/concurrency/Thread.h \ |
| 52 | src/concurrency/ThreadManager.h \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 53 | src/concurrency/TimerManager.h \ |
| 54 | src/concurrency/Util.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 55 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 56 | include_protocoldir = $(include_thriftdir)/protocol |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 57 | include_protocol_HEADERS = \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 58 | src/protocol/TBinaryProtocol.h \ |
David Reiss | 00dcccf | 2007-07-21 01:18:10 +0000 | [diff] [blame^] | 59 | src/protocol/TDebugProtocol.h \ |
| 60 | src/protocol/TOneWayProtocol.h \ |
Mark Slee | f983108 | 2007-02-20 20:59:21 +0000 | [diff] [blame] | 61 | src/protocol/TProtocolException.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 62 | src/protocol/TProtocol.h |
| 63 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 64 | include_transportdir = $(include_thriftdir)/transport |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 65 | include_transport_HEADERS = \ |
Aditya Agarwal | 25b2936 | 2006-12-09 00:58:15 +0000 | [diff] [blame] | 66 | src/transport/TFileTransport.h \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 67 | src/transport/TServerSocket.h \ |
| 68 | src/transport/TServerTransport.h \ |
Mark Slee | 8a98e1b | 2007-02-27 05:16:23 +0000 | [diff] [blame] | 69 | src/transport/THttpClient.h \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 70 | src/transport/TSocket.h \ |
jsobel | e02e424 | 2007-05-08 17:51:49 +0000 | [diff] [blame] | 71 | src/transport/TSocketPool.h \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 72 | src/transport/TTransport.h \ |
Mark Slee | d788b2e | 2006-09-07 01:26:35 +0000 | [diff] [blame] | 73 | src/transport/TTransportException.h \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 74 | src/transport/TTransportUtils.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 75 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 76 | include_serverdir = $(include_thriftdir)/server |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 77 | include_server_HEADERS = \ |
| 78 | src/server/TServer.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 79 | src/server/TSimpleServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 80 | src/server/TThreadPoolServer.h \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 81 | src/server/TThreadedServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 82 | src/server/TNonblockingServer.h |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 83 | |
| 84 | bin_PROGRAMS = concurrency_test |
| 85 | |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 86 | concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 87 | src/concurrency/test/ThreadFactoryTests.h \ |
| 88 | src/concurrency/test/ThreadManagerTests.h \ |
| 89 | src/concurrency/test/TimerManagerTests.h |
| 90 | |
Marc Slemko | c09a65a | 2006-08-09 01:20:16 +0000 | [diff] [blame] | 91 | concurrency_test_LDADD = libthrift.la |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 92 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 93 | concurrency_test_CXXFLAGS = $(common_cxxflags) |
| 94 | concurrency_test_LDFLAGS = $(common_ldflags) |