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 | |
| 35 | if WITH_PERL |
| 36 | #SUBDIRS += perl |
| 37 | endif |
| 38 | |
| 39 | if WITH_PHP |
| 40 | #SUBDIRS += php |
| 41 | endif |
| 42 | |
| 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 | |
| 53 | if WITH_HASKELL |
| 54 | #SUBDIRS += hs |
| 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 | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 61 | # |
| 62 | # generate html for ThriftTest.thrift |
| 63 | # |
Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 64 | all-local: |
Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 65 | $(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] | 66 | |
| 67 | endif |