2006-08-04 03:16:10 +00:00
|
|
|
lib_LTLIBRARIES = libthrift.la
|
|
|
|
#lib_LIBRARIES = libthrift.a
|
2006-08-03 18:58:09 +00:00
|
|
|
|
|
|
|
common_cxxflags = -Isrc $(BOOST_CPPFLAGS)
|
|
|
|
common_ldflags = $(BOOST_LDFLAGS)
|
2006-07-21 19:53:48 +00:00
|
|
|
|
|
|
|
# Define the source file for the module
|
|
|
|
|
2006-08-03 18:58:09 +00:00
|
|
|
libthrift_sources = src/concurrency/Monitor.cc \
|
|
|
|
src/concurrency/PosixThreadFactory.cc \
|
|
|
|
src/concurrency/ThreadManager.cc \
|
|
|
|
src/concurrency/TimerManager.cc \
|
|
|
|
src/protocol/TBinaryProtocol.cc \
|
|
|
|
src/transport/TBufferedTransport.cc \
|
|
|
|
src/transport/TChunkedTransport.cc \
|
|
|
|
src/transport/TSocket.cc \
|
|
|
|
src/transport/TServerSocket.cc \
|
|
|
|
src/server/TSimpleServer.cc \
|
|
|
|
src/server/TThreadPoolServer.cc
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-04 03:16:10 +00:00
|
|
|
#libthrift_a_SOURCES = $(libthrift_sources)
|
|
|
|
libthrift_la_SOURCES = $(libthrift_sources)
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-03 18:58:09 +00:00
|
|
|
libthrift_cxxflags = $(common_cxxflags)
|
|
|
|
libthrift_ldflags = $(common_ldflags)
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-03 18:58:09 +00:00
|
|
|
libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
|
|
|
|
libthrift_a_CXXFLAGS = $(libthrift_cxxflags)
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-04 03:16:10 +00:00
|
|
|
include_thriftdir = $(includedir)/thrift
|
|
|
|
include_thrift_HEADERS = \
|
|
|
|
src/Thrift.h \
|
|
|
|
src/TProcessor.h
|
|
|
|
|
|
|
|
include_concurrencydir = $(includedir)/thrift/concurrency
|
|
|
|
include_concurrency_HEADERS = \
|
|
|
|
src/concurrency/Exception.h \
|
2006-08-03 18:58:09 +00:00
|
|
|
src/concurrency/Monitor.h \
|
|
|
|
src/concurrency/PosixThreadFactory.h \
|
|
|
|
src/concurrency/Thread.h \
|
|
|
|
src/concurrency/ThreadManager.h \
|
2006-08-04 03:16:10 +00:00
|
|
|
src/concurrency/TimerManager.h
|
|
|
|
|
|
|
|
include_protocoldir = $(includedir)/thrift/protocol
|
|
|
|
include_protocol_HEADERS = \
|
2006-08-03 18:58:09 +00:00
|
|
|
src/protocol/TBinaryProtocol.h \
|
2006-08-04 03:16:10 +00:00
|
|
|
src/protocol/TProtocol.h
|
|
|
|
|
|
|
|
include_transportdir = $(includedir)/thrift/transport
|
|
|
|
include_transport_HEADERS = \
|
2006-07-21 19:53:48 +00:00
|
|
|
src/transport/TBufferedTransport.h \
|
|
|
|
src/transport/TChunkedTransport.h \
|
|
|
|
src/transport/TNullTransport.h \
|
|
|
|
src/transport/TServerSocket.h \
|
|
|
|
src/transport/TServerTransport.h \
|
|
|
|
src/transport/TSocket.h \
|
|
|
|
src/transport/TTransport.h \
|
2006-08-04 03:16:10 +00:00
|
|
|
src/transport/TTransportException.h
|
|
|
|
|
|
|
|
include_serverdir = $(includedir)/thrift/server
|
|
|
|
include_server_HEADERS = \
|
|
|
|
src/server/TServer.h \
|
2006-08-03 18:58:09 +00:00
|
|
|
src/server/TSimpleServer.h \
|
|
|
|
src/server/TThreadPoolServer.h
|
2006-07-21 19:53:48 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = concurrency_test
|
|
|
|
|
|
|
|
concurrency_test_SOURCES = src/concurrency/test/Tests.cc \
|
|
|
|
src/concurrency/test/ThreadFactoryTests.h \
|
|
|
|
src/concurrency/test/ThreadManagerTests.h \
|
|
|
|
src/concurrency/test/TimerManagerTests.h
|
|
|
|
|
2006-08-03 18:58:09 +00:00
|
|
|
concurrency_test_LDADD = libthrift.a
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-03 18:58:09 +00:00
|
|
|
concurrency_test_CXXFLAGS = $(common_cxxflags)
|
|
|
|
concurrency_test_LDFLAGS = $(common_ldflags)
|