blob: 554cb90ffb2e4515332283b26a0fb109325bd684 [file] [log] [blame]
Marc Slemko16698852006-08-04 03:16:10 +00001lib_LTLIBRARIES = libthrift.la
Marc Slemko6f038a72006-08-03 18:58:09 +00002
Mark Sleed788b2e2006-09-07 01:26:35 +00003common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS)
4common_ldflags = -Wall $(BOOST_LDFLAGS)
Marc Slemko9d4a3e22006-07-21 19:53:48 +00005
6# Define the source file for the module
7
Marc Slemko6f038a72006-08-03 18:58:09 +00008libthrift_sources = src/concurrency/Monitor.cc \
9 src/concurrency/PosixThreadFactory.cc \
10 src/concurrency/ThreadManager.cc \
11 src/concurrency/TimerManager.cc \
12 src/protocol/TBinaryProtocol.cc \
13 src/transport/TBufferedTransport.cc \
14 src/transport/TChunkedTransport.cc \
15 src/transport/TSocket.cc \
16 src/transport/TServerSocket.cc \
17 src/server/TSimpleServer.cc \
18 src/server/TThreadPoolServer.cc
Marc Slemko9d4a3e22006-07-21 19:53:48 +000019
Marc Slemko16698852006-08-04 03:16:10 +000020libthrift_la_SOURCES = $(libthrift_sources)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000021
Marc Slemko6f038a72006-08-03 18:58:09 +000022libthrift_cxxflags = $(common_cxxflags)
23libthrift_ldflags = $(common_ldflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000024
Marc Slemko6f038a72006-08-03 18:58:09 +000025libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000026
Marc Slemko16698852006-08-04 03:16:10 +000027include_thriftdir = $(includedir)/thrift
28include_thrift_HEADERS = \
Marc Slemkoe18890f2006-08-17 01:23:12 +000029 config.h \
Marc Slemko16698852006-08-04 03:16:10 +000030 src/Thrift.h \
31 src/TProcessor.h
32
Marc Slemkod42a2c22006-08-10 03:30:18 +000033include_concurrencydir = $(include_thriftdir)/concurrency
Marc Slemko16698852006-08-04 03:16:10 +000034include_concurrency_HEADERS = \
35 src/concurrency/Exception.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000036 src/concurrency/Monitor.h \
37 src/concurrency/PosixThreadFactory.h \
38 src/concurrency/Thread.h \
39 src/concurrency/ThreadManager.h \
Marc Slemkoe18890f2006-08-17 01:23:12 +000040 src/concurrency/TimerManager.h \
41 src/concurrency/Util.h
Marc Slemko16698852006-08-04 03:16:10 +000042
Marc Slemkod42a2c22006-08-10 03:30:18 +000043include_protocoldir = $(include_thriftdir)/protocol
Marc Slemko16698852006-08-04 03:16:10 +000044include_protocol_HEADERS = \
Marc Slemko6f038a72006-08-03 18:58:09 +000045 src/protocol/TBinaryProtocol.h \
Marc Slemko16698852006-08-04 03:16:10 +000046 src/protocol/TProtocol.h
47
Marc Slemkod42a2c22006-08-10 03:30:18 +000048include_transportdir = $(include_thriftdir)/transport
Marc Slemko16698852006-08-04 03:16:10 +000049include_transport_HEADERS = \
Marc Slemko9d4a3e22006-07-21 19:53:48 +000050 src/transport/TBufferedTransport.h \
51 src/transport/TChunkedTransport.h \
52 src/transport/TNullTransport.h \
53 src/transport/TServerSocket.h \
54 src/transport/TServerTransport.h \
55 src/transport/TSocket.h \
56 src/transport/TTransport.h \
Mark Sleed788b2e2006-09-07 01:26:35 +000057 src/transport/TTransportException.h \
58 src/transport/TTransportFactory.h \
59 src/transport/TBufferedTransportFactory.h
Marc Slemko16698852006-08-04 03:16:10 +000060
Marc Slemkod42a2c22006-08-10 03:30:18 +000061include_serverdir = $(include_thriftdir)/server
Marc Slemko16698852006-08-04 03:16:10 +000062include_server_HEADERS = \
63 src/server/TServer.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000064 src/server/TSimpleServer.h \
65 src/server/TThreadPoolServer.h
Marc Slemko9d4a3e22006-07-21 19:53:48 +000066
67bin_PROGRAMS = concurrency_test
68
Marc Slemko9d4a3e22006-07-21 19:53:48 +000069concurrency_test_SOURCES = src/concurrency/test/Tests.cc \
70 src/concurrency/test/ThreadFactoryTests.h \
71 src/concurrency/test/ThreadManagerTests.h \
72 src/concurrency/test/TimerManagerTests.h
73
Marc Slemkoc09a65a2006-08-09 01:20:16 +000074concurrency_test_LDADD = libthrift.la
Marc Slemko9d4a3e22006-07-21 19:53:48 +000075
Marc Slemko6f038a72006-08-03 18:58:09 +000076concurrency_test_CXXFLAGS = $(common_cxxflags)
77concurrency_test_LDFLAGS = $(common_ldflags)