thrift/lib/cpp/Makefile.am

78 lines
3.0 KiB
Makefile
Raw Normal View History

lib_LTLIBRARIES = libthrift.la
common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS)
common_ldflags = -Wall $(BOOST_LDFLAGS)
# Define the source file for the module
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/TFramedTransport.cc \
src/transport/TSocket.cc \
src/transport/TServerSocket.cc \
src/server/TSimpleServer.cc \
src/server/TThreadPoolServer.cc
libthrift_la_SOURCES = $(libthrift_sources)
libthrift_cxxflags = $(common_cxxflags)
libthrift_ldflags = $(common_ldflags)
libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
include_thriftdir = $(includedir)/thrift
include_thrift_HEADERS = \
config.h \
src/Thrift.h \
src/TProcessor.h
include_concurrencydir = $(include_thriftdir)/concurrency
include_concurrency_HEADERS = \
src/concurrency/Exception.h \
src/concurrency/Monitor.h \
src/concurrency/PosixThreadFactory.h \
src/concurrency/Thread.h \
src/concurrency/ThreadManager.h \
src/concurrency/TimerManager.h \
src/concurrency/Util.h
include_protocoldir = $(include_thriftdir)/protocol
include_protocol_HEADERS = \
src/protocol/TBinaryProtocol.h \
src/protocol/TProtocol.h
include_transportdir = $(include_thriftdir)/transport
include_transport_HEADERS = \
src/transport/TBufferedTransport.h \
src/transport/TFramedTransport.h \
src/transport/TNullTransport.h \
src/transport/TServerSocket.h \
src/transport/TServerTransport.h \
src/transport/TSocket.h \
src/transport/TTransport.h \
src/transport/TTransportException.h \
src/transport/TTransportFactory.h \
src/transport/TBufferedTransportFactory.h
include_serverdir = $(include_thriftdir)/server
include_server_HEADERS = \
src/server/TServer.h \
src/server/TSimpleServer.h \
src/server/TThreadPoolServer.h
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
concurrency_test_LDADD = libthrift.la
concurrency_test_CXXFLAGS = $(common_cxxflags)
concurrency_test_LDFLAGS = $(common_ldflags)