| 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 | 2814c2e | 2014-07-29 23:28:46 +0200 | [diff] [blame] | 26 | if WITH_C_GLIB |
| 27 | SUBDIRS += c_glib | ||||
| 28 | endif | ||||
| 29 | |||||
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 30 | if WITH_CPP |
| Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 31 | SUBDIRS += cpp |
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 32 | endif |
| 33 | |||||
| Nobuaki Sukegawa | 402f641 | 2016-02-22 22:41:25 +0900 | [diff] [blame] | 34 | if WITH_D |
| 35 | SUBDIRS += d | ||||
| 36 | endif | ||||
| 37 | |||||
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 38 | if WITH_JAVA |
| 39 | SUBDIRS += java | ||||
| 40 | SUBDIRS += js | ||||
| 41 | endif | ||||
| 42 | |||||
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 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 | |||||
| Jens Geyer | bd52f1a | 2014-07-28 01:25:30 +0200 | [diff] [blame] | 53 | if WITH_HAXE |
| 54 | SUBDIRS += haxe | ||||
| 55 | endif | ||||
| 56 | |||||
| Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 57 | if WITH_DOTNET |
| Jens Geyer | aa0c8b3 | 2019-01-28 23:27:45 +0100 | [diff] [blame] | 58 | SUBDIRS += netstd |
| Volodymyr Gotra | b587a12 | 2016-09-14 19:18:48 -0500 | [diff] [blame] | 59 | endif |
| 60 | |||||
| Jens Geyer | 0e87c46 | 2013-06-18 22:25:07 +0200 | [diff] [blame] | 61 | if WITH_GO |
| 62 | SUBDIRS += go | ||||
| 63 | endif | ||||
| 64 | |||||
| Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 65 | if WITH_NODEJS |
| 66 | SUBDIRS += nodejs | ||||
| 67 | endif | ||||
| 68 | |||||
| Mark Erickson | 932c470 | 2015-08-29 10:46:51 -0500 | [diff] [blame] | 69 | if WITH_DART |
| 70 | SUBDIRS += dart | ||||
| 71 | endif | ||||
| 72 | |||||
| Allen George | 8b96bfb | 2016-11-02 08:01:08 -0400 | [diff] [blame] | 73 | if WITH_RS |
| 74 | SUBDIRS += rs | ||||
| 75 | endif | ||||
| 76 | |||||
| Max-Gerd Retzlaff | 04057ac | 2022-08-23 17:38:34 +0200 | [diff] [blame] | 77 | if WITH_CL |
| 78 | SUBDIRS += cl | ||||
| 79 | endif | ||||
| 80 | |||||
| Kengo Seki | 58efe89 | 2019-10-09 22:23:16 +0900 | [diff] [blame] | 81 | if WITH_PERL |
| 82 | SUBDIRS += perl | ||||
| 83 | endif | ||||
| 84 | |||||
| Kengo Seki | 538e36c | 2019-10-18 22:09:01 +0900 | [diff] [blame] | 85 | if WITH_PHP |
| 86 | SUBDIRS += php | ||||
| 87 | endif | ||||
| 88 | |||||
| Kino Roy | 72d5912 | 2022-09-06 17:34:02 -0700 | [diff] [blame] | 89 | if WITH_SWIFT |
| 90 | SUBDIRS += swift | ||||
| 91 | endif | ||||
| 92 | |||||
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 93 | # |
| Jens Geyer | f066d84 | 2022-06-13 23:37:25 +0200 | [diff] [blame] | 94 | # generate html for tutorial.thrift |
| Roger Meier | fa89932 | 2012-10-22 19:27:38 +0000 | [diff] [blame] | 95 | # |
| Roger Meier | 18a90d1 | 2012-10-24 18:40:06 +0000 | [diff] [blame] | 96 | all-local: |
| Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 97 | $(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift |
| jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 98 | |
| 99 | clean-local: | ||||
| 100 | rm -rf $(top_srcdir)/tutorial/gen-html | ||||
| 101 | |||||
| Roger Meier | f168e0a | 2012-10-24 21:38:21 +0000 | [diff] [blame] | 102 | endif |
| jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 103 | |
| Thomas | 63f0458 | 2024-03-21 22:51:07 +0900 | [diff] [blame] | 104 | distdir: |
| 105 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | ||||
| 106 | |||||
| Roger Meier | 64998e2 | 2014-01-27 21:15:56 +0100 | [diff] [blame] | 107 | # Any folders or files not listed above being added to SUBDIR need to be placed here in |
| 108 | # EXTRA_DIST to be included in the release | ||||
| jfarrell | 102c600 | 2013-08-15 21:20:19 -0400 | [diff] [blame] | 109 | EXTRA_DIST = \ |
| Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 110 | d \ |
| 111 | delphi \ | ||||
| 112 | erl \ | ||||
| Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 113 | ocaml \ |
| Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 114 | shared.thrift \ |
| 115 | tutorial.thrift \ | ||||
| 116 | README.md | ||||