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 = json xml 21PRECROSS_TARGET = 22 23if WITH_CPP 24SUBDIRS += cpp 25endif 26 27if WITH_C_GLIB 28SUBDIRS += c_glib 29endif 30 31if WITH_JAVA 32SUBDIRS += java 33PRECROSS_TARGET += precross-java 34# JavaScript unit test depends on java 35# so test only if java, ant & co is available 36SUBDIRS += js 37endif 38 39if WITH_KOTLIN 40SUBDIRS += kotlin 41PRECROSS_TARGET += precross-kotlin 42endif 43 44if WITH_PYTHON 45SUBDIRS += py 46endif 47 48if WITH_ERLANG 49SUBDIRS += erl 50endif 51 52if WITH_RUBY 53SUBDIRS += rb 54endif 55 56if WITH_PERL 57SUBDIRS += perl 58endif 59 60if WITH_PHP 61SUBDIRS += php 62endif 63 64if WITH_DART 65SUBDIRS += dart 66endif 67 68if WITH_DOTNET 69SUBDIRS += netstd 70endif 71 72if WITH_GO 73SUBDIRS += go 74endif 75 76if WITH_D 77SUBDIRS += d 78PRECROSS_TARGET += precross-d 79endif 80 81if WITH_NODEJS 82SUBDIRS += nodejs 83PRECROSS_TARGET += precross-nodejs 84SUBDIRS += nodets 85endif 86 87if WITH_LUA 88SUBDIRS += lua 89endif 90 91if WITH_RS 92SUBDIRS += rs 93endif 94 95if WITH_CL 96SUBDIRS += cl 97endif 98 99if WITH_SWIFT 100SUBDIRS += swift 101endif 102 103# All of the libs that don't use Automake need to go in here 104# so they will end up in our release tarballs. 105EXTRA_DIST = \ 106 d \ 107 dart \ 108 delphi \ 109 haxe \ 110 javame \ 111 js \ 112 ocaml \ 113 st \ 114 ts 115 116precross-%: 117 $(MAKE) -C $* precross 118precross: $(PRECROSS_TARGET) 119