2007-01-25 08:14:50 +00:00
|
|
|
lib_LTLIBRARIES = libthrift.la libthriftnb.la
|
2006-08-03 18:58:09 +00:00
|
|
|
|
2007-01-17 08:32:16 +00:00
|
|
|
common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS) $(EVENT_CPPFLAGS)
|
|
|
|
common_ldflags = -Wall $(BOOST_LDFLAGS) $(EVENT_LDFLAGS)
|
2006-07-21 19:53:48 +00:00
|
|
|
|
|
|
|
# Define the source file for the module
|
|
|
|
|
2007-02-20 20:59:21 +00:00
|
|
|
libthrift_sources = src/Thrift.cpp \
|
|
|
|
src/concurrency/Mutex.cpp \
|
2006-10-28 00:51:14 +00:00
|
|
|
src/concurrency/Monitor.cpp \
|
2006-10-25 01:36:44 +00:00
|
|
|
src/concurrency/PosixThreadFactory.cpp \
|
|
|
|
src/concurrency/ThreadManager.cpp \
|
|
|
|
src/concurrency/TimerManager.cpp \
|
|
|
|
src/protocol/TBinaryProtocol.cpp \
|
2006-12-09 00:58:15 +00:00
|
|
|
src/transport/TFileTransport.cpp \
|
2007-02-27 05:16:23 +00:00
|
|
|
src/transport/THttpClient.cpp \
|
2006-10-25 01:36:44 +00:00
|
|
|
src/transport/TSocket.cpp \
|
|
|
|
src/transport/TServerSocket.cpp \
|
2006-10-25 19:02:49 +00:00
|
|
|
src/transport/TTransportUtils.cpp \
|
2006-10-25 01:36:44 +00:00
|
|
|
src/server/TSimpleServer.cpp \
|
2007-02-01 22:55:00 +00:00
|
|
|
src/server/TThreadPoolServer.cpp \
|
|
|
|
src/server/TThreadedServer.cpp
|
2007-01-25 08:14:50 +00:00
|
|
|
|
|
|
|
libthriftnb_sources = src/server/TNonblockingServer.cpp
|
2006-07-21 19:53:48 +00:00
|
|
|
|
2006-08-04 03:16:10 +00:00
|
|
|
libthrift_la_SOURCES = $(libthrift_sources)
|
2007-01-25 08:14:50 +00:00
|
|
|
libthriftnb_la_SOURCES = $(libthriftnb_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)
|
2007-01-25 08:14:50 +00:00
|
|
|
libthriftnb_la_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 = \
|
2006-08-17 01:23:12 +00:00
|
|
|
config.h \
|
2006-08-04 03:16:10 +00:00
|
|
|
src/Thrift.h \
|
2006-10-11 02:48:43 +00:00
|
|
|
src/TProcessor.h \
|
|
|
|
src/TLogging.h
|
2006-08-04 03:16:10 +00:00
|
|
|
|
2006-08-10 03:30:18 +00:00
|
|
|
include_concurrencydir = $(include_thriftdir)/concurrency
|
2006-08-04 03:16:10 +00:00
|
|
|
include_concurrency_HEADERS = \
|
|
|
|
src/concurrency/Exception.h \
|
2006-10-28 00:51:14 +00:00
|
|
|
src/concurrency/Mutex.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-17 01:23:12 +00:00
|
|
|
src/concurrency/TimerManager.h \
|
|
|
|
src/concurrency/Util.h
|
2006-08-04 03:16:10 +00:00
|
|
|
|
2006-08-10 03:30:18 +00:00
|
|
|
include_protocoldir = $(include_thriftdir)/protocol
|
2006-08-04 03:16:10 +00:00
|
|
|
include_protocol_HEADERS = \
|
2006-08-03 18:58:09 +00:00
|
|
|
src/protocol/TBinaryProtocol.h \
|
2007-02-20 20:59:21 +00:00
|
|
|
src/protocol/TProtocolException.h \
|
2006-08-04 03:16:10 +00:00
|
|
|
src/protocol/TProtocol.h
|
|
|
|
|
2006-08-10 03:30:18 +00:00
|
|
|
include_transportdir = $(include_thriftdir)/transport
|
2006-08-04 03:16:10 +00:00
|
|
|
include_transport_HEADERS = \
|
2006-12-09 00:58:15 +00:00
|
|
|
src/transport/TFileTransport.h \
|
2006-07-21 19:53:48 +00:00
|
|
|
src/transport/TServerSocket.h \
|
|
|
|
src/transport/TServerTransport.h \
|
2007-02-27 05:16:23 +00:00
|
|
|
src/transport/THttpClient.h \
|
2006-07-21 19:53:48 +00:00
|
|
|
src/transport/TSocket.h \
|
|
|
|
src/transport/TTransport.h \
|
2006-09-07 01:26:35 +00:00
|
|
|
src/transport/TTransportException.h \
|
2006-10-25 19:02:49 +00:00
|
|
|
src/transport/TTransportUtils.h
|
2006-08-04 03:16:10 +00:00
|
|
|
|
2006-08-10 03:30:18 +00:00
|
|
|
include_serverdir = $(include_thriftdir)/server
|
2006-08-04 03:16:10 +00:00
|
|
|
include_server_HEADERS = \
|
|
|
|
src/server/TServer.h \
|
2006-08-03 18:58:09 +00:00
|
|
|
src/server/TSimpleServer.h \
|
2006-10-10 01:37:40 +00:00
|
|
|
src/server/TThreadPoolServer.h \
|
2007-02-01 22:55:00 +00:00
|
|
|
src/server/TThreadedServer.h \
|
2006-10-10 01:37:40 +00:00
|
|
|
src/server/TNonblockingServer.h
|
2006-07-21 19:53:48 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = concurrency_test
|
|
|
|
|
2006-10-25 01:36:44 +00:00
|
|
|
concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \
|
2006-07-21 19:53:48 +00:00
|
|
|
src/concurrency/test/ThreadFactoryTests.h \
|
|
|
|
src/concurrency/test/ThreadManagerTests.h \
|
|
|
|
src/concurrency/test/TimerManagerTests.h
|
|
|
|
|
2006-08-09 01:20:16 +00:00
|
|
|
concurrency_test_LDADD = libthrift.la
|
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)
|