David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [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 | |
Nobuaki Sukegawa | 4b7dbe3 | 2016-05-25 12:09:02 +0900 | [diff] [blame] | 20 | SUBDIRS = json xml |
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 21 | PRECROSS_TARGET = |
David Reiss | ea4c981 | 2010-08-31 16:51:21 +0000 | [diff] [blame] | 22 | |
| 23 | if WITH_CPP |
| 24 | SUBDIRS += cpp |
| 25 | endif |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 26 | |
Roger Meier | 213a664 | 2010-10-27 12:30:11 +0000 | [diff] [blame] | 27 | if WITH_C_GLIB |
| 28 | SUBDIRS += c_glib |
| 29 | endif |
| 30 | |
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 31 | if WITH_JAVA |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 32 | SUBDIRS += java |
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 33 | PRECROSS_TARGET += precross-java |
Roger Meier | f249576 | 2011-03-17 19:13:36 +0000 | [diff] [blame] | 34 | # JavaScript unit test depends on java |
| 35 | # so test only if java, ant & co is available |
Nobuaki Sukegawa | 4b7dbe3 | 2016-05-25 12:09:02 +0900 | [diff] [blame] | 36 | SUBDIRS += js |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 37 | endif |
| 38 | |
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 39 | if WITH_PYTHON |
David Reiss | 1a14091 | 2008-06-11 01:16:37 +0000 | [diff] [blame] | 40 | SUBDIRS += py |
| 41 | endif |
| 42 | |
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 43 | if WITH_ERLANG |
David Reiss | 9f2a5d7 | 2008-06-11 01:15:45 +0000 | [diff] [blame] | 44 | SUBDIRS += erl |
Christopher Piro | b6f18c2 | 2008-03-04 07:09:12 +0000 | [diff] [blame] | 45 | endif |
| 46 | |
David Reiss | 8d07e1d | 2008-07-11 08:04:12 +0000 | [diff] [blame] | 47 | if WITH_RUBY |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 48 | SUBDIRS += rb |
| 49 | endif |
| 50 | |
T Jake Luciani | 1952e54 | 2009-02-01 04:47:30 +0000 | [diff] [blame] | 51 | if WITH_PERL |
| 52 | SUBDIRS += perl |
| 53 | endif |
| 54 | |
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 55 | if WITH_PHP |
| 56 | SUBDIRS += php |
| 57 | endif |
| 58 | |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 59 | if WITH_DART |
| 60 | SUBDIRS += dart |
| 61 | endif |
| 62 | |
Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 63 | if WITH_DOTNET |
Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 64 | SUBDIRS += netstd |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 65 | endif |
| 66 | |
Jens Geyer | 0e87c46 | 2013-06-18 22:25:07 +0200 | [diff] [blame] | 67 | if WITH_GO |
| 68 | SUBDIRS += go |
| 69 | endif |
| 70 | |
Jake Farrell | b95b0ff | 2012-03-22 21:49:10 +0000 | [diff] [blame] | 71 | if WITH_D |
| 72 | SUBDIRS += d |
Nobuaki Sukegawa | 8b791b2 | 2016-03-05 13:40:25 +0900 | [diff] [blame] | 73 | PRECROSS_TARGET += precross-d |
Jake Farrell | b95b0ff | 2012-03-22 21:49:10 +0000 | [diff] [blame] | 74 | endif |
| 75 | |
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 76 | if WITH_NODEJS |
| 77 | SUBDIRS += nodejs |
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 78 | PRECROSS_TARGET += precross-nodejs |
wilfrem | 2c69b5a | 2015-04-20 19:24:50 +0900 | [diff] [blame] | 79 | SUBDIRS += nodets |
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 80 | endif |
| 81 | |
Roger Meier | 6cf0ffc | 2014-04-05 00:45:42 +0200 | [diff] [blame] | 82 | if WITH_LUA |
| 83 | SUBDIRS += lua |
| 84 | endif |
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 85 | |
Allen George | 8b96bfb | 2016-11-02 08:01:08 -0400 | [diff] [blame] | 86 | if WITH_RS |
| 87 | SUBDIRS += rs |
| 88 | endif |
| 89 | |
Tomek Kurcz | e93a901 | 2017-09-19 09:16:43 +0200 | [diff] [blame] | 90 | if WITH_CL |
| 91 | SUBDIRS += cl |
| 92 | endif |
| 93 | |
James E. King III | a3a7c6c | 2018-12-31 17:17:34 -0500 | [diff] [blame] | 94 | if WITH_SWIFT |
| 95 | SUBDIRS += swift |
| 96 | endif |
| 97 | |
David Reiss | b87d84d | 2008-07-11 08:02:29 +0000 | [diff] [blame] | 98 | # All of the libs that don't use Automake need to go in here |
| 99 | # so they will end up in our release tarballs. |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 100 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 101 | d \ |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 102 | dart \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 103 | delphi \ |
Jens Geyer | 65e9bde | 2014-11-11 01:30:02 +0100 | [diff] [blame] | 104 | haxe \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 105 | javame \ |
| 106 | js \ |
| 107 | ocaml \ |
| 108 | st \ |
| 109 | ts |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 110 | |
| 111 | precross-%: |
| 112 | $(MAKE) -C $* precross |
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 113 | precross: $(PRECROSS_TARGET) |