blob: 548da76050dcbfe4b4c168e9c637a7b9577fac6d [file] [log] [blame]
Marc Slemko16698852006-08-04 03:16:10 +00001lib_LTLIBRARIES = libthrift.la
Marc Slemko6f038a72006-08-03 18:58:09 +00002
3common_cxxflags = -Isrc $(BOOST_CPPFLAGS)
4common_ldflags = $(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 = \
29 src/Thrift.h \
30 src/TProcessor.h
31
32include_concurrencydir = $(includedir)/thrift/concurrency
33include_concurrency_HEADERS = \
34 src/concurrency/Exception.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000035 src/concurrency/Monitor.h \
36 src/concurrency/PosixThreadFactory.h \
37 src/concurrency/Thread.h \
38 src/concurrency/ThreadManager.h \
Marc Slemko16698852006-08-04 03:16:10 +000039 src/concurrency/TimerManager.h
40
41include_protocoldir = $(includedir)/thrift/protocol
42include_protocol_HEADERS = \
Marc Slemko6f038a72006-08-03 18:58:09 +000043 src/protocol/TBinaryProtocol.h \
Marc Slemko16698852006-08-04 03:16:10 +000044 src/protocol/TProtocol.h
45
46include_transportdir = $(includedir)/thrift/transport
47include_transport_HEADERS = \
Marc Slemko9d4a3e22006-07-21 19:53:48 +000048 src/transport/TBufferedTransport.h \
49 src/transport/TChunkedTransport.h \
50 src/transport/TNullTransport.h \
51 src/transport/TServerSocket.h \
52 src/transport/TServerTransport.h \
53 src/transport/TSocket.h \
54 src/transport/TTransport.h \
Marc Slemko16698852006-08-04 03:16:10 +000055 src/transport/TTransportException.h
56
57include_serverdir = $(includedir)/thrift/server
58include_server_HEADERS = \
59 src/server/TServer.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000060 src/server/TSimpleServer.h \
61 src/server/TThreadPoolServer.h
Marc Slemko9d4a3e22006-07-21 19:53:48 +000062
63bin_PROGRAMS = concurrency_test
64
Marc Slemko9d4a3e22006-07-21 19:53:48 +000065concurrency_test_SOURCES = src/concurrency/test/Tests.cc \
66 src/concurrency/test/ThreadFactoryTests.h \
67 src/concurrency/test/ThreadManagerTests.h \
68 src/concurrency/test/TimerManagerTests.h
69
Marc Slemkoc09a65a2006-08-09 01:20:16 +000070concurrency_test_LDADD = libthrift.la
Marc Slemko9d4a3e22006-07-21 19:53:48 +000071
Marc Slemko6f038a72006-08-03 18:58:09 +000072concurrency_test_CXXFLAGS = $(common_cxxflags)
73concurrency_test_LDFLAGS = $(common_ldflags)