--- a/jdk/makefiles/GensrcMisc.gmk Wed Jul 05 18:48:16 2017 +0200
+++ b/jdk/makefiles/GensrcMisc.gmk Fri Apr 05 09:39:10 2013 +0200
@@ -72,9 +72,8 @@
$(JDK_OUTPUTDIR)/gensrc/java/lang/UNIXProcess.java : \
$(JDK_TOPDIR)/src/solaris/classes/java/lang/UNIXProcess.java.$(UPSUFFIX)
- $(MKDIR) -p $(@D)
$(ECHO) $(LOG_INFO) Copying UNIXProcess.java.$(OPENJDK_TARGET_OS) to java/lang/UNIXProcess.java
- $(CP) $< $@
+ $(call install-file)
$(CHMOD) u+rw $@
GENSRC_MISC += $(JDK_OUTPUTDIR)/gensrc/java/lang/UNIXProcess.java
@@ -114,9 +113,7 @@
$(MV) $@.tmp $@
else
$(JDK_OUTPUTDIR)/gensrc/sun/nio/ch/SocketOptionRegistry.java : $(JDK_TOPDIR)/src/closed/solaris/classes/sun/nio/ch/SocketOptionRegistry-$(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH).java
- $(MKDIR) -p $(@D)
- $(RM) $@
- $(CP) $< $@
+ $(call install-file)
endif
##########################################################################################
@@ -156,9 +153,7 @@
$(MV) $@.tmp $@
else
$(JDK_OUTPUTDIR)/gensrc/sun/nio/fs/UnixConstants.java : $(JDK_TOPDIR)/src/closed/solaris/classes/sun/nio/fs/UnixConstants-$(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH).java
- $(MKDIR) -p $(@D)
- $(RM) $@
- $(CP) $< $@
+ $(call install-file)
endif
endif