mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 03:08:53 +00:00
bc3dddb91c
Summary: Someone thought it would be a good idea to have two different signatures for strerror_r, with subtly different semantics (strlcpy = smart). We now work properly with either of them. Also fixed a test to work on 32-bit, you sloppy <expletive>s. Reviewed By: mcslee Test Plan: Rebuild thrift. Force one of these errors to be thrown. Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665215 13f79535-47bb-0310-9956-ffa450edef68
96 lines
3.9 KiB
Makefile
96 lines
3.9 KiB
Makefile
lib_LTLIBRARIES = libthrift.la libthriftnb.la
|
|
|
|
common_cxxflags = -Wall -Isrc $(BOOST_CPPFLAGS) $(EVENT_CPPFLAGS)
|
|
common_ldflags = -Wall $(BOOST_LDFLAGS) $(EVENT_LDFLAGS)
|
|
|
|
# Define the source file for the module
|
|
|
|
libthrift_sources = src/Thrift.cpp \
|
|
src/concurrency/Mutex.cpp \
|
|
src/concurrency/Monitor.cpp \
|
|
src/concurrency/PosixThreadFactory.cpp \
|
|
src/concurrency/ThreadManager.cpp \
|
|
src/concurrency/TimerManager.cpp \
|
|
src/processor/PeekProcessor.cpp \
|
|
src/protocol/TBinaryProtocol.cpp \
|
|
src/protocol/TDebugProtocol.cpp \
|
|
src/transport/TTransportException.cpp \
|
|
src/transport/TFileTransport.cpp \
|
|
src/transport/THttpClient.cpp \
|
|
src/transport/TSocket.cpp \
|
|
src/transport/TSocketPool.cpp \
|
|
src/transport/TServerSocket.cpp \
|
|
src/transport/TTransportUtils.cpp \
|
|
src/server/TSimpleServer.cpp \
|
|
src/server/TThreadPoolServer.cpp \
|
|
src/server/TThreadedServer.cpp
|
|
|
|
libthriftnb_sources = src/server/TNonblockingServer.cpp
|
|
|
|
libthrift_la_SOURCES = $(libthrift_sources)
|
|
libthriftnb_la_SOURCES = $(libthriftnb_sources)
|
|
|
|
libthrift_cxxflags = $(common_cxxflags)
|
|
libthrift_ldflags = $(common_ldflags)
|
|
|
|
libthrift_la_CXXFLAGS = $(libthrift_cxxflags)
|
|
libthriftnb_la_CXXFLAGS = $(libthrift_cxxflags)
|
|
|
|
include_thriftdir = $(includedir)/thrift
|
|
include_thrift_HEADERS = \
|
|
config.h \
|
|
src/Thrift.h \
|
|
src/TProcessor.h \
|
|
src/TLogging.h
|
|
|
|
include_concurrencydir = $(include_thriftdir)/concurrency
|
|
include_concurrency_HEADERS = \
|
|
src/concurrency/Exception.h \
|
|
src/concurrency/Mutex.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/TDebugProtocol.h \
|
|
src/protocol/TOneWayProtocol.h \
|
|
src/protocol/TProtocolException.h \
|
|
src/protocol/TProtocol.h
|
|
|
|
include_transportdir = $(include_thriftdir)/transport
|
|
include_transport_HEADERS = \
|
|
src/transport/TFileTransport.h \
|
|
src/transport/TServerSocket.h \
|
|
src/transport/TServerTransport.h \
|
|
src/transport/THttpClient.h \
|
|
src/transport/TSocket.h \
|
|
src/transport/TSocketPool.h \
|
|
src/transport/TTransport.h \
|
|
src/transport/TTransportException.h \
|
|
src/transport/TTransportUtils.h
|
|
|
|
include_serverdir = $(include_thriftdir)/server
|
|
include_server_HEADERS = \
|
|
src/server/TServer.h \
|
|
src/server/TSimpleServer.h \
|
|
src/server/TThreadPoolServer.h \
|
|
src/server/TThreadedServer.h \
|
|
src/server/TNonblockingServer.h
|
|
|
|
bin_PROGRAMS = concurrency_test
|
|
|
|
concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \
|
|
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)
|