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