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