blob: 73326a56d8553e829e8d11673aa5686f951f1379 [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +00001#
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 Sukegawa4b7dbe32016-05-25 12:09:02 +090020SUBDIRS = json xml
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090021PRECROSS_TARGET =
David Reissea4c9812010-08-31 16:51:21 +000022
James E. King IIIb1d63e72019-01-22 14:16:39 -050023if WITH_AS3
24SUBDIRS += as3
25endif
26
David Reissea4c9812010-08-31 16:51:21 +000027if WITH_CPP
28SUBDIRS += cpp
29endif
David Reiss832b2622007-12-28 18:25:33 +000030
Roger Meier213a6642010-10-27 12:30:11 +000031if WITH_C_GLIB
32SUBDIRS += c_glib
33endif
34
David Reiss82c1bab2008-06-11 01:16:53 +000035if WITH_MONO
David Reiss1fdb5922008-02-06 22:10:12 +000036SUBDIRS += csharp
37endif
38
David Reiss82c1bab2008-06-11 01:16:53 +000039if WITH_JAVA
David Reissf8dcf032008-02-23 22:07:39 +000040SUBDIRS += java
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090041PRECROSS_TARGET += precross-java
Roger Meierf2495762011-03-17 19:13:36 +000042# JavaScript unit test depends on java
43# so test only if java, ant & co is available
Nobuaki Sukegawa4b7dbe32016-05-25 12:09:02 +090044SUBDIRS += js
David Reissf8dcf032008-02-23 22:07:39 +000045endif
46
David Reiss82c1bab2008-06-11 01:16:53 +000047if WITH_PYTHON
David Reiss1a140912008-06-11 01:16:37 +000048SUBDIRS += py
49endif
50
David Reiss82c1bab2008-06-11 01:16:53 +000051if WITH_ERLANG
David Reiss9f2a5d72008-06-11 01:15:45 +000052SUBDIRS += erl
Christopher Pirob6f18c22008-03-04 07:09:12 +000053endif
54
David Reiss8d07e1d2008-07-11 08:04:12 +000055if WITH_RUBY
Kevin Clark4bd89162008-07-08 00:47:49 +000056SUBDIRS += rb
57endif
58
Anthony F. Molinaroa5df7c72010-09-27 17:22:17 +000059if WITH_HASKELL
60SUBDIRS += hs
61endif
62
T Jake Luciani1952e542009-02-01 04:47:30 +000063if WITH_PERL
64SUBDIRS += perl
65endif
66
Bryan Duxbury6a681872010-05-02 22:39:31 +000067if WITH_PHP
68SUBDIRS += php
69endif
70
Mark Erickson932c4702015-08-29 10:46:51 -050071if WITH_DART
72SUBDIRS += dart
73endif
74
Jens Geyeraa0c8b32019-01-28 23:27:45 +010075if WITH_DOTNET
Volodymyr Gotrab587a122016-09-14 19:18:48 -050076SUBDIRS += netcore
Jens Geyeraa0c8b32019-01-28 23:27:45 +010077SUBDIRS += netstd
Volodymyr Gotrab587a122016-09-14 19:18:48 -050078endif
79
Jens Geyer0e87c462013-06-18 22:25:07 +020080if WITH_GO
81SUBDIRS += go
82endif
83
Jake Farrellb95b0ff2012-03-22 21:49:10 +000084if WITH_D
85SUBDIRS += d
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090086PRECROSS_TARGET += precross-d
Jake Farrellb95b0ff2012-03-22 21:49:10 +000087endif
88
Roger Meier8909cbd2014-01-26 11:44:27 +010089if WITH_NODEJS
90SUBDIRS += nodejs
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090091PRECROSS_TARGET += precross-nodejs
wilfrem2c69b5a2015-04-20 19:24:50 +090092SUBDIRS += nodets
Roger Meier8909cbd2014-01-26 11:44:27 +010093endif
94
Roger Meier6cf0ffc2014-04-05 00:45:42 +020095if WITH_LUA
96SUBDIRS += lua
97endif
Roger Meier8909cbd2014-01-26 11:44:27 +010098
Allen George8b96bfb2016-11-02 08:01:08 -040099if WITH_RS
100SUBDIRS += rs
101endif
102
Tomek Kurcze93a9012017-09-19 09:16:43 +0200103if WITH_CL
104SUBDIRS += cl
105endif
106
James E. King IIIa3a7c6c2018-12-31 17:17:34 -0500107if WITH_SWIFT
108SUBDIRS += swift
109endif
110
David Reissb87d84d2008-07-11 08:02:29 +0000111# All of the libs that don't use Automake need to go in here
112# so they will end up in our release tarballs.
David Reiss832b2622007-12-28 18:25:33 +0000113EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200114 as3 \
Jens Geyer79f988c2014-10-03 20:42:54 +0200115 d \
Mark Erickson932c4702015-08-29 10:46:51 -0500116 dart \
Jens Geyer79f988c2014-10-03 20:42:54 +0200117 delphi \
Jens Geyer65e9bde2014-11-11 01:30:02 +0100118 haxe \
Jens Geyer79f988c2014-10-03 20:42:54 +0200119 javame \
120 js \
121 ocaml \
122 st \
123 ts
Roger Meier41ad4342015-03-24 22:30:40 +0100124
125precross-%:
126 $(MAKE) -C $* precross
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +0900127precross: $(PRECROSS_TARGET)