blob: 5f65802e5c4af4a97b7bca43debc16df9fa783ae [file] [log] [blame]
Bryan Duxburydef30a62009-04-08 00:19:37 +00001#
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 Piro20c81ad2013-03-07 11:32:48 -050020SUBDIRS =
Roger Meierfa899322012-10-22 19:27:38 +000021
Roger Meierf168e0a2012-10-24 21:38:21 +000022if MINGW
23# do nothing, just build the compiler
24else
25
Roger Meierfa899322012-10-22 19:27:38 +000026if WITH_CPP
Roger Meier18a90d12012-10-24 18:40:06 +000027SUBDIRS += cpp
Roger Meierfa899322012-10-22 19:27:38 +000028endif
29
30if WITH_JAVA
31SUBDIRS += java
32SUBDIRS += js
33endif
34
Roger Meierfa899322012-10-22 19:27:38 +000035if WITH_PYTHON
Roger Meier1d66d062012-10-26 21:46:18 +000036SUBDIRS += py
37SUBDIRS += py.twisted
Chris Piro20c81ad2013-03-07 11:32:48 -050038SUBDIRS += py.tornado
Roger Meierfa899322012-10-22 19:27:38 +000039endif
40
41if WITH_RUBY
Roger Meiered817d02013-06-09 23:10:06 +020042SUBDIRS += rb
Roger Meierfa899322012-10-22 19:27:38 +000043endif
44
Jens Geyer0e87c462013-06-18 22:25:07 +020045if WITH_GO
46SUBDIRS += go
47endif
48
Roger Meierfa899322012-10-22 19:27:38 +000049#
50# generate html for ThriftTest.thrift
51#
Roger Meier18a90d12012-10-24 18:40:06 +000052all-local:
Roger Meierfa899322012-10-22 19:27:38 +000053 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift
Roger Meierf168e0a2012-10-24 21:38:21 +000054endif
jfarrell102c6002013-08-15 21:20:19 -040055
56# Any folders or files not listed above being added to SUBDIR need to be placed here in
57# EXTRA_DIST to be included in the release
58EXTRA_DIST = \
59 csharp \
60 d \
61 delphi \
62 erl \
63 gen-html \
64 hs \
65 ocaml \
66 perl \
67 php \
68 shared.thrift \
69 tutorial.thrift