2009-03-30 21:35:00 +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.
|
|
|
|
#
|
|
|
|
|
2014-01-26 10:44:27 +00:00
|
|
|
SUBDIRS =
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET =
|
2008-02-15 01:10:23 +00:00
|
|
|
|
2014-09-01 19:53:40 +00:00
|
|
|
if WITH_C_GLIB
|
|
|
|
SUBDIRS += c_glib
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-c_glib
|
2014-09-01 19:53:40 +00:00
|
|
|
endif
|
|
|
|
|
2011-06-24 14:01:10 +00:00
|
|
|
if WITH_CPP
|
|
|
|
SUBDIRS += cpp
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-cpp
|
2011-06-24 14:01:10 +00:00
|
|
|
endif
|
|
|
|
|
2012-01-10 22:11:36 +00:00
|
|
|
if WITH_PERL
|
|
|
|
SUBDIRS += perl
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-perl
|
2012-01-10 22:11:36 +00:00
|
|
|
endif
|
|
|
|
|
2012-01-21 09:18:05 +00:00
|
|
|
if WITH_PHP
|
|
|
|
SUBDIRS += php
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-php
|
2012-01-21 09:18:05 +00:00
|
|
|
endif
|
|
|
|
|
2015-08-29 15:46:51 +00:00
|
|
|
if WITH_DART
|
|
|
|
SUBDIRS += dart
|
|
|
|
PRECROSS_TARGET += precross-dart
|
|
|
|
endif
|
|
|
|
|
2008-06-11 01:16:53 +00:00
|
|
|
if WITH_PYTHON
|
2008-06-11 01:16:37 +00:00
|
|
|
SUBDIRS += py
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-py
|
2010-10-08 17:46:06 +00:00
|
|
|
SUBDIRS += py.twisted
|
2013-03-07 16:32:48 +00:00
|
|
|
SUBDIRS += py.tornado
|
2008-06-11 01:16:37 +00:00
|
|
|
endif
|
|
|
|
|
2008-07-11 08:04:12 +00:00
|
|
|
if WITH_RUBY
|
2008-07-08 00:47:49 +00:00
|
|
|
SUBDIRS += rb
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-rb
|
2008-07-08 00:47:49 +00:00
|
|
|
endif
|
|
|
|
|
2010-10-06 00:12:33 +00:00
|
|
|
if WITH_HASKELL
|
|
|
|
SUBDIRS += hs
|
|
|
|
endif
|
2009-03-18 23:59:56 +00:00
|
|
|
|
2014-07-27 23:25:30 +00:00
|
|
|
if WITH_HAXE
|
|
|
|
SUBDIRS += haxe
|
|
|
|
endif
|
|
|
|
|
2014-05-08 21:18:44 +00:00
|
|
|
if WITH_GO
|
|
|
|
SUBDIRS += go
|
2015-05-09 09:33:42 +00:00
|
|
|
PRECROSS_TARGET += precross-go
|
2014-05-08 21:18:44 +00:00
|
|
|
endif
|
|
|
|
|
2014-08-06 02:54:57 +00:00
|
|
|
if WITH_ERLANG
|
|
|
|
SUBDIRS += erl
|
|
|
|
endif
|
|
|
|
|
2012-05-03 21:21:43 +00:00
|
|
|
#
|
|
|
|
# generate html for ThriftTest.thrift
|
|
|
|
#
|
|
|
|
check-local:
|
2014-10-03 18:42:54 +00:00
|
|
|
$(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
|
2012-05-03 21:21:43 +00:00
|
|
|
|
2015-08-25 04:39:29 +00:00
|
|
|
clean-local:
|
|
|
|
rm -rf $(top_srcdir)/test/gen-html
|
|
|
|
|
2009-03-18 23:59:56 +00:00
|
|
|
EXTRA_DIST = \
|
2015-08-25 04:39:29 +00:00
|
|
|
audit \
|
|
|
|
crossrunner \
|
2014-10-03 18:42:54 +00:00
|
|
|
keys \
|
|
|
|
c_glib \
|
|
|
|
cpp \
|
|
|
|
erl \
|
|
|
|
hs \
|
|
|
|
lua \
|
|
|
|
ocaml \
|
|
|
|
perl \
|
|
|
|
php \
|
|
|
|
py \
|
|
|
|
py.twisted \
|
|
|
|
py.tornado \
|
|
|
|
rb \
|
|
|
|
threads \
|
|
|
|
AnnotationTest.thrift \
|
|
|
|
BrokenConstants.thrift \
|
|
|
|
ConstantsDemo.thrift \
|
|
|
|
DebugProtoTest.thrift \
|
|
|
|
DenseLinkingTest.thrift \
|
|
|
|
DocTest.thrift \
|
2015-08-25 04:39:29 +00:00
|
|
|
EnumTest.thrift \
|
|
|
|
known_failures_Linux.json \
|
2014-10-03 18:42:54 +00:00
|
|
|
Include.thrift \
|
|
|
|
JavaBeansTest.thrift \
|
2015-08-25 04:39:29 +00:00
|
|
|
JsDeepConstructorTest.thrift \
|
2014-10-03 18:42:54 +00:00
|
|
|
ManyOptionals.thrift \
|
|
|
|
ManyTypedefs.thrift \
|
|
|
|
NameConflictTest.thrift \
|
|
|
|
OptionalRequiredTest.thrift \
|
|
|
|
Recursive.thrift \
|
|
|
|
ReuseObjects.thrift \
|
|
|
|
SmallTest.thrift \
|
|
|
|
StressTest.thrift \
|
2015-08-25 04:39:29 +00:00
|
|
|
test.py \
|
|
|
|
tests.json \
|
2014-10-03 18:42:54 +00:00
|
|
|
ThriftTest.thrift \
|
2015-08-25 04:39:29 +00:00
|
|
|
TypedefTest.thrift \
|
2014-10-03 18:42:54 +00:00
|
|
|
FastbinaryTest.py \
|
2015-08-25 04:39:29 +00:00
|
|
|
result.html \
|
|
|
|
README.md \
|
|
|
|
valgrind.suppress
|
2015-03-24 21:30:40 +00:00
|
|
|
|
|
|
|
precross-%:
|
|
|
|
$(MAKE) -C $* precross
|
2015-05-09 09:33:42 +00:00
|
|
|
precross: $(PRECROSS_TARGET)
|