diff options
author | Nobuaki Sukegawa <nsukeg@gmail.com> | 2015-05-09 18:33:42 +0900 |
---|---|---|
committer | Roger Meier <roger@apache.org> | 2015-05-10 18:25:56 +0200 |
commit | 03f0e18fcb423e165ee05757ba449efb3e672dd1 (patch) | |
tree | 847850555238e0a4b647125ebd12c4039d8be0ba /test/Makefile.am | |
parent | 72f8809290a943b12ff7f2cb9395c6ba3506736a (diff) | |
download | thrift-03f0e18fcb423e165ee05757ba449efb3e672dd1.tar.gz |
THRIFT-3133 Allow "make cross" and "make precross" to run without building all languages
Diffstat (limited to 'test/Makefile.am')
-rwxr-xr-x | test/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 7b2e180e1..4c90995f2 100755 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -18,31 +18,38 @@ # SUBDIRS = +PRECROSS_TARGET = if WITH_C_GLIB SUBDIRS += c_glib +PRECROSS_TARGET += precross-c_glib endif if WITH_CPP SUBDIRS += cpp +PRECROSS_TARGET += precross-cpp endif if WITH_PERL SUBDIRS += perl +PRECROSS_TARGET += precross-perl endif if WITH_PHP SUBDIRS += php +PRECROSS_TARGET += precross-php endif if WITH_PYTHON SUBDIRS += py +PRECROSS_TARGET += precross-py SUBDIRS += py.twisted SUBDIRS += py.tornado endif if WITH_RUBY SUBDIRS += rb +PRECROSS_TARGET += precross-rb endif if WITH_HASKELL @@ -55,6 +62,7 @@ endif if WITH_GO SUBDIRS += go +PRECROSS_TARGET += precross-go endif if WITH_ERLANG @@ -106,4 +114,4 @@ EXTRA_DIST = \ precross-%: $(MAKE) -C $* precross -precross: precross-py precross-rb precross-c_glib precross-cpp precross-perl precross-php precross-go +precross: $(PRECROSS_TARGET) |