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
|
|
|
|
2007-01-25 07:58:55 +00:00
|
|
|
AM_YFLAGS = -d
|
2011-08-29 18:22:11 +00:00
|
|
|
LIBS =
|
2008-06-30 20:24:24 +00:00
|
|
|
BUILT_SOURCES =
|
2007-01-25 07:58:55 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = thrift
|
|
|
|
|
2010-11-24 21:58:05 +00:00
|
|
|
noinst_LIBRARIES = libparse.a
|
|
|
|
|
2007-01-25 07:58:55 +00:00
|
|
|
thrift_OBJDIR = obj
|
|
|
|
|
2010-11-24 21:58:05 +00:00
|
|
|
thrift_SOURCES = src/main.cc \
|
2008-05-04 03:00:22 +00:00
|
|
|
src/md5.c \
|
2007-01-25 07:58:55 +00:00
|
|
|
src/generate/t_generator.cc \
|
2010-08-04 18:51:57 +00:00
|
|
|
src/generate/t_generator_registry.h \
|
2007-11-20 05:13:09 +00:00
|
|
|
src/globals.h \
|
|
|
|
src/main.h \
|
2008-01-11 20:59:03 +00:00
|
|
|
src/platform.h \
|
2007-11-20 05:13:09 +00:00
|
|
|
src/md5.h \
|
|
|
|
src/parse/t_doc.h \
|
|
|
|
src/parse/t_type.h \
|
|
|
|
src/parse/t_base_type.h \
|
|
|
|
src/parse/t_enum.h \
|
|
|
|
src/parse/t_enum_value.h \
|
|
|
|
src/parse/t_typedef.h \
|
|
|
|
src/parse/t_container.h \
|
|
|
|
src/parse/t_list.h \
|
|
|
|
src/parse/t_set.h \
|
|
|
|
src/parse/t_map.h \
|
|
|
|
src/parse/t_struct.h \
|
|
|
|
src/parse/t_field.h \
|
|
|
|
src/parse/t_service.h \
|
|
|
|
src/parse/t_function.h \
|
|
|
|
src/parse/t_program.h \
|
|
|
|
src/parse/t_scope.h \
|
|
|
|
src/parse/t_const.h \
|
|
|
|
src/parse/t_const_value.h \
|
2010-10-05 16:39:27 +00:00
|
|
|
src/parse/parse.cc \
|
2007-11-20 05:13:09 +00:00
|
|
|
src/generate/t_generator.h \
|
2011-11-16 12:58:36 +00:00
|
|
|
src/generate/t_oop_generator.h \
|
|
|
|
src/windows/config.h \
|
|
|
|
src/windows/version.h
|
2007-07-16 21:59:24 +00:00
|
|
|
|
2011-09-21 00:15:27 +00:00
|
|
|
# Specific client generator source
|
|
|
|
thrift_SOURCES += src/generate/t_c_glib_generator.cc \
|
|
|
|
src/generate/t_cpp_generator.cc \
|
|
|
|
src/generate/t_java_generator.cc \
|
|
|
|
src/generate/t_as3_generator.cc \
|
|
|
|
src/generate/t_csharp_generator.cc \
|
|
|
|
src/generate/t_py_generator.cc \
|
|
|
|
src/generate/t_rb_generator.cc \
|
|
|
|
src/generate/t_perl_generator.cc \
|
|
|
|
src/generate/t_php_generator.cc \
|
|
|
|
src/generate/t_erl_generator.cc \
|
|
|
|
src/generate/t_cocoa_generator.cc \
|
|
|
|
src/generate/t_st_generator.cc \
|
|
|
|
src/generate/t_ocaml_generator.cc \
|
|
|
|
src/generate/t_hs_generator.cc \
|
|
|
|
src/generate/t_xsd_generator.cc \
|
|
|
|
src/generate/t_html_generator.cc \
|
|
|
|
src/generate/t_js_generator.cc \
|
|
|
|
src/generate/t_javame_generator.cc \
|
2011-10-18 14:35:26 +00:00
|
|
|
src/generate/t_delphi_generator.cc \
|
2011-09-21 00:15:27 +00:00
|
|
|
src/generate/t_go_generator.cc
|
2008-02-27 01:55:33 +00:00
|
|
|
|
2010-11-24 21:58:05 +00:00
|
|
|
thrift_CPPFLAGS = -I$(srcdir)/src
|
2011-12-13 00:36:01 +00:00
|
|
|
thrift_CXXFLAGS = -Wall
|
2010-11-24 21:58:05 +00:00
|
|
|
thrift_LDADD = @LEXLIB@ libparse.a
|
|
|
|
|
|
|
|
libparse_a_CPPFLAGS = -I$(srcdir)/src
|
|
|
|
libparse_a_CXXFLAGS = -Wall -Wno-sign-compare -Wno-unused
|
2007-01-25 07:58:55 +00:00
|
|
|
|
2010-11-24 21:58:05 +00:00
|
|
|
libparse_a_SOURCES = src/thrifty.yy \
|
|
|
|
src/thriftl.ll
|
2007-01-25 07:58:55 +00:00
|
|
|
|
2011-11-16 12:58:36 +00:00
|
|
|
WINDOWS_DIST = \
|
|
|
|
compiler.sln \
|
|
|
|
compiler.vcxproj \
|
|
|
|
compiler.vcxproj.filters
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(WINDOWS_DIST)
|
2007-09-18 19:46:00 +00:00
|
|
|
|
2007-01-25 07:58:55 +00:00
|
|
|
clean-local:
|
2008-11-20 21:24:32 +00:00
|
|
|
$(RM) thriftl.cc thrifty.cc thrifty.h version.h
|
2008-06-30 20:24:24 +00:00
|
|
|
|
|
|
|
src/main.cc: version.h
|