comparison jdk/makefiles/CopyFiles.gmk @ 18297:48432b1bbd63

8017480: Move copying of jfr files to closed makefile Reviewed-by: sla, tbell
author erikj
date Tue, 25 Jun 2013 09:25:16 +0200
parents 2d12a524f3cc
children 902faa8c77ab
comparison
equal deleted inserted replaced
16:ad8f1a228688 17:fbc62b1c6c1b
536 536
537 COPY_FILES += $(JDK_OUTPUTDIR)/lib/sound.properties 537 COPY_FILES += $(JDK_OUTPUTDIR)/lib/sound.properties
538 538
539 ########################################################################################## 539 ##########################################################################################
540 540
541 ifndef OPENJDK 541 -include $(CUSTOM_MAKE_DIR)/CopyFiles.gmk
542 ifeq ($(ENABLE_JFR), true)
543
544 JFR_CONFIGURATION_DIR_SRC := $(JDK_TOPDIR)/src/closed/share/classes/oracle/jrockit/jfr/settings/
545 JFR_CONFIGURATION_DIR_DST := $(LIBDIR)/jfr/
546
547 JFR_SRC_FILES = $(wildcard $(JFR_CONFIGURATION_DIR_SRC)/*.jfc)
548 JFR_TARGET_FILES = $(subst $(JFR_CONFIGURATION_DIR_SRC),$(JFR_CONFIGURATION_DIR_DST),$(JFR_SRC_FILES))
549
550 $(JFR_CONFIGURATION_DIR_DST)/%.jfc : $(JFR_CONFIGURATION_DIR_SRC)/%.jfc
551 $(call install-file)
552
553 COPY_FILES += $(JFR_TARGET_FILES)
554
555 endif
556 endif
557
558 ##########################################################################################