2009-04-08 00:19:37 +00:00
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance
|
|
|
|
# with the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing,
|
|
|
|
# software distributed under the License is distributed on an
|
|
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
# KIND, either express or implied. See the License for the
|
|
|
|
# specific language governing permissions and limitations
|
|
|
|
# under the License.
|
|
|
|
#
|
|
|
|
|
2013-03-07 16:32:48 +00:00
|
|
|
SUBDIRS =
|
2012-10-22 19:27:38 +00:00
|
|
|
|
2012-10-24 21:38:21 +00:00
|
|
|
if MINGW
|
|
|
|
# do nothing, just build the compiler
|
|
|
|
else
|
|
|
|
|
2014-07-29 21:28:46 +00:00
|
|
|
if WITH_C_GLIB
|
|
|
|
SUBDIRS += c_glib
|
|
|
|
endif
|
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
if WITH_CPP
|
2012-10-24 18:40:06 +00:00
|
|
|
SUBDIRS += cpp
|
2012-10-22 19:27:38 +00:00
|
|
|
endif
|
|
|
|
|
2016-02-22 13:41:25 +00:00
|
|
|
if WITH_D
|
|
|
|
SUBDIRS += d
|
|
|
|
endif
|
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
if WITH_JAVA
|
|
|
|
SUBDIRS += java
|
|
|
|
SUBDIRS += js
|
|
|
|
endif
|
|
|
|
|
|
|
|
if WITH_PYTHON
|
2012-10-26 21:46:18 +00:00
|
|
|
SUBDIRS += py
|
|
|
|
SUBDIRS += py.twisted
|
2013-03-07 16:32:48 +00:00
|
|
|
SUBDIRS += py.tornado
|
2012-10-22 19:27:38 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if WITH_RUBY
|
2013-06-09 21:10:06 +00:00
|
|
|
SUBDIRS += rb
|
2012-10-22 19:27:38 +00:00
|
|
|
endif
|
|
|
|
|
2014-05-13 22:49:41 +00:00
|
|
|
if WITH_HASKELL
|
|
|
|
SUBDIRS += hs
|
|
|
|
endif
|
|
|
|
|
2014-07-27 23:25:30 +00:00
|
|
|
if WITH_HAXE
|
|
|
|
SUBDIRS += haxe
|
|
|
|
endif
|
|
|
|
|
2016-09-15 00:18:48 +00:00
|
|
|
if WITH_DOTNETCORE
|
|
|
|
SUBDIRS += netcore
|
|
|
|
endif
|
|
|
|
|
2013-06-18 20:25:07 +00:00
|
|
|
if WITH_GO
|
|
|
|
SUBDIRS += go
|
|
|
|
endif
|
|
|
|
|
2014-01-27 20:15:56 +00:00
|
|
|
if WITH_NODEJS
|
|
|
|
SUBDIRS += nodejs
|
|
|
|
endif
|
|
|
|
|
2015-08-29 15:46:51 +00:00
|
|
|
if WITH_DART
|
|
|
|
SUBDIRS += dart
|
|
|
|
endif
|
|
|
|
|
2012-10-22 19:27:38 +00:00
|
|
|
#
|
|
|
|
# generate html for ThriftTest.thrift
|
|
|
|
#
|
2012-10-24 18:40:06 +00:00
|
|
|
all-local:
|
2014-10-03 18:42:54 +00:00
|
|
|
$(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/tutorial/tutorial.thrift
|
2015-08-25 04:39:29 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_srcdir)/tutorial/gen-html
|
|
|
|
|
2012-10-24 21:38:21 +00:00
|
|
|
endif
|
2013-08-16 01:20:19 +00:00
|
|
|
|
2014-01-27 20:15:56 +00:00
|
|
|
# Any folders or files not listed above being added to SUBDIR need to be placed here in
|
|
|
|
# EXTRA_DIST to be included in the release
|
2013-08-16 01:20:19 +00:00
|
|
|
EXTRA_DIST = \
|
2014-10-03 18:42:54 +00:00
|
|
|
as3 \
|
|
|
|
csharp \
|
|
|
|
d \
|
|
|
|
delphi \
|
|
|
|
erl \
|
|
|
|
hs \
|
|
|
|
ocaml \
|
|
|
|
perl \
|
|
|
|
php \
|
|
|
|
shared.thrift \
|
|
|
|
tutorial.thrift \
|
|
|
|
README.md
|