blob: 1ec11d497fad4263e9fc4011188d4f6f6df64630 [file] [log] [blame]
Marc Slemko6f038a72006-08-03 18:58:09 +00001#lib_LTLIBRARIES = libthrift.la
2
3lib_LIBRARIES = libthrift.a
4
5common_cxxflags = -Isrc $(BOOST_CPPFLAGS)
6common_ldflags = $(BOOST_LDFLAGS)
Marc Slemko9d4a3e22006-07-21 19:53:48 +00007
8# Define the source file for the module
9
Marc Slemko6f038a72006-08-03 18:58:09 +000010libthrift_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 Slemko9d4a3e22006-07-21 19:53:48 +000021
Marc Slemko6f038a72006-08-03 18:58:09 +000022libthrift_a_SOURCES = $(libthrift_sources)
23#libthrift_la_SOURCES = $(libthrift_sources)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000024
Marc Slemko6f038a72006-08-03 18:58:09 +000025libthrift_cxxflags = $(common_cxxflags)
26libthrift_ldflags = $(common_ldflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000027
Marc Slemko6f038a72006-08-03 18:58:09 +000028libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
29libthrift_a_CXXFLAGS = $(libthrift_cxxflags)
Marc Slemko9d4a3e22006-07-21 19:53:48 +000030
Marc Slemko6f038a72006-08-03 18:58:09 +000031libthrift_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 Slemko9d4a3e22006-07-21 19:53:48 +000038 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 Slemko6f038a72006-08-03 18:58:09 +000047 src/transport/TTransportException.h \
48 src/server/TSimpleServer.h \
49 src/server/TThreadPoolServer.h
Marc Slemko9d4a3e22006-07-21 19:53:48 +000050
51bin_PROGRAMS = concurrency_test
52
53include_HEADERS = $(libconcurrency_inst_headers) \
54 $(libthrift_inst_headers)
55
56concurrency_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 Slemko6f038a72006-08-03 18:58:09 +000061concurrency_test_LDADD = libthrift.a
Marc Slemko9d4a3e22006-07-21 19:53:48 +000062
Marc Slemko6f038a72006-08-03 18:58:09 +000063concurrency_test_CXXFLAGS = $(common_cxxflags)
64concurrency_test_LDFLAGS = $(common_ldflags)