aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/java_src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-06-28 11:01:57 +0200
committerBjörn Gustavsson <[email protected]>2011-08-08 11:59:08 +0200
commitb31ab335abac398caa7152020e5589d8fa817c27 (patch)
tree5f22a30760c54c6f6885afcaa9b8dcfeecf9182b /lib/jinterface/java_src/Makefile
parent6bfcf4b42b6bd174d65c1dcac2f2bd07701d848f (diff)
downloadotp-b31ab335abac398caa7152020e5589d8fa817c27.tar.gz
otp-b31ab335abac398caa7152020e5589d8fa817c27.tar.bz2
otp-b31ab335abac398caa7152020e5589d8fa817c27.zip
jinterface: Use otp_subdir.mk instead of homebrewed solution
There once was a reason to have a "Makefile.otp" makefile, but it doesn't apply any longer. Rename it to "Makefile" so that the standard otp_subdir.mk file can be used for recursion into sub directories.
Diffstat (limited to 'lib/jinterface/java_src/Makefile')
-rw-r--r--lib/jinterface/java_src/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/jinterface/java_src/Makefile b/lib/jinterface/java_src/Makefile
index 755ef46a8b..19f99831eb 100644
--- a/lib/jinterface/java_src/Makefile
+++ b/lib/jinterface/java_src/Makefile
@@ -29,9 +29,7 @@ VSN=$(JINTERFACE_VSN)
# Common Macros
# ----------------------------------------------------
-# call recursive make explicitly below
-# due to separate makefiles for Ronja & OTP
-# SUB_DIRECTORIES = com/ericsson/otp/erlang
+SUB_DIRECTORIES = com/ericsson/otp/erlang
SPECIAL_TARGETS =
@@ -51,15 +49,5 @@ POM_SRC= $(POM_FILE).src
$(POM_TARGET): $(POM_SRC) ../vsn.mk
sed -e 's;%VSN%;$(VSN);' $< > $@
-# ----------------------------------------------------
-# Default Subdir Targets
-# ----------------------------------------------------
-
-.PHONY: debug opt instr release docs release_docs tests release_tests clean depend
-
-debug opt instr release docs release_docs tests release_tests clean depend: $(TARGET_FILES)
- set -e; set -x; \
- case "$(MAKE)" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
- if test -f com/ericsson/otp/erlang/ignore_config_record.inf; then xflag=$$tflag; fi; \
- (cd com/ericsson/otp/erlang && $(MAKE) -f Makefile.otp $$xflag $@)
+include $(ERL_TOP)/make/otp_subdir.mk