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 | 0f70d77 | 2006-10-28 00:51:14 +0000 | [diff] [blame] | 8 | libthrift_sources = src/concurrency/Mutex.cpp \ |
| 9 | src/concurrency/Monitor.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 10 | src/concurrency/PosixThreadFactory.cpp \ |
| 11 | src/concurrency/ThreadManager.cpp \ |
| 12 | src/concurrency/TimerManager.cpp \ |
| 13 | src/protocol/TBinaryProtocol.cpp \ |
Aditya Agarwal | 25b2936 | 2006-12-09 00:58:15 +0000 | [diff] [blame] | 14 | src/transport/TFileTransport.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 15 | src/transport/TBufferedRouterTransport.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 16 | src/transport/TSocket.cpp \ |
| 17 | src/transport/TServerSocket.cpp \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 18 | src/transport/TTransportUtils.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 19 | src/server/TSimpleServer.cpp \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 20 | src/server/TThreadPoolServer.cpp \ |
| 21 | src/server/TThreadedServer.cpp |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 22 | |
| 23 | libthriftnb_sources = src/server/TNonblockingServer.cpp |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 24 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 25 | libthrift_la_SOURCES = $(libthrift_sources) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 26 | libthriftnb_la_SOURCES = $(libthriftnb_sources) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 27 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 28 | libthrift_cxxflags = $(common_cxxflags) |
| 29 | libthrift_ldflags = $(common_ldflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 30 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 31 | libthrift_la_CXXFLAGS = $(libthrift_cxxflags) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 32 | libthriftnb_la_CXXFLAGS = $(libthrift_cxxflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 33 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 34 | include_thriftdir = $(includedir)/thrift |
| 35 | include_thrift_HEADERS = \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 36 | config.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 37 | src/Thrift.h \ |
Aditya Agarwal | e528c76 | 2006-10-11 02:48:43 +0000 | [diff] [blame] | 38 | src/TProcessor.h \ |
| 39 | src/TLogging.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 40 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 41 | include_concurrencydir = $(include_thriftdir)/concurrency |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 42 | include_concurrency_HEADERS = \ |
| 43 | src/concurrency/Exception.h \ |
Mark Slee | 0f70d77 | 2006-10-28 00:51:14 +0000 | [diff] [blame] | 44 | src/concurrency/Mutex.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 45 | src/concurrency/Monitor.h \ |
| 46 | src/concurrency/PosixThreadFactory.h \ |
| 47 | src/concurrency/Thread.h \ |
| 48 | src/concurrency/ThreadManager.h \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 49 | src/concurrency/TimerManager.h \ |
| 50 | src/concurrency/Util.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 51 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 52 | include_protocoldir = $(include_thriftdir)/protocol |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 53 | include_protocol_HEADERS = \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 54 | src/protocol/TBinaryProtocol.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 55 | src/protocol/TProtocol.h |
| 56 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 57 | include_transportdir = $(include_thriftdir)/transport |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 58 | include_transport_HEADERS = \ |
Aditya Agarwal | 25b2936 | 2006-12-09 00:58:15 +0000 | [diff] [blame] | 59 | src/transport/TFileTransport.h \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 60 | src/transport/TBufferedRouterTransport.h \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 61 | src/transport/TServerSocket.h \ |
| 62 | src/transport/TServerTransport.h \ |
| 63 | src/transport/TSocket.h \ |
| 64 | src/transport/TTransport.h \ |
Mark Slee | d788b2e | 2006-09-07 01:26:35 +0000 | [diff] [blame] | 65 | src/transport/TTransportException.h \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 66 | src/transport/TTransportUtils.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 67 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 68 | include_serverdir = $(include_thriftdir)/server |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 69 | include_server_HEADERS = \ |
| 70 | src/server/TServer.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 71 | src/server/TSimpleServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 72 | src/server/TThreadPoolServer.h \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 73 | src/server/TThreadedServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 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) |