]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
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 = | |
21 | ||
22 | if MINGW | |
23 | # do nothing, just build the compiler | |
24 | else | |
25 | ||
26 | if WITH_C_GLIB | |
27 | SUBDIRS += c_glib | |
28 | endif | |
29 | ||
30 | if WITH_CPP | |
31 | SUBDIRS += cpp | |
32 | endif | |
33 | ||
34 | if WITH_D | |
35 | SUBDIRS += d | |
36 | endif | |
37 | ||
38 | if WITH_JAVA | |
39 | SUBDIRS += java | |
40 | SUBDIRS += js | |
41 | endif | |
42 | ||
43 | if WITH_PYTHON | |
44 | SUBDIRS += py | |
45 | SUBDIRS += py.twisted | |
46 | SUBDIRS += py.tornado | |
47 | endif | |
48 | ||
49 | if WITH_RUBY | |
50 | SUBDIRS += rb | |
51 | endif | |
52 | ||
53 | if WITH_HASKELL | |
54 | SUBDIRS += hs | |
55 | endif | |
56 | ||
57 | if WITH_HAXE | |
58 | SUBDIRS += haxe | |
59 | endif | |
60 | ||
61 | if WITH_DOTNET | |
62 | SUBDIRS += netcore | |
63 | SUBDIRS += netstd | |
64 | endif | |
65 | ||
66 | if WITH_GO | |
67 | SUBDIRS += go | |
68 | endif | |
69 | ||
70 | if WITH_NODEJS | |
71 | SUBDIRS += nodejs | |
72 | endif | |
73 | ||
74 | if WITH_DART | |
75 | SUBDIRS += dart | |
76 | endif | |
77 | ||
78 | if WITH_RS | |
79 | SUBDIRS += rs | |
80 | endif | |
81 | ||
82 | if WITH_CL | |
83 | SUBDIRS += cl | |
84 | endif | |
85 | ||
86 | # | |
87 | # generate html for ThriftTest.thrift | |
88 | # | |
89 | all-local: | |
90 | $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift | |
91 | ||
92 | clean-local: | |
93 | rm -rf $(top_srcdir)/tutorial/gen-html | |
94 | ||
95 | endif | |
96 | ||
97 | # Any folders or files not listed above being added to SUBDIR need to be placed here in | |
98 | # EXTRA_DIST to be included in the release | |
99 | EXTRA_DIST = \ | |
100 | as3 \ | |
101 | csharp \ | |
102 | d \ | |
103 | delphi \ | |
104 | erl \ | |
105 | hs \ | |
106 | ocaml \ | |
107 | perl \ | |
108 | php \ | |
109 | shared.thrift \ | |
110 | tutorial.thrift \ | |
111 | README.md |