]>
Commit | Line | Data |
---|---|---|
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 | ||
20 | SUBDIRS = json xml | |
21 | PRECROSS_TARGET = | |
22 | ||
23 | if WITH_AS3 | |
24 | SUBDIRS += as3 | |
25 | endif | |
26 | ||
27 | if WITH_CPP | |
28 | SUBDIRS += cpp | |
29 | endif | |
30 | ||
31 | if WITH_C_GLIB | |
32 | SUBDIRS += c_glib | |
33 | endif | |
34 | ||
35 | if WITH_MONO | |
36 | SUBDIRS += csharp | |
37 | endif | |
38 | ||
39 | if WITH_JAVA | |
40 | SUBDIRS += java | |
41 | PRECROSS_TARGET += precross-java | |
42 | # JavaScript unit test depends on java | |
43 | # so test only if java, ant & co is available | |
44 | SUBDIRS += js | |
45 | endif | |
46 | ||
47 | if WITH_PYTHON | |
48 | SUBDIRS += py | |
49 | endif | |
50 | ||
51 | if WITH_ERLANG | |
52 | SUBDIRS += erl | |
53 | endif | |
54 | ||
55 | if WITH_RUBY | |
56 | SUBDIRS += rb | |
57 | endif | |
58 | ||
59 | if WITH_HASKELL | |
60 | SUBDIRS += hs | |
61 | endif | |
62 | ||
63 | if WITH_PERL | |
64 | SUBDIRS += perl | |
65 | endif | |
66 | ||
67 | if WITH_PHP | |
68 | SUBDIRS += php | |
69 | endif | |
70 | ||
71 | if WITH_DART | |
72 | SUBDIRS += dart | |
73 | endif | |
74 | ||
75 | if WITH_DOTNET | |
76 | SUBDIRS += netcore | |
77 | SUBDIRS += netstd | |
78 | endif | |
79 | ||
80 | if WITH_GO | |
81 | SUBDIRS += go | |
82 | endif | |
83 | ||
84 | if WITH_D | |
85 | SUBDIRS += d | |
86 | PRECROSS_TARGET += precross-d | |
87 | endif | |
88 | ||
89 | if WITH_NODEJS | |
90 | SUBDIRS += nodejs | |
91 | PRECROSS_TARGET += precross-nodejs | |
92 | SUBDIRS += nodets | |
93 | endif | |
94 | ||
95 | if WITH_LUA | |
96 | SUBDIRS += lua | |
97 | endif | |
98 | ||
99 | if WITH_RS | |
100 | SUBDIRS += rs | |
101 | endif | |
102 | ||
103 | if WITH_CL | |
104 | SUBDIRS += cl | |
105 | endif | |
106 | ||
107 | if WITH_SWIFT | |
108 | SUBDIRS += swift | |
109 | endif | |
110 | ||
111 | # All of the libs that don't use Automake need to go in here | |
112 | # so they will end up in our release tarballs. | |
113 | EXTRA_DIST = \ | |
114 | as3 \ | |
115 | d \ | |
116 | dart \ | |
117 | delphi \ | |
118 | haxe \ | |
119 | javame \ | |
120 | js \ | |
121 | ocaml \ | |
122 | st \ | |
123 | ts | |
124 | ||
125 | precross-%: | |
126 | $(MAKE) -C $* precross | |
127 | precross: $(PRECROSS_TARGET) |