aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-09-03 14:09:18 +0200
committerLukas Larsson <[email protected]>2012-09-03 14:09:27 +0200
commit11496033f0405437bcef893362f5507b4a79b5c3 (patch)
treeb635e0f619eb14b7b0dd2c915110a9f6a447026c
parenta45a78d2e9281f57b04015a46cb76baf7d257ace (diff)
downloadotp-11496033f0405437bcef893362f5507b4a79b5c3.tar.gz
otp-11496033f0405437bcef893362f5507b4a79b5c3.tar.bz2
otp-11496033f0405437bcef893362f5507b4a79b5c3.zip
Do not build jinterface test if there is no jinterface
-rw-r--r--lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src b/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src
index c106261efd..ac8f2e619f 100644
--- a/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src
+++ b/lib/ic/test/java_client_erl_server_SUITE_data/Makefile.src
@@ -66,8 +66,11 @@ CLASS_FILES = $(JAVA_FILES:.java=.class)
ERL_FILES = $(GEN_ERL_FILES) m_i_impl.erl
EBINS = $(ERL_FILES:.erl=.@EMULATOR@)
-
+@IFEQ@ (@jinterface_classpath@,)
+all:
+@ELSE
all: $(CLASS_FILES) $(EBINS)
+@ENDIF@
$(GEN_ERL_FILES) $(GEN_HRL_FILES): java_erl_test.built_erl
$(GEN_JAVA_FILES): java_erl_test.built_java