blob: 19177ccb537e0e7e41669d0753878483c2a0fc99 [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
23if WITH_CPP
24SUBDIRS += cpp
25endif
David Reiss832b2622007-12-28 18:25:33 +000026
Roger Meier213a6642010-10-27 12:30:11 +000027if WITH_C_GLIB
28SUBDIRS += c_glib
29endif
30
David Reiss82c1bab2008-06-11 01:16:53 +000031if WITH_JAVA
David Reissf8dcf032008-02-23 22:07:39 +000032SUBDIRS += java
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090033PRECROSS_TARGET += precross-java
Roger Meierf2495762011-03-17 19:13:36 +000034# JavaScript unit test depends on java
35# so test only if java, ant & co is available
Nobuaki Sukegawa4b7dbe32016-05-25 12:09:02 +090036SUBDIRS += js
David Reissf8dcf032008-02-23 22:07:39 +000037endif
38
Jiayu Liu49b2d6b2022-04-06 16:49:09 +080039if WITH_KOTLIN
40SUBDIRS += kotlin
41PRECROSS_TARGET += precross-kotlin
42endif
43
David Reiss82c1bab2008-06-11 01:16:53 +000044if WITH_PYTHON
David Reiss1a140912008-06-11 01:16:37 +000045SUBDIRS += py
46endif
47
David Reiss82c1bab2008-06-11 01:16:53 +000048if WITH_ERLANG
David Reiss9f2a5d72008-06-11 01:15:45 +000049SUBDIRS += erl
Christopher Pirob6f18c22008-03-04 07:09:12 +000050endif
51
David Reiss8d07e1d2008-07-11 08:04:12 +000052if WITH_RUBY
Kevin Clark4bd89162008-07-08 00:47:49 +000053SUBDIRS += rb
54endif
55
T Jake Luciani1952e542009-02-01 04:47:30 +000056if WITH_PERL
57SUBDIRS += perl
58endif
59
Bryan Duxbury6a681872010-05-02 22:39:31 +000060if WITH_PHP
61SUBDIRS += php
62endif
63
Mark Erickson932c4702015-08-29 10:46:51 -050064if WITH_DART
65SUBDIRS += dart
66endif
67
Jens Geyeraa0c8b32019-01-28 23:27:45 +010068if WITH_DOTNET
Jens Geyeraa0c8b32019-01-28 23:27:45 +010069SUBDIRS += netstd
Volodymyr Gotrab587a122016-09-14 19:18:48 -050070endif
71
Jens Geyer0e87c462013-06-18 22:25:07 +020072if WITH_GO
73SUBDIRS += go
74endif
75
Jake Farrellb95b0ff2012-03-22 21:49:10 +000076if WITH_D
77SUBDIRS += d
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090078PRECROSS_TARGET += precross-d
Jake Farrellb95b0ff2012-03-22 21:49:10 +000079endif
80
Roger Meier8909cbd2014-01-26 11:44:27 +010081if WITH_NODEJS
82SUBDIRS += nodejs
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090083PRECROSS_TARGET += precross-nodejs
wilfrem2c69b5a2015-04-20 19:24:50 +090084SUBDIRS += nodets
Roger Meier8909cbd2014-01-26 11:44:27 +010085endif
86
Roger Meier6cf0ffc2014-04-05 00:45:42 +020087if WITH_LUA
88SUBDIRS += lua
89endif
Roger Meier8909cbd2014-01-26 11:44:27 +010090
Allen George8b96bfb2016-11-02 08:01:08 -040091if WITH_RS
92SUBDIRS += rs
93endif
94
Max-Gerd Retzlaff04057ac2022-08-23 17:38:34 +020095if WITH_CL
96SUBDIRS += cl
97endif
98
James E. King IIIa3a7c6c2018-12-31 17:17:34 -050099if WITH_SWIFT
100SUBDIRS += swift
101endif
102
David Reissb87d84d2008-07-11 08:02:29 +0000103# All of the libs that don't use Automake need to go in here
104# so they will end up in our release tarballs.
Thomas63f04582024-03-21 22:51:07 +0900105distdir:
106 $(MAKE) $(AM_MAKEFLAGS) distdir-am
107
David Reiss832b2622007-12-28 18:25:33 +0000108EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +0200109 d \
Mark Erickson932c4702015-08-29 10:46:51 -0500110 dart \
Jens Geyer79f988c2014-10-03 20:42:54 +0200111 delphi \
Jens Geyer65e9bde2014-11-11 01:30:02 +0100112 haxe \
Jens Geyer79f988c2014-10-03 20:42:54 +0200113 javame \
114 js \
115 ocaml \
116 st \
117 ts
Roger Meier41ad4342015-03-24 22:30:40 +0100118
119precross-%:
120 $(MAKE) -C $* precross
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +0900121precross: $(PRECROSS_TARGET)