blob: 4e0aa88067be4b04c99f80114626c6ca89b5ed5c [file] [log] [blame]
Roger Meier213a6642010-10-27 12:30:11 +00001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
Roger Meier81a1f992014-10-22 14:09:43 +020019AUTOMAKE_OPTIONS = serial-tests
Roger Meier213a6642010-10-27 12:30:11 +000020SUBDIRS = . test
21
22pkgconfigdir = $(libdir)/pkgconfig
23
24lib_LTLIBRARIES = libthrift_c_glib.la
25pkgconfig_DATA = thrift_c_glib.pc
26
Anatol Pomozov4bf97c12014-11-24 11:12:52 -080027AM_CFLAGS = -Isrc -I src/thrift/c_glib
Roger Meier213a6642010-10-27 12:30:11 +000028
29# Define the source files for the module
30
Roger Meiere3da7682013-01-11 11:41:53 +010031libthrift_c_glib_la_SOURCES = src/thrift/c_glib/thrift.c \
32 src/thrift/c_glib/thrift_struct.c \
33 src/thrift/c_glib/thrift_application_exception.c \
34 src/thrift/c_glib/processor/thrift_processor.c \
Roger Meier63243c62014-09-29 20:29:58 +020035 src/thrift/c_glib/processor/thrift_dispatch_processor.c \
Roger Meiere3da7682013-01-11 11:41:53 +010036 src/thrift/c_glib/protocol/thrift_protocol.c \
37 src/thrift/c_glib/protocol/thrift_protocol_factory.c \
38 src/thrift/c_glib/protocol/thrift_binary_protocol.c \
39 src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c \
40 src/thrift/c_glib/transport/thrift_transport.c \
41 src/thrift/c_glib/transport/thrift_transport_factory.c \
Roger Meier63243c62014-09-29 20:29:58 +020042 src/thrift/c_glib/transport/thrift_buffered_transport_factory.c \
43 src/thrift/c_glib/transport/thrift_framed_transport_factory.c \
Roger Meiere3da7682013-01-11 11:41:53 +010044 src/thrift/c_glib/transport/thrift_socket.c \
45 src/thrift/c_glib/transport/thrift_server_transport.c \
46 src/thrift/c_glib/transport/thrift_server_socket.c \
47 src/thrift/c_glib/transport/thrift_buffered_transport.c \
48 src/thrift/c_glib/transport/thrift_framed_transport.c \
49 src/thrift/c_glib/transport/thrift_memory_buffer.c \
50 src/thrift/c_glib/server/thrift_server.c \
51 src/thrift/c_glib/server/thrift_simple_server.c
Roger Meier213a6642010-10-27 12:30:11 +000052
Anatol Pomozov4bf97c12014-11-24 11:12:52 -080053libthrift_c_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS)
Roger Meier213a6642010-10-27 12:30:11 +000054
Jake Farrell363f6d42012-03-02 02:50:50 +000055include_thriftdir = $(includedir)/thrift/c_glib
Roger Meier213a6642010-10-27 12:30:11 +000056include_thrift_HEADERS = \
57 $(top_builddir)/config.h \
Roger Meiere3da7682013-01-11 11:41:53 +010058 src/thrift/c_glib/thrift.h \
59 src/thrift/c_glib/thrift_application_exception.h \
60 src/thrift/c_glib/thrift_struct.h
Roger Meier213a6642010-10-27 12:30:11 +000061
62include_protocoldir = $(include_thriftdir)/protocol
Roger Meiere3da7682013-01-11 11:41:53 +010063include_protocol_HEADERS = src/thrift/c_glib/protocol/thrift_protocol.h \
64 src/thrift/c_glib/protocol/thrift_protocol_factory.h \
65 src/thrift/c_glib/protocol/thrift_binary_protocol.h \
66 src/thrift/c_glib/protocol/thrift_binary_protocol_factory.h
Roger Meier213a6642010-10-27 12:30:11 +000067
68include_transportdir = $(include_thriftdir)/transport
Roger Meiere3da7682013-01-11 11:41:53 +010069include_transport_HEADERS = src/thrift/c_glib/transport/thrift_buffered_transport.h \
70 src/thrift/c_glib/transport/thrift_framed_transport.h \
71 src/thrift/c_glib/transport/thrift_memory_buffer.h \
72 src/thrift/c_glib/transport/thrift_server_socket.h \
73 src/thrift/c_glib/transport/thrift_server_transport.h \
74 src/thrift/c_glib/transport/thrift_socket.h \
75 src/thrift/c_glib/transport/thrift_transport.h \
Roger Meier63243c62014-09-29 20:29:58 +020076 src/thrift/c_glib/transport/thrift_transport_factory.h \
77 src/thrift/c_glib/transport/thrift_buffered_transport_factory.h \
78 src/thrift/c_glib/transport/thrift_framed_transport_factory.h
Roger Meier213a6642010-10-27 12:30:11 +000079
80include_serverdir = $(include_thriftdir)/server
Roger Meiere3da7682013-01-11 11:41:53 +010081include_server_HEADERS = src/thrift/c_glib/server/thrift_server.h \
82 src/thrift/c_glib/server/thrift_simple_server.h
Roger Meier213a6642010-10-27 12:30:11 +000083
84include_processordir = $(include_thriftdir)/processor
Roger Meier63243c62014-09-29 20:29:58 +020085include_processor_HEADERS = src/thrift/c_glib/processor/thrift_processor.h \
86 src/thrift/c_glib/processor/thrift_dispatch_processor.h
Roger Meier213a6642010-10-27 12:30:11 +000087
88
89EXTRA_DIST = \
Roger Meier16fcad02014-03-16 21:12:11 +010090 README.md \
Jake Farrelle0c53162011-11-16 12:58:36 +000091 test/glib.suppress \
Roger Meier213a6642010-10-27 12:30:11 +000092 thrift_c_glib.pc.in
93
94CLEANFILES = \
95 *.gcno \
96 *.gcda