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