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 | |||||
Jiayu Liu | 49b2d6b | 2022-04-06 16:49:09 +0800 | [diff] [blame] | 39 | if WITH_KOTLIN |
40 | SUBDIRS += kotlin | ||||
41 | PRECROSS_TARGET += precross-kotlin | ||||
42 | endif | ||||
43 | |||||
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 44 | if WITH_PYTHON |
David Reiss | 1a14091 | 2008-06-11 01:16:37 +0000 | [diff] [blame] | 45 | SUBDIRS += py |
46 | endif | ||||
47 | |||||
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 48 | if WITH_ERLANG |
David Reiss | 9f2a5d7 | 2008-06-11 01:15:45 +0000 | [diff] [blame] | 49 | SUBDIRS += erl |
Christopher Piro | b6f18c2 | 2008-03-04 07:09:12 +0000 | [diff] [blame] | 50 | endif |
51 | |||||
David Reiss | 8d07e1d | 2008-07-11 08:04:12 +0000 | [diff] [blame] | 52 | if WITH_RUBY |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 53 | SUBDIRS += rb |
54 | endif | ||||
55 | |||||
T Jake Luciani | 1952e54 | 2009-02-01 04:47:30 +0000 | [diff] [blame] | 56 | if WITH_PERL |
57 | SUBDIRS += perl | ||||
58 | endif | ||||
59 | |||||
Bryan Duxbury | 6a68187 | 2010-05-02 22:39:31 +0000 | [diff] [blame] | 60 | if WITH_PHP |
61 | SUBDIRS += php | ||||
62 | endif | ||||
63 | |||||
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 64 | if WITH_DART |
65 | SUBDIRS += dart | ||||
66 | endif | ||||
67 | |||||
Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 68 | if WITH_DOTNET |
Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 69 | SUBDIRS += netstd |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 70 | endif |
71 | |||||
Jens Geyer | 0e87c46 | 2013-06-18 22:25:07 +0200 | [diff] [blame] | 72 | if WITH_GO |
73 | SUBDIRS += go | ||||
74 | endif | ||||
75 | |||||
Jake Farrell | b95b0ff | 2012-03-22 21:49:10 +0000 | [diff] [blame] | 76 | if WITH_D |
77 | SUBDIRS += d | ||||
Nobuaki Sukegawa | 8b791b2 | 2016-03-05 13:40:25 +0900 | [diff] [blame] | 78 | PRECROSS_TARGET += precross-d |
Jake Farrell | b95b0ff | 2012-03-22 21:49:10 +0000 | [diff] [blame] | 79 | endif |
80 | |||||
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 81 | if WITH_NODEJS |
82 | SUBDIRS += nodejs | ||||
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 83 | PRECROSS_TARGET += precross-nodejs |
wilfrem | 2c69b5a | 2015-04-20 19:24:50 +0900 | [diff] [blame] | 84 | SUBDIRS += nodets |
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 85 | endif |
86 | |||||
Roger Meier | 6cf0ffc | 2014-04-05 00:45:42 +0200 | [diff] [blame] | 87 | if WITH_LUA |
88 | SUBDIRS += lua | ||||
89 | endif | ||||
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 90 | |
Allen George | 8b96bfb | 2016-11-02 08:01:08 -0400 | [diff] [blame] | 91 | if WITH_RS |
92 | SUBDIRS += rs | ||||
93 | endif | ||||
94 | |||||
Max-Gerd Retzlaff | 04057ac | 2022-08-23 17:38:34 +0200 | [diff] [blame] | 95 | if WITH_CL |
96 | SUBDIRS += cl | ||||
97 | endif | ||||
98 | |||||
James E. King III | a3a7c6c | 2018-12-31 17:17:34 -0500 | [diff] [blame] | 99 | if WITH_SWIFT |
100 | SUBDIRS += swift | ||||
101 | endif | ||||
102 | |||||
David Reiss | b87d84d | 2008-07-11 08:02:29 +0000 | [diff] [blame] | 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. | ||||
Thomas | 63f0458 | 2024-03-21 22:51:07 +0900 | [diff] [blame] | 105 | distdir: |
106 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | ||||
107 | |||||
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 108 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 109 | d \ |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 110 | dart \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 111 | delphi \ |
Jens Geyer | 65e9bde | 2014-11-11 01:30:02 +0100 | [diff] [blame] | 112 | haxe \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 113 | javame \ |
114 | js \ | ||||
115 | ocaml \ | ||||
116 | st \ | ||||
117 | ts | ||||
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 118 | |
119 | precross-%: | ||||
120 | $(MAKE) -C $* precross | ||||
Nobuaki Sukegawa | 03f0e18 | 2015-05-09 18:33:42 +0900 | [diff] [blame] | 121 | precross: $(PRECROSS_TARGET) |