blob: 7b2e180e1c4ba2e8351b4368fb5e77237e48c803 [file] [log] [blame]
David Reissea2cba82009-03-30 21:35:00 +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
Roger Meier8909cbd2014-01-26 11:44:27 +010020SUBDIRS =
David Reiss9ff3b9d2008-02-15 01:10:23 +000021
Roger Meierb3c84092014-09-01 21:53:40 +020022if WITH_C_GLIB
23SUBDIRS += c_glib
24endif
25
Roger Meierd3b9dca2011-06-24 14:01:10 +000026if WITH_CPP
27SUBDIRS += cpp
28endif
29
Roger Meier0580d8d2012-01-10 22:11:36 +000030if WITH_PERL
31SUBDIRS += perl
32endif
33
Roger Meierb33967b2012-01-21 09:18:05 +000034if WITH_PHP
35SUBDIRS += php
36endif
37
David Reiss82c1bab2008-06-11 01:16:53 +000038if WITH_PYTHON
David Reiss1a140912008-06-11 01:16:37 +000039SUBDIRS += py
Roger Meier50e43492010-10-08 17:46:06 +000040SUBDIRS += py.twisted
Chris Piro20c81ad2013-03-07 11:32:48 -050041SUBDIRS += py.tornado
David Reiss1a140912008-06-11 01:16:37 +000042endif
43
David Reiss8d07e1d2008-07-11 08:04:12 +000044if WITH_RUBY
Kevin Clark4bd89162008-07-08 00:47:49 +000045SUBDIRS += rb
46endif
47
Bryan Duxburyc6574472010-10-06 00:12:33 +000048if WITH_HASKELL
49SUBDIRS += hs
50endif
David Reiss48141bf2009-03-18 23:59:56 +000051
Jens Geyerbd52f1a2014-07-28 01:25:30 +020052if WITH_HAXE
53SUBDIRS += haxe
54endif
55
Jens Geyerf4598682014-05-08 23:18:44 +020056if WITH_GO
57SUBDIRS += go
58endif
59
alisdair sullivan06d0fa02014-08-05 19:54:57 -070060if WITH_ERLANG
61SUBDIRS += erl
62endif
63
Roger Meier99b36722012-05-03 21:21:43 +000064#
65# generate html for ThriftTest.thrift
66#
67check-local:
Jens Geyer79f988c2014-10-03 20:42:54 +020068 $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
Roger Meier99b36722012-05-03 21:21:43 +000069
David Reiss48141bf2009-03-18 23:59:56 +000070EXTRA_DIST = \
Jens Geyer79f988c2014-10-03 20:42:54 +020071 keys \
Jens Geyer79f988c2014-10-03 20:42:54 +020072 test.py \
73 tests.json \
74 c_glib \
75 cpp \
76 erl \
77 hs \
78 lua \
79 ocaml \
80 perl \
81 php \
82 py \
83 py.twisted \
84 py.tornado \
85 rb \
86 threads \
87 AnnotationTest.thrift \
88 BrokenConstants.thrift \
89 ConstantsDemo.thrift \
90 DebugProtoTest.thrift \
91 DenseLinkingTest.thrift \
92 DocTest.thrift \
93 Include.thrift \
94 JavaBeansTest.thrift \
95 ManyOptionals.thrift \
96 ManyTypedefs.thrift \
97 NameConflictTest.thrift \
98 OptionalRequiredTest.thrift \
99 Recursive.thrift \
100 ReuseObjects.thrift \
101 SmallTest.thrift \
102 StressTest.thrift \
103 ThriftTest.thrift \
104 FastbinaryTest.py \
105 README.md
Roger Meier41ad4342015-03-24 22:30:40 +0100106
107precross-%:
108 $(MAKE) -C $* precross
109precross: precross-py precross-rb precross-c_glib precross-cpp precross-perl precross-php precross-go