Bryan Duxbury | def30a6 | 2009-04-08 00:19:37 +0000 | [diff] [blame] | 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 | |
Chris Piro | 20c81ad | 2013-03-07 11:32:48 -0500 | [diff] [blame] | 20 | SUBDIRS = |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 21 | |
Roger Meier | f168e0a | 2012-10-24 21:38:21 +0000 | [diff] [blame] | 22 | if MINGW |
| 23 | # do nothing, just build the compiler |
| 24 | else |
| 25 | |
Roger Meier | 2814c2e | 2014-07-29 23:28:46 +0200 | [diff] [blame] | 26 | if WITH_C_GLIB |
| 27 | SUBDIRS += c_glib |
| 28 | endif |
| 29 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 30 | if WITH_CPP |
Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 31 | SUBDIRS += cpp |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 32 | endif |
| 33 | |
Nobuaki Sukegawa | 402f641 | 2016-02-22 22:41:25 +0900 | [diff] [blame] | 34 | if WITH_D |
| 35 | SUBDIRS += d |
| 36 | endif |
| 37 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 38 | if WITH_JAVA |
| 39 | SUBDIRS += java |
| 40 | SUBDIRS += js |
| 41 | endif |
| 42 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 43 | if WITH_PYTHON |
Roger Meier | 1d66d06 | 2012-10-26 21:46:18 +0000 | [diff] [blame] | 44 | SUBDIRS += py |
| 45 | SUBDIRS += py.twisted |
Chris Piro | 20c81ad | 2013-03-07 11:32:48 -0500 | [diff] [blame] | 46 | SUBDIRS += py.tornado |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 47 | endif |
| 48 | |
| 49 | if WITH_RUBY |
Roger Meier | ed817d0 | 2013-06-09 23:10:06 +0200 | [diff] [blame] | 50 | SUBDIRS += rb |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 51 | endif |
| 52 | |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 53 | if WITH_HASKELL |
| 54 | SUBDIRS += hs |
| 55 | endif |
| 56 | |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 57 | if WITH_HAXE |
| 58 | SUBDIRS += haxe |
| 59 | endif |
| 60 | |
Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 61 | if WITH_DOTNETCORE |
| 62 | SUBDIRS += netcore |
| 63 | endif |
| 64 | |
Jens Geyer | 0e87c46 | 2013-06-18 22:25:07 +0200 | [diff] [blame] | 65 | if WITH_GO |
| 66 | SUBDIRS += go |
| 67 | endif |
| 68 | |
Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 69 | if WITH_NODEJS |
| 70 | SUBDIRS += nodejs |
| 71 | endif |
| 72 | |
Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 73 | if WITH_DART |
| 74 | SUBDIRS += dart |
| 75 | endif |
| 76 | |
Allen George | 8b96bfb | 2016-11-02 08:01:08 -0400 | [diff] [blame] | 77 | if WITH_RS |
| 78 | SUBDIRS += rs |
| 79 | endif |
| 80 | |
Tomek Kurcz | e93a901 | 2017-09-19 09:16:43 +0200 | [diff] [blame] | 81 | if WITH_CL |
| 82 | SUBDIRS += cl |
| 83 | endif |
| 84 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 85 | # |
| 86 | # generate html for ThriftTest.thrift |
| 87 | # |
Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 88 | all-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 89 | $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 90 | |
| 91 | clean-local: |
| 92 | rm -rf $(top_srcdir)/tutorial/gen-html |
| 93 | |
Roger Meier | f168e0a | 2012-10-24 21:38:21 +0000 | [diff] [blame] | 94 | endif |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 95 | |
Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 96 | # Any folders or files not listed above being added to SUBDIR need to be placed here in |
| 97 | # EXTRA_DIST to be included in the release |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 98 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 99 | as3 \ |
| 100 | csharp \ |
| 101 | d \ |
| 102 | delphi \ |
| 103 | erl \ |
| 104 | hs \ |
| 105 | ocaml \ |
| 106 | perl \ |
| 107 | php \ |
| 108 | shared.thrift \ |
| 109 | tutorial.thrift \ |
| 110 | README.md |