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