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