Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [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 | # |
| 19 | # |
| 20 | # Contains some contributions under the Thrift Software License. |
| 21 | # Please see doc/old-thrift-license.txt in the Thrift distribution for |
| 22 | # details. |
| 23 | |
| 24 | AUTOMAKE_OPTIONS = subdir-objects |
| 25 | |
| 26 | AM_YFLAGS = -d |
| 27 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 28 | BUILT_SOURCES = thrift/thrifty.cc |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 29 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 30 | noinst_LIBRARIES = thrift/libparse.a |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 31 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 32 | thrift_libparse_a_CPPFLAGS = -I$(srcdir) |
| 33 | thrift_libparse_a_CXXFLAGS = -Wall -Wno-sign-compare -Wno-unused |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 34 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 35 | thrift_libparse_a_SOURCES = thrift/thrifty.yy \ |
| 36 | thrift/thriftl.ll |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 37 | |
| 38 | clean-local: |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 39 | $(RM) thrift/thriftl.cc thrift/thrifty.cc thrift/thrifty.h thrift/thrifty.hh |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 40 | |
| 41 | if WITH_PLUGIN |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 42 | noinst_PROGRAMS = thrift/thrift-bootstrap |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 43 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 44 | thrift_thrift_bootstrap_SOURCES = \ |
| 45 | thrift/common.h \ |
| 46 | thrift/common.cc \ |
| 47 | thrift/audit/t_audit.h \ |
| 48 | thrift/audit/t_audit.cpp \ |
| 49 | thrift/generate/t_generator.cc \ |
| 50 | thrift/generate/t_generator_registry.h \ |
| 51 | thrift/globals.h \ |
| 52 | thrift/platform.h \ |
| 53 | thrift/logging.h \ |
| 54 | thrift/parse/t_doc.h \ |
| 55 | thrift/parse/t_type.h \ |
| 56 | thrift/parse/t_base_type.h \ |
| 57 | thrift/parse/t_enum.h \ |
| 58 | thrift/parse/t_enum_value.h \ |
| 59 | thrift/parse/t_typedef.h \ |
| 60 | thrift/parse/t_typedef.cc \ |
| 61 | thrift/parse/t_container.h \ |
| 62 | thrift/parse/t_list.h \ |
| 63 | thrift/parse/t_set.h \ |
| 64 | thrift/parse/t_map.h \ |
| 65 | thrift/parse/t_struct.h \ |
| 66 | thrift/parse/t_field.h \ |
| 67 | thrift/parse/t_service.h \ |
| 68 | thrift/parse/t_function.h \ |
| 69 | thrift/parse/t_program.h \ |
| 70 | thrift/parse/t_scope.h \ |
| 71 | thrift/parse/t_const.h \ |
| 72 | thrift/parse/t_const_value.h \ |
| 73 | thrift/parse/parse.cc \ |
| 74 | thrift/generate/t_generator.h \ |
| 75 | thrift/generate/t_oop_generator.h \ |
| 76 | thrift/generate/t_html_generator.h \ |
| 77 | thrift/windows/config.h \ |
Nobuaki Sukegawa | d8c6a84 | 2016-10-02 14:21:55 +0900 | [diff] [blame] | 78 | thrift/version.h \ |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 79 | thrift/generate/t_cpp_generator.cc \ |
| 80 | thrift/main.h \ |
| 81 | thrift/main.cc |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 82 | |
| 83 | main.cc: version.h |
| 84 | |
dtmuller | 052abc3 | 2016-07-26 11:58:28 +0200 | [diff] [blame] | 85 | thrift_thrift_bootstrap_CXXFLAGS = -Wall -Wextra -pedantic |
| 86 | thrift_thrift_bootstrap_LDADD = @LEXLIB@ thrift/libparse.a |
Nobuaki Sukegawa | 11da87e | 2016-09-10 14:02:19 +0900 | [diff] [blame] | 87 | endif |