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 20SUBDIRS = 21 22if MINGW 23# do nothing, just build the compiler 24else 25 26if WITH_C_GLIB 27SUBDIRS += c_glib 28endif 29 30if WITH_CPP 31SUBDIRS += cpp 32endif 33 34if WITH_D 35SUBDIRS += d 36endif 37 38if WITH_JAVA 39SUBDIRS += java 40SUBDIRS += js 41endif 42 43if WITH_PYTHON 44SUBDIRS += py 45SUBDIRS += py.twisted 46SUBDIRS += py.tornado 47endif 48 49if WITH_RUBY 50SUBDIRS += rb 51endif 52 53if WITH_HAXE 54SUBDIRS += haxe 55endif 56 57if WITH_DOTNET 58SUBDIRS += netstd 59endif 60 61if WITH_GO 62SUBDIRS += go 63endif 64 65if WITH_NODEJS 66SUBDIRS += nodejs 67endif 68 69if WITH_DART 70SUBDIRS += dart 71endif 72 73if WITH_RS 74SUBDIRS += rs 75endif 76 77if WITH_CL 78SUBDIRS += cl 79endif 80 81if WITH_PERL 82SUBDIRS += perl 83endif 84 85if WITH_PHP 86SUBDIRS += php 87endif 88 89if WITH_SWIFT 90SUBDIRS += swift 91endif 92 93# 94# generate html for tutorial.thrift 95# 96all-local: 97 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift 98 99clean-local: 100 rm -rf $(top_srcdir)/tutorial/gen-html 101 102endif 103 104# Any folders or files not listed above being added to SUBDIR need to be placed here in 105# EXTRA_DIST to be included in the release 106EXTRA_DIST = \ 107 d \ 108 delphi \ 109 erl \ 110 ocaml \ 111 shared.thrift \ 112 tutorial.thrift \ 113 README.md 114