blob: cee53270e4ca4812abb3d256f1c09e9757e50e59 [file] [log] [blame]
Marc Slemko16698852006-08-04 03:16:10 +00001lib_LTLIBRARIES = libthrift.la
2#lib_LIBRARIES = libthrift.a
Marc Slemko6f038a72006-08-03 18:58:09 +00003
4common_cxxflags = -Isrc $(BOOST_CPPFLAGS)
5common_ldflags = $(BOOST_LDFLAGS)
Marc Slemko9d4a3e22006-07-21 19:53:48 +00006
7# Define the source file for the module
8
Marc Slemko6f038a72006-08-03 18:58:09 +00009libthrift_sources = src/concurrency/Monitor.cc \
10 src/concurrency/PosixThreadFactory.cc \
11 src/concurrency/ThreadManager.cc \
12 src/concurrency/TimerManager.cc \
13 src/protocol/TBinaryProtocol.cc \
14 src/transport/TBufferedTransport.cc \
15 src/transport/TChunkedTransport.cc \
16 src/transport/TSocket.cc \
17 src/transport/TServerSocket.cc \
18 src/server/TSimpleServer.cc \
19 src/server/TThreadPoolServer.cc
Marc Slemko9d4a3e22006-07-21 19:53:48 +000020
Marc Slemko16698852006-08-04 03:16:10 +000021#libthrift_a_SOURCES = $(libthrift_sources)
22libthrift_la_SOURCES = $(libthrift_sources)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000023
Marc Slemko6f038a72006-08-03 18:58:09 +000024libthrift_cxxflags = $(common_cxxflags)
25libthrift_ldflags = $(common_ldflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000026
Marc Slemko6f038a72006-08-03 18:58:09 +000027libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
28libthrift_a_CXXFLAGS = $(libthrift_cxxflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000029
Marc Slemko16698852006-08-04 03:16:10 +000030include_thriftdir = $(includedir)/thrift
31include_thrift_HEADERS = \
32 src/Thrift.h \
33 src/TProcessor.h
34
35include_concurrencydir = $(includedir)/thrift/concurrency
36include_concurrency_HEADERS = \
37 src/concurrency/Exception.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000038 src/concurrency/Monitor.h \
39 src/concurrency/PosixThreadFactory.h \
40 src/concurrency/Thread.h \
41 src/concurrency/ThreadManager.h \
Marc Slemko16698852006-08-04 03:16:10 +000042 src/concurrency/TimerManager.h
43
44include_protocoldir = $(includedir)/thrift/protocol
45include_protocol_HEADERS = \
Marc Slemko6f038a72006-08-03 18:58:09 +000046 src/protocol/TBinaryProtocol.h \
Marc Slemko16698852006-08-04 03:16:10 +000047 src/protocol/TProtocol.h
48
49include_transportdir = $(includedir)/thrift/transport
50include_transport_HEADERS = \
Marc Slemko9d4a3e22006-07-21 19:53:48 +000051 src/transport/TBufferedTransport.h \
52 src/transport/TChunkedTransport.h \
53 src/transport/TNullTransport.h \
54 src/transport/TServerSocket.h \
55 src/transport/TServerTransport.h \
56 src/transport/TSocket.h \
57 src/transport/TTransport.h \
Marc Slemko16698852006-08-04 03:16:10 +000058 src/transport/TTransportException.h
59
60include_serverdir = $(includedir)/thrift/server
61include_server_HEADERS = \
62 src/server/TServer.h \
Marc Slemko6f038a72006-08-03 18:58:09 +000063 src/server/TSimpleServer.h \
64 src/server/TThreadPoolServer.h
Marc Slemko9d4a3e22006-07-21 19:53:48 +000065
66bin_PROGRAMS = concurrency_test
67
Marc Slemko9d4a3e22006-07-21 19:53:48 +000068concurrency_test_SOURCES = src/concurrency/test/Tests.cc \
69 src/concurrency/test/ThreadFactoryTests.h \
70 src/concurrency/test/ThreadManagerTests.h \
71 src/concurrency/test/TimerManagerTests.h
72
Marc Slemko6f038a72006-08-03 18:58:09 +000073concurrency_test_LDADD = libthrift.a
Marc Slemko9d4a3e22006-07-21 19:53:48 +000074
Marc Slemko6f038a72006-08-03 18:58:09 +000075concurrency_test_CXXFLAGS = $(common_cxxflags)
76concurrency_test_LDFLAGS = $(common_ldflags)