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/TSocket.cpp \ |
| 16 | src/transport/TServerSocket.cpp \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 17 | src/transport/TTransportUtils.cpp \ |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 18 | src/server/TSimpleServer.cpp \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 19 | src/server/TThreadPoolServer.cpp \ |
| 20 | src/server/TThreadedServer.cpp |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 21 | |
| 22 | libthriftnb_sources = 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) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 25 | libthriftnb_la_SOURCES = $(libthriftnb_sources) |
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_cxxflags = $(common_cxxflags) |
| 28 | libthrift_ldflags = $(common_ldflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 29 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 30 | libthrift_la_CXXFLAGS = $(libthrift_cxxflags) |
Mark Slee | 0788a70 | 2007-01-25 08:14:50 +0000 | [diff] [blame] | 31 | libthriftnb_la_CXXFLAGS = $(libthrift_cxxflags) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 32 | |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 33 | include_thriftdir = $(includedir)/thrift |
| 34 | include_thrift_HEADERS = \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 35 | config.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 36 | src/Thrift.h \ |
Aditya Agarwal | e528c76 | 2006-10-11 02:48:43 +0000 | [diff] [blame] | 37 | src/TProcessor.h \ |
| 38 | src/TLogging.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 39 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 40 | include_concurrencydir = $(include_thriftdir)/concurrency |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 41 | include_concurrency_HEADERS = \ |
| 42 | src/concurrency/Exception.h \ |
Mark Slee | 0f70d77 | 2006-10-28 00:51:14 +0000 | [diff] [blame] | 43 | src/concurrency/Mutex.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 44 | src/concurrency/Monitor.h \ |
| 45 | src/concurrency/PosixThreadFactory.h \ |
| 46 | src/concurrency/Thread.h \ |
| 47 | src/concurrency/ThreadManager.h \ |
Marc Slemko | e18890f | 2006-08-17 01:23:12 +0000 | [diff] [blame] | 48 | src/concurrency/TimerManager.h \ |
| 49 | src/concurrency/Util.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 50 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 51 | include_protocoldir = $(include_thriftdir)/protocol |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 52 | include_protocol_HEADERS = \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 53 | src/protocol/TBinaryProtocol.h \ |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 54 | src/protocol/TProtocol.h |
| 55 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 56 | include_transportdir = $(include_thriftdir)/transport |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 57 | include_transport_HEADERS = \ |
Aditya Agarwal | 25b2936 | 2006-12-09 00:58:15 +0000 | [diff] [blame] | 58 | src/transport/TFileTransport.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 \ |
Mark Slee | 4af6ed7 | 2006-10-25 19:02:49 +0000 | [diff] [blame] | 64 | src/transport/TTransportUtils.h |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 65 | |
Marc Slemko | d42a2c2 | 2006-08-10 03:30:18 +0000 | [diff] [blame] | 66 | include_serverdir = $(include_thriftdir)/server |
Marc Slemko | 1669885 | 2006-08-04 03:16:10 +0000 | [diff] [blame] | 67 | include_server_HEADERS = \ |
| 68 | src/server/TServer.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 69 | src/server/TSimpleServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 70 | src/server/TThreadPoolServer.h \ |
Mark Slee | b3cb629 | 2007-02-01 22:55:00 +0000 | [diff] [blame] | 71 | src/server/TThreadedServer.h \ |
Mark Slee | 2f6404d | 2006-10-10 01:37:40 +0000 | [diff] [blame] | 72 | src/server/TNonblockingServer.h |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 73 | |
| 74 | bin_PROGRAMS = concurrency_test |
| 75 | |
Mark Slee | b3bd81f | 2006-10-25 01:36:44 +0000 | [diff] [blame] | 76 | concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 77 | src/concurrency/test/ThreadFactoryTests.h \ |
| 78 | src/concurrency/test/ThreadManagerTests.h \ |
| 79 | src/concurrency/test/TimerManagerTests.h |
| 80 | |
Marc Slemko | c09a65a | 2006-08-09 01:20:16 +0000 | [diff] [blame] | 81 | concurrency_test_LDADD = libthrift.la |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 82 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 83 | concurrency_test_CXXFLAGS = $(common_cxxflags) |
| 84 | concurrency_test_LDFLAGS = $(common_ldflags) |