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 | |
| 34 | if WITH_JAVA |
| 35 | SUBDIRS += java |
| 36 | SUBDIRS += js |
| 37 | endif |
| 38 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 39 | if WITH_PYTHON |
Roger Meier | 1d66d06 | 2012-10-26 21:46:18 +0000 | [diff] [blame] | 40 | SUBDIRS += py |
| 41 | SUBDIRS += py.twisted |
Chris Piro | 20c81ad | 2013-03-07 11:32:48 -0500 | [diff] [blame] | 42 | SUBDIRS += py.tornado |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 43 | endif |
| 44 | |
| 45 | if WITH_RUBY |
Roger Meier | ed817d0 | 2013-06-09 23:10:06 +0200 | [diff] [blame] | 46 | SUBDIRS += rb |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 47 | endif |
| 48 | |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 49 | if WITH_HASKELL |
| 50 | SUBDIRS += hs |
| 51 | endif |
| 52 | |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 53 | if WITH_HAXE |
| 54 | SUBDIRS += haxe |
| 55 | endif |
| 56 | |
Jens Geyer | 0e87c46 | 2013-06-18 22:25:07 +0200 | [diff] [blame] | 57 | if WITH_GO |
| 58 | SUBDIRS += go |
| 59 | endif |
| 60 | |
Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 61 | if WITH_NODEJS |
| 62 | SUBDIRS += nodejs |
| 63 | endif |
| 64 | |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 65 | # |
| 66 | # generate html for ThriftTest.thrift |
| 67 | # |
Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 68 | all-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 69 | $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 70 | |
| 71 | clean-local: |
| 72 | rm -rf $(top_srcdir)/tutorial/gen-html |
| 73 | |
Roger Meier | f168e0a | 2012-10-24 21:38:21 +0000 | [diff] [blame] | 74 | endif |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 75 | |
Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 76 | # Any folders or files not listed above being added to SUBDIR need to be placed here in |
| 77 | # EXTRA_DIST to be included in the release |
jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 78 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 79 | as3 \ |
| 80 | csharp \ |
| 81 | d \ |
| 82 | delphi \ |
| 83 | erl \ |
| 84 | hs \ |
| 85 | ocaml \ |
| 86 | perl \ |
| 87 | php \ |
| 88 | shared.thrift \ |
| 89 | tutorial.thrift \ |
| 90 | README.md |