Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 1 | #lib_LTLIBRARIES = libthrift.la |
| 2 | |
| 3 | lib_LIBRARIES = libthrift.a |
| 4 | |
| 5 | common_cxxflags = -Isrc $(BOOST_CPPFLAGS) |
| 6 | common_ldflags = $(BOOST_LDFLAGS) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 7 | |
| 8 | # Define the source file for the module |
| 9 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 10 | libthrift_sources = src/concurrency/Monitor.cc \ |
| 11 | src/concurrency/PosixThreadFactory.cc \ |
| 12 | src/concurrency/ThreadManager.cc \ |
| 13 | src/concurrency/TimerManager.cc \ |
| 14 | src/protocol/TBinaryProtocol.cc \ |
| 15 | src/transport/TBufferedTransport.cc \ |
| 16 | src/transport/TChunkedTransport.cc \ |
| 17 | src/transport/TSocket.cc \ |
| 18 | src/transport/TServerSocket.cc \ |
| 19 | src/server/TSimpleServer.cc \ |
| 20 | src/server/TThreadPoolServer.cc |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 21 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 22 | libthrift_a_SOURCES = $(libthrift_sources) |
| 23 | #libthrift_la_SOURCES = $(libthrift_sources) |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 24 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 25 | libthrift_cxxflags = $(common_cxxflags) |
| 26 | libthrift_ldflags = $(common_ldflags) |
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_la_CXXFLAGS = $(libthrift_cxxflags) |
| 29 | libthrift_a_CXXFLAGS = $(libthrift_cxxflags) |
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_inst_headers = src/concurrency/Exception.h \ |
| 32 | src/concurrency/Monitor.h \ |
| 33 | src/concurrency/PosixThreadFactory.h \ |
| 34 | src/concurrency/Thread.h \ |
| 35 | src/concurrency/ThreadManager.h \ |
| 36 | src/concurrency/TimerManager.h \ |
| 37 | src/protocol/TBinaryProtocol.h \ |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 38 | src/protocol/TProtocol.h \ |
| 39 | src/transport/TBufferedTransport.h \ |
| 40 | src/transport/TChunkedTransport.h \ |
| 41 | src/transport/TNullTransport.h \ |
| 42 | src/transport/TServerSocket.h \ |
| 43 | src/transport/TServerTransport.h \ |
| 44 | src/transport/TSocket.h \ |
| 45 | src/transport/TTransport.h \ |
| 46 | src/transport/TTransport.h \ |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 47 | src/transport/TTransportException.h \ |
| 48 | src/server/TSimpleServer.h \ |
| 49 | src/server/TThreadPoolServer.h |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 50 | |
| 51 | bin_PROGRAMS = concurrency_test |
| 52 | |
| 53 | include_HEADERS = $(libconcurrency_inst_headers) \ |
| 54 | $(libthrift_inst_headers) |
| 55 | |
| 56 | concurrency_test_SOURCES = src/concurrency/test/Tests.cc \ |
| 57 | src/concurrency/test/ThreadFactoryTests.h \ |
| 58 | src/concurrency/test/ThreadManagerTests.h \ |
| 59 | src/concurrency/test/TimerManagerTests.h |
| 60 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 61 | concurrency_test_LDADD = libthrift.a |
Marc Slemko | 9d4a3e2 | 2006-07-21 19:53:48 +0000 | [diff] [blame] | 62 | |
Marc Slemko | 6f038a7 | 2006-08-03 18:58:09 +0000 | [diff] [blame] | 63 | concurrency_test_CXXFLAGS = $(common_cxxflags) |
| 64 | concurrency_test_LDFLAGS = $(common_ldflags) |