2009-03-30 21:35:00 +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.
|
|
|
|
#
|
2009-12-07 00:42:38 +00:00
|
|
|
#
|
|
|
|
# Contains some contributions under the Thrift Software License.
|
|
|
|
# Please see doc/old-thrift-license.txt in the Thrift distribution for
|
|
|
|
# details.
|
2009-03-30 21:35:00 +00:00
|
|
|
|
2019-07-01 18:07:45 +00:00
|
|
|
AUTOMAKE_OPTIONS = subdir-objects nostdinc
|
2007-01-25 07:58:55 +00:00
|
|
|
|
2019-01-26 14:15:19 +00:00
|
|
|
SUBDIRS = src .
|
2016-09-10 05:02:19 +00:00
|
|
|
if WITH_TESTS
|
|
|
|
SUBDIRS += test
|
|
|
|
endif
|
2007-01-25 07:58:55 +00:00
|
|
|
|
2016-09-10 05:02:19 +00:00
|
|
|
bin_PROGRAMS = thrift
|
2010-11-24 21:58:05 +00:00
|
|
|
|
2007-01-25 07:58:55 +00:00
|
|
|
thrift_OBJDIR = obj
|
|
|
|
|
2019-01-26 14:15:19 +00:00
|
|
|
thrift_SOURCES = src/thrift/audit/t_audit.cpp \
|
|
|
|
src/thrift/audit/t_audit.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/common.cc \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/common.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_generator.cc \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/generate/t_generator.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_generator_registry.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/generate/t_html_generator.h \
|
|
|
|
src/thrift/generate/t_oop_generator.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/globals.h \
|
|
|
|
src/thrift/logging.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/main.cc \
|
|
|
|
src/thrift/main.h \
|
2019-10-19 19:22:59 +00:00
|
|
|
src/thrift/version.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/parse/parse.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/parse/t_base_type.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/parse/t_const.h \
|
|
|
|
src/thrift/parse/t_const_value.h \
|
|
|
|
src/thrift/parse/t_container.h \
|
|
|
|
src/thrift/parse/t_doc.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/parse/t_enum.h \
|
|
|
|
src/thrift/parse/t_enum_value.h \
|
|
|
|
src/thrift/parse/t_field.h \
|
|
|
|
src/thrift/parse/t_function.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/parse/t_list.h \
|
|
|
|
src/thrift/parse/t_map.h \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/parse/t_program.h \
|
|
|
|
src/thrift/parse/t_scope.h \
|
2019-01-26 14:15:19 +00:00
|
|
|
src/thrift/parse/t_service.h \
|
|
|
|
src/thrift/parse/t_set.h \
|
|
|
|
src/thrift/parse/t_struct.h \
|
|
|
|
src/thrift/parse/t_type.h \
|
|
|
|
src/thrift/parse/t_typedef.cc \
|
|
|
|
src/thrift/parse/t_typedef.h \
|
2019-03-01 15:57:09 +00:00
|
|
|
src/thrift/platform.h
|
2016-09-10 05:02:19 +00:00
|
|
|
|
2011-09-21 00:15:27 +00:00
|
|
|
# Specific client generator source
|
2019-01-14 04:19:18 +00:00
|
|
|
thrift_SOURCES += src/thrift/generate/t_as3_generator.cc \
|
|
|
|
src/thrift/generate/t_c_glib_generator.cc \
|
|
|
|
src/thrift/generate/t_cl_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_cpp_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_csharp_generator.cc \
|
|
|
|
src/thrift/generate/t_d_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_dart_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_delphi_generator.cc \
|
|
|
|
src/thrift/generate/t_erl_generator.cc \
|
|
|
|
src/thrift/generate/t_go_generator.cc \
|
|
|
|
src/thrift/generate/t_gv_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_haxe_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_hs_generator.cc \
|
|
|
|
src/thrift/generate/t_html_generator.cc \
|
|
|
|
src/thrift/generate/t_java_generator.cc \
|
|
|
|
src/thrift/generate/t_javame_generator.cc \
|
|
|
|
src/thrift/generate/t_js_generator.cc \
|
|
|
|
src/thrift/generate/t_json_generator.cc \
|
|
|
|
src/thrift/generate/t_lua_generator.cc \
|
2019-01-28 22:27:45 +00:00
|
|
|
src/thrift/generate/t_netstd_generator.cc \
|
|
|
|
src/thrift/generate/t_netstd_generator.h \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_ocaml_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_perl_generator.cc \
|
|
|
|
src/thrift/generate/t_php_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_py_generator.cc \
|
|
|
|
src/thrift/generate/t_rb_generator.cc \
|
|
|
|
src/thrift/generate/t_rs_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_st_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_swift_generator.cc \
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/generate/t_xml_generator.cc \
|
2019-01-14 04:19:18 +00:00
|
|
|
src/thrift/generate/t_xsd_generator.cc
|
2008-02-27 01:55:33 +00:00
|
|
|
|
2010-11-24 21:58:05 +00:00
|
|
|
thrift_CPPFLAGS = -I$(srcdir)/src
|
2017-09-30 22:44:16 +00:00
|
|
|
thrift_CXXFLAGS = -Wall -Wextra -pedantic -Werror
|
2016-07-26 09:58:28 +00:00
|
|
|
thrift_LDADD = @LEXLIB@ src/thrift/libparse.a
|
2016-09-10 05:02:19 +00:00
|
|
|
|
2011-11-16 12:58:36 +00:00
|
|
|
WINDOWS_DIST = \
|
|
|
|
compiler.sln \
|
|
|
|
compiler.vcxproj \
|
2014-06-16 05:32:12 +00:00
|
|
|
compiler.vcxproj.filters
|
2011-11-16 12:58:36 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2015-08-25 04:39:29 +00:00
|
|
|
coding_standards.md \
|
2014-06-16 05:32:12 +00:00
|
|
|
README.md \
|
2014-07-10 13:14:51 +00:00
|
|
|
CMakeLists.txt \
|
2016-10-19 03:02:39 +00:00
|
|
|
test \
|
2011-11-16 12:58:36 +00:00
|
|
|
$(WINDOWS_DIST)
|
2007-09-18 19:46:00 +00:00
|
|
|
|
2019-10-19 19:22:59 +00:00
|
|
|
#clean-local:
|
|
|
|
# $(RM) version.h -- do not delete, we need it
|
2008-06-30 20:24:24 +00:00
|
|
|
|
2016-07-26 09:58:28 +00:00
|
|
|
src/thrift/main.cc: src/thrift/version.h
|
2014-11-13 14:33:38 +00:00
|
|
|
|
|
|
|
style-local:
|
2019-01-26 14:15:19 +00:00
|
|
|
$(CPPSTYLE_CMD)
|