David Reiss | ea2cba8 | 2009-03-30 21:35:00 +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 | |
Roger Meier | 8909cbd | 2014-01-26 11:44:27 +0100 | [diff] [blame] | 20 | SUBDIRS = |
David Reiss | 9ff3b9d | 2008-02-15 01:10:23 +0000 | [diff] [blame] | 21 | |
Roger Meier | b3c8409 | 2014-09-01 21:53:40 +0200 | [diff] [blame] | 22 | if WITH_C_GLIB |
| 23 | SUBDIRS += c_glib |
| 24 | endif |
| 25 | |
Roger Meier | d3b9dca | 2011-06-24 14:01:10 +0000 | [diff] [blame] | 26 | if WITH_CPP |
| 27 | SUBDIRS += cpp |
| 28 | endif |
| 29 | |
Roger Meier | 0580d8d | 2012-01-10 22:11:36 +0000 | [diff] [blame] | 30 | if WITH_PERL |
| 31 | SUBDIRS += perl |
| 32 | endif |
| 33 | |
Roger Meier | b33967b | 2012-01-21 09:18:05 +0000 | [diff] [blame] | 34 | if WITH_PHP |
| 35 | SUBDIRS += php |
| 36 | endif |
| 37 | |
David Reiss | 82c1bab | 2008-06-11 01:16:53 +0000 | [diff] [blame] | 38 | if WITH_PYTHON |
David Reiss | 1a14091 | 2008-06-11 01:16:37 +0000 | [diff] [blame] | 39 | SUBDIRS += py |
Roger Meier | 50e4349 | 2010-10-08 17:46:06 +0000 | [diff] [blame] | 40 | SUBDIRS += py.twisted |
Chris Piro | 20c81ad | 2013-03-07 11:32:48 -0500 | [diff] [blame] | 41 | SUBDIRS += py.tornado |
David Reiss | 1a14091 | 2008-06-11 01:16:37 +0000 | [diff] [blame] | 42 | endif |
| 43 | |
David Reiss | 8d07e1d | 2008-07-11 08:04:12 +0000 | [diff] [blame] | 44 | if WITH_RUBY |
Kevin Clark | 4bd8916 | 2008-07-08 00:47:49 +0000 | [diff] [blame] | 45 | SUBDIRS += rb |
| 46 | endif |
| 47 | |
Bryan Duxbury | c657447 | 2010-10-06 00:12:33 +0000 | [diff] [blame] | 48 | if WITH_HASKELL |
| 49 | SUBDIRS += hs |
| 50 | endif |
David Reiss | 48141bf | 2009-03-18 23:59:56 +0000 | [diff] [blame] | 51 | |
Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 52 | if WITH_HAXE |
| 53 | SUBDIRS += haxe |
| 54 | endif |
| 55 | |
Jens Geyer | f459868 | 2014-05-08 23:18:44 +0200 | [diff] [blame] | 56 | if WITH_GO |
| 57 | SUBDIRS += go |
| 58 | endif |
| 59 | |
alisdair sullivan | 06d0fa0 | 2014-08-05 19:54:57 -0700 | [diff] [blame] | 60 | if WITH_ERLANG |
| 61 | SUBDIRS += erl |
| 62 | endif |
| 63 | |
Roger Meier | 99b3672 | 2012-05-03 21:21:43 +0000 | [diff] [blame] | 64 | # |
| 65 | # generate html for ThriftTest.thrift |
| 66 | # |
| 67 | check-local: |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 68 | $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift |
Roger Meier | 99b3672 | 2012-05-03 21:21:43 +0000 | [diff] [blame] | 69 | |
David Reiss | 48141bf | 2009-03-18 23:59:56 +0000 | [diff] [blame] | 70 | EXTRA_DIST = \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 71 | keys \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 72 | 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 Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 106 | |
| 107 | precross-%: |
| 108 | $(MAKE) -C $* precross |
| 109 | precross: precross-py precross-rb precross-c_glib precross-cpp precross-perl precross-php precross-go |