2010-10-27 12:30:11 +00:00
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
2014-10-22 12:09:43 +00:00
|
|
|
AUTOMAKE_OPTIONS = serial-tests
|
2010-10-27 12:30:11 +00:00
|
|
|
SUBDIRS = . test
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libthrift_c_glib.la
|
|
|
|
pkgconfig_DATA = thrift_c_glib.pc
|
|
|
|
|
2015-08-01 17:00:50 +00:00
|
|
|
AM_CPPFLAGS = -Isrc -I src/thrift/c_glib
|
2015-08-01 17:05:08 +00:00
|
|
|
AM_CFLAGS = -Wall -Wextra -pedantic
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
# Define the source files for the module
|
|
|
|
|
2013-01-11 10:41:53 +00:00
|
|
|
libthrift_c_glib_la_SOURCES = src/thrift/c_glib/thrift.c \
|
|
|
|
src/thrift/c_glib/thrift_struct.c \
|
|
|
|
src/thrift/c_glib/thrift_application_exception.c \
|
|
|
|
src/thrift/c_glib/processor/thrift_processor.c \
|
2014-09-29 18:29:58 +00:00
|
|
|
src/thrift/c_glib/processor/thrift_dispatch_processor.c \
|
2013-01-11 10:41:53 +00:00
|
|
|
src/thrift/c_glib/protocol/thrift_protocol.c \
|
|
|
|
src/thrift/c_glib/protocol/thrift_protocol_factory.c \
|
|
|
|
src/thrift/c_glib/protocol/thrift_binary_protocol.c \
|
|
|
|
src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_transport.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_transport_factory.c \
|
2014-09-29 18:29:58 +00:00
|
|
|
src/thrift/c_glib/transport/thrift_buffered_transport_factory.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_framed_transport_factory.c \
|
2013-01-11 10:41:53 +00:00
|
|
|
src/thrift/c_glib/transport/thrift_socket.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_server_transport.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_server_socket.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_buffered_transport.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_framed_transport.c \
|
|
|
|
src/thrift/c_glib/transport/thrift_memory_buffer.c \
|
|
|
|
src/thrift/c_glib/server/thrift_server.c \
|
|
|
|
src/thrift/c_glib/server/thrift_simple_server.c
|
2010-10-27 12:30:11 +00:00
|
|
|
|
2014-11-24 19:12:52 +00:00
|
|
|
libthrift_c_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
|
2010-10-27 12:30:11 +00:00
|
|
|
|
2012-03-02 02:50:50 +00:00
|
|
|
include_thriftdir = $(includedir)/thrift/c_glib
|
2010-10-27 12:30:11 +00:00
|
|
|
include_thrift_HEADERS = \
|
|
|
|
$(top_builddir)/config.h \
|
2013-01-11 10:41:53 +00:00
|
|
|
src/thrift/c_glib/thrift.h \
|
|
|
|
src/thrift/c_glib/thrift_application_exception.h \
|
|
|
|
src/thrift/c_glib/thrift_struct.h
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
include_protocoldir = $(include_thriftdir)/protocol
|
2013-01-11 10:41:53 +00:00
|
|
|
include_protocol_HEADERS = src/thrift/c_glib/protocol/thrift_protocol.h \
|
|
|
|
src/thrift/c_glib/protocol/thrift_protocol_factory.h \
|
|
|
|
src/thrift/c_glib/protocol/thrift_binary_protocol.h \
|
|
|
|
src/thrift/c_glib/protocol/thrift_binary_protocol_factory.h
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
include_transportdir = $(include_thriftdir)/transport
|
2013-01-11 10:41:53 +00:00
|
|
|
include_transport_HEADERS = src/thrift/c_glib/transport/thrift_buffered_transport.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_framed_transport.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_memory_buffer.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_server_socket.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_server_transport.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_socket.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_transport.h \
|
2014-09-29 18:29:58 +00:00
|
|
|
src/thrift/c_glib/transport/thrift_transport_factory.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_buffered_transport_factory.h \
|
|
|
|
src/thrift/c_glib/transport/thrift_framed_transport_factory.h
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
include_serverdir = $(include_thriftdir)/server
|
2013-01-11 10:41:53 +00:00
|
|
|
include_server_HEADERS = src/thrift/c_glib/server/thrift_server.h \
|
|
|
|
src/thrift/c_glib/server/thrift_simple_server.h
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
include_processordir = $(include_thriftdir)/processor
|
2014-09-29 18:29:58 +00:00
|
|
|
include_processor_HEADERS = src/thrift/c_glib/processor/thrift_processor.h \
|
|
|
|
src/thrift/c_glib/processor/thrift_dispatch_processor.h
|
2010-10-27 12:30:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2014-03-16 20:12:11 +00:00
|
|
|
README.md \
|
2011-11-16 12:58:36 +00:00
|
|
|
test/glib.suppress \
|
2010-10-27 12:30:11 +00:00
|
|
|
thrift_c_glib.pc.in
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
*.gcno \
|
|
|
|
*.gcda
|