Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 1 | # |
| 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 | # |
Kevin Wojniak | a392566 | 2019-07-01 11:07:45 -0700 | [diff] [blame] | 19 | AUTOMAKE_OPTIONS = serial-tests nostdinc |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 20 | SUBDIRS = . test |
| 21 | |
| 22 | pkgconfigdir = $(libdir)/pkgconfig |
| 23 | |
| 24 | lib_LTLIBRARIES = libthrift_c_glib.la |
| 25 | pkgconfig_DATA = thrift_c_glib.pc |
| 26 | |
Simon South | 31186c4 | 2015-08-01 17:00:50 +0000 | [diff] [blame] | 27 | AM_CPPFLAGS = -Isrc -I src/thrift/c_glib |
Simon South | b62093d | 2015-08-01 17:05:08 +0000 | [diff] [blame] | 28 | AM_CFLAGS = -Wall -Wextra -pedantic |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 29 | |
| 30 | # Define the source files for the module |
| 31 | |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 32 | libthrift_c_glib_la_SOURCES = src/thrift/c_glib/thrift.c \ |
| 33 | src/thrift/c_glib/thrift_struct.c \ |
| 34 | src/thrift/c_glib/thrift_application_exception.c \ |
zeshuai007 | c80b8bb | 2020-07-23 09:43:41 +0800 | [diff] [blame] | 35 | src/thrift/c_glib/thrift_configuration.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 36 | src/thrift/c_glib/processor/thrift_processor.c \ |
Roger Meier | 63243c6 | 2014-09-29 20:29:58 +0200 | [diff] [blame] | 37 | src/thrift/c_glib/processor/thrift_dispatch_processor.c \ |
Gonzalo Aguilar Delgado | 87ad2bc | 2017-09-15 12:26:02 +0200 | [diff] [blame] | 38 | src/thrift/c_glib/processor/thrift_multiplexed_processor.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 39 | src/thrift/c_glib/protocol/thrift_protocol.c \ |
Gonzalo Aguilar Delgado | bc0082e | 2016-03-04 13:16:22 +0100 | [diff] [blame] | 40 | src/thrift/c_glib/protocol/thrift_protocol_decorator.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 41 | src/thrift/c_glib/protocol/thrift_protocol_factory.c \ |
| 42 | src/thrift/c_glib/protocol/thrift_binary_protocol.c \ |
Gonzalo Aguilar Delgado | 87ad2bc | 2017-09-15 12:26:02 +0200 | [diff] [blame] | 43 | src/thrift/c_glib/protocol/thrift_stored_message_protocol.c \ |
Gonzalo Aguilar Delgado | bc0082e | 2016-03-04 13:16:22 +0100 | [diff] [blame] | 44 | src/thrift/c_glib/protocol/thrift_multiplexed_protocol.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 45 | src/thrift/c_glib/protocol/thrift_binary_protocol_factory.c \ |
Chandler May | 6dde90b | 2016-01-10 06:01:10 +0000 | [diff] [blame] | 46 | src/thrift/c_glib/protocol/thrift_compact_protocol.c \ |
| 47 | src/thrift/c_glib/protocol/thrift_compact_protocol_factory.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 48 | src/thrift/c_glib/transport/thrift_transport.c \ |
| 49 | src/thrift/c_glib/transport/thrift_transport_factory.c \ |
Roger Meier | 63243c6 | 2014-09-29 20:29:58 +0200 | [diff] [blame] | 50 | src/thrift/c_glib/transport/thrift_buffered_transport_factory.c \ |
| 51 | src/thrift/c_glib/transport/thrift_framed_transport_factory.c \ |
zeshuai007 | 037753e | 2020-11-30 11:16:10 +0800 | [diff] [blame] | 52 | src/thrift/c_glib/transport/thrift_zlib_transport_factory.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 53 | src/thrift/c_glib/transport/thrift_socket.c \ |
James E. King, III | 36628a2 | 2017-02-13 15:25:41 -0500 | [diff] [blame] | 54 | src/thrift/c_glib/transport/thrift_ssl_socket.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 55 | src/thrift/c_glib/transport/thrift_server_transport.c \ |
| 56 | src/thrift/c_glib/transport/thrift_server_socket.c \ |
| 57 | src/thrift/c_glib/transport/thrift_buffered_transport.c \ |
Simon South | e71f20c | 2016-02-11 06:52:37 -0500 | [diff] [blame] | 58 | src/thrift/c_glib/transport/thrift_fd_transport.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 59 | src/thrift/c_glib/transport/thrift_framed_transport.c \ |
zeshuai007 | 037753e | 2020-11-30 11:16:10 +0800 | [diff] [blame] | 60 | src/thrift/c_glib/transport/thrift_zlib_transport.c \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 61 | src/thrift/c_glib/transport/thrift_memory_buffer.c \ |
| 62 | src/thrift/c_glib/server/thrift_server.c \ |
| 63 | src/thrift/c_glib/server/thrift_simple_server.c |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 64 | |
Kevin Wojniak | a392566 | 2019-07-01 11:07:45 -0700 | [diff] [blame] | 65 | libthrift_c_glib_la_CFLAGS = $(AM_CFLAGS) $(GLIB_CFLAGS) $(GOBJECT_CFLAGS) $(OPENSSL_INCLUDES) -I$(top_builddir)/lib/c_glib/src/thrift |
zeshuai007 | 037753e | 2020-11-30 11:16:10 +0800 | [diff] [blame] | 66 | libthrift_c_glib_la_LDFLAGS = $(AM_LDFLAGS) $(GLIB_LIBS) $(GOBJECT_LIBS) $(OPENSSL_LDFLAGS) $(OPENSSL_LIBS) $(ZLIB_LDFLAGS) $(ZLIB_LIBS) |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 67 | |
Jake Farrell | 363f6d4 | 2012-03-02 02:50:50 +0000 | [diff] [blame] | 68 | include_thriftdir = $(includedir)/thrift/c_glib |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 69 | include_thrift_HEADERS = \ |
| 70 | $(top_builddir)/config.h \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 71 | src/thrift/c_glib/thrift.h \ |
| 72 | src/thrift/c_glib/thrift_application_exception.h \ |
zeshuai007 | c80b8bb | 2020-07-23 09:43:41 +0800 | [diff] [blame] | 73 | src/thrift/c_glib/thrift_struct.h \ |
| 74 | src/thrift/c_glib/thrift_configuration.h |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 75 | |
| 76 | include_protocoldir = $(include_thriftdir)/protocol |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 77 | include_protocol_HEADERS = src/thrift/c_glib/protocol/thrift_protocol.h \ |
Gonzalo Aguilar Delgado | bc0082e | 2016-03-04 13:16:22 +0100 | [diff] [blame] | 78 | src/thrift/c_glib/protocol/thrift_protocol_decorator.h \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 79 | src/thrift/c_glib/protocol/thrift_protocol_factory.h \ |
| 80 | src/thrift/c_glib/protocol/thrift_binary_protocol.h \ |
Chandler May | 6dde90b | 2016-01-10 06:01:10 +0000 | [diff] [blame] | 81 | src/thrift/c_glib/protocol/thrift_binary_protocol_factory.h \ |
| 82 | src/thrift/c_glib/protocol/thrift_compact_protocol.h \ |
Gonzalo Aguilar Delgado | bc0082e | 2016-03-04 13:16:22 +0100 | [diff] [blame] | 83 | src/thrift/c_glib/protocol/thrift_compact_protocol_factory.h \ |
Gonzalo Aguilar Delgado | 87ad2bc | 2017-09-15 12:26:02 +0200 | [diff] [blame] | 84 | src/thrift/c_glib/protocol/thrift_multiplexed_protocol.h \ |
| 85 | src/thrift/c_glib/protocol/thrift_stored_message_protocol.h |
| 86 | |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 87 | |
| 88 | include_transportdir = $(include_thriftdir)/transport |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 89 | include_transport_HEADERS = src/thrift/c_glib/transport/thrift_buffered_transport.h \ |
Simon South | e71f20c | 2016-02-11 06:52:37 -0500 | [diff] [blame] | 90 | src/thrift/c_glib/transport/thrift_fd_transport.h \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 91 | src/thrift/c_glib/transport/thrift_framed_transport.h \ |
zeshuai007 | 037753e | 2020-11-30 11:16:10 +0800 | [diff] [blame] | 92 | src/thrift/c_glib/transport/thrift_zlib_transport.h \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 93 | src/thrift/c_glib/transport/thrift_memory_buffer.h \ |
| 94 | src/thrift/c_glib/transport/thrift_server_socket.h \ |
| 95 | src/thrift/c_glib/transport/thrift_server_transport.h \ |
| 96 | src/thrift/c_glib/transport/thrift_socket.h \ |
James E. King, III | 36628a2 | 2017-02-13 15:25:41 -0500 | [diff] [blame] | 97 | src/thrift/c_glib/transport/thrift_platform_socket.h \ |
| 98 | src/thrift/c_glib/transport/thrift_ssl_socket.h \ |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 99 | src/thrift/c_glib/transport/thrift_transport.h \ |
Roger Meier | 63243c6 | 2014-09-29 20:29:58 +0200 | [diff] [blame] | 100 | src/thrift/c_glib/transport/thrift_transport_factory.h \ |
| 101 | src/thrift/c_glib/transport/thrift_buffered_transport_factory.h \ |
zeshuai007 | 037753e | 2020-11-30 11:16:10 +0800 | [diff] [blame] | 102 | src/thrift/c_glib/transport/thrift_framed_transport_factory.h \ |
| 103 | src/thrift/c_glib/transport/thrift_zlib_transport_factory.h |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 104 | |
| 105 | include_serverdir = $(include_thriftdir)/server |
Roger Meier | e3da768 | 2013-01-11 11:41:53 +0100 | [diff] [blame] | 106 | include_server_HEADERS = src/thrift/c_glib/server/thrift_server.h \ |
| 107 | src/thrift/c_glib/server/thrift_simple_server.h |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 108 | |
| 109 | include_processordir = $(include_thriftdir)/processor |
Roger Meier | 63243c6 | 2014-09-29 20:29:58 +0200 | [diff] [blame] | 110 | include_processor_HEADERS = src/thrift/c_glib/processor/thrift_processor.h \ |
Gonzalo Aguilar Delgado | 87ad2bc | 2017-09-15 12:26:02 +0200 | [diff] [blame] | 111 | src/thrift/c_glib/processor/thrift_dispatch_processor.h \ |
| 112 | src/thrift/c_glib/processor/thrift_multiplexed_processor.h |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 113 | |
| 114 | |
| 115 | EXTRA_DIST = \ |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 116 | CMakeLists.txt \ |
| 117 | coding_standards.md \ |
Roger Meier | 16fcad0 | 2014-03-16 21:12:11 +0100 | [diff] [blame] | 118 | README.md \ |
Jake Farrell | e0c5316 | 2011-11-16 12:58:36 +0000 | [diff] [blame] | 119 | test/glib.suppress \ |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 120 | thrift_c_glib.pc.in |
| 121 | |
| 122 | CLEANFILES = \ |
| 123 | *.gcno \ |
| 124 | *.gcda |