diff options
Diffstat (limited to 'Makefile.am')
-rwxr-xr-x | Makefile.am | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index d0c813b7f..e6a965a21 100755 --- a/Makefile.am +++ b/Makefile.am @@ -43,8 +43,17 @@ precross-%: all precross: all precross-test precross-lib # TODO: generate --server and --client switches from "--with(out)-..." build flags + + +empty := +space := $(empty) $(empty) +comma := , + +CROSS_LANGS = @MAYBE_CPP@ @MAYBE_C_GLIB@ @MAYBE_JAVA@ @MAYBE_CSHARP@ @MAYBE_PYTHON@ @MAYBE_RUBY@ @MAYBE_HASKELL@ @MAYBE_PERL@ @MAYBE_PHP@ @MAYBE_GO@ @MAYBE_NODEJS@ +CROSS_LANGS_COMMA_SEPARATED = $(subst $(space),$(comma),$(CROSS_LANGS)) + cross: precross - $(PYTHON) test/test.py -s + $(PYTHON) test/test.py -s --server $(CROSS_LANGS_COMMA_SEPARATED) --client $(CROSS_LANGS_COMMA_SEPARATED) TIMES = 1 2 3 fail: precross @@ -72,10 +81,6 @@ codespell_skip_files = \ rebar \ thrift -empty := -space := $(empty) $(empty) -comma := , - skipped_files = $(subst $(space),$(comma),$(codespell_skip_files)) style-local: |