blob: 5f17fca882d42ba834a066f69f4564e9444d912e [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
Nobuaki Sukegawa11da87e2016-09-10 14:02:19 +090024# cpp dir is picked directly by plugin build
25if !WITH_PLUGIN
David Reissea4c9812010-08-31 16:51:21 +000026SUBDIRS += cpp
27endif
Nobuaki Sukegawa11da87e2016-09-10 14:02:19 +090028endif
David Reiss832b2622007-12-28 18:25:33 +000029
Roger Meier213a6642010-10-27 12:30:11 +000030if WITH_C_GLIB
31SUBDIRS += c_glib
32endif
33
David Reiss82c1bab2008-06-11 01:16:53 +000034if WITH_MONO
David Reiss1fdb5922008-02-06 22:10:12 +000035SUBDIRS += csharp
36endif
37
David Reiss82c1bab2008-06-11 01:16:53 +000038if WITH_JAVA
David Reissf8dcf032008-02-23 22:07:39 +000039SUBDIRS += java
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090040PRECROSS_TARGET += precross-java
Roger Meierf2495762011-03-17 19:13:36 +000041# JavaScript unit test depends on java
42# so test only if java, ant & co is available
Nobuaki Sukegawa4b7dbe32016-05-25 12:09:02 +090043SUBDIRS += js
David Reissf8dcf032008-02-23 22:07:39 +000044endif
45
David Reiss82c1bab2008-06-11 01:16:53 +000046if WITH_PYTHON
David Reiss1a140912008-06-11 01:16:37 +000047SUBDIRS += py
48endif
49
David Reiss82c1bab2008-06-11 01:16:53 +000050if WITH_ERLANG
David Reiss9f2a5d72008-06-11 01:15:45 +000051SUBDIRS += erl
Christopher Pirob6f18c22008-03-04 07:09:12 +000052endif
53
David Reiss8d07e1d2008-07-11 08:04:12 +000054if WITH_RUBY
Kevin Clark4bd89162008-07-08 00:47:49 +000055SUBDIRS += rb
56endif
57
Anthony F. Molinaroa5df7c72010-09-27 17:22:17 +000058if WITH_HASKELL
59SUBDIRS += hs
60endif
61
T Jake Luciani1952e542009-02-01 04:47:30 +000062if WITH_PERL
63SUBDIRS += perl
64endif
65
Bryan Duxbury6a681872010-05-02 22:39:31 +000066if WITH_PHP
67SUBDIRS += php
68endif
69
Mark Erickson932c4702015-08-29 10:46:51 -050070if WITH_DART
71SUBDIRS += dart
72endif
73
Jens Geyer0e87c462013-06-18 22:25:07 +020074if WITH_GO
75SUBDIRS += go
76endif
77
Jake Farrellb95b0ff2012-03-22 21:49:10 +000078if WITH_D
79SUBDIRS += d
Nobuaki Sukegawa8b791b22016-03-05 13:40:25 +090080PRECROSS_TARGET += precross-d
Jake Farrellb95b0ff2012-03-22 21:49:10 +000081endif
82
Roger Meier8909cbd2014-01-26 11:44:27 +010083if WITH_NODEJS
84SUBDIRS += nodejs
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +090085PRECROSS_TARGET += precross-nodejs
Roger Meier8909cbd2014-01-26 11:44:27 +010086endif
87
Roger Meier6cf0ffc2014-04-05 00:45:42 +020088if WITH_LUA
89SUBDIRS += lua
90endif
Roger Meier8909cbd2014-01-26 11:44:27 +010091
David Reissb87d84d2008-07-11 08:02:29 +000092# All of the libs that don't use Automake need to go in here
93# so they will end up in our release tarballs.
David Reiss832b2622007-12-28 18:25:33 +000094EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +020095 as3 \
96 cocoa \
97 d \
Mark Erickson932c4702015-08-29 10:46:51 -050098 dart \
Jens Geyer79f988c2014-10-03 20:42:54 +020099 delphi \
Jens Geyer65e9bde2014-11-11 01:30:02 +0100100 haxe \
Jens Geyer79f988c2014-10-03 20:42:54 +0200101 javame \
102 js \
103 ocaml \
104 st \
105 ts
Roger Meier41ad4342015-03-24 22:30:40 +0100106
107precross-%:
108 $(MAKE) -C $* precross
Nobuaki Sukegawa03f0e182015-05-09 18:33:42 +0900109precross: $(PRECROSS_TARGET)