1 #
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
565 ifndef OPENJDK
566 ifeq ($(OPENJDK_TARGET_OS), solaris)
567
568 UCRYPTO_CFG_SRC := $(JDK_TOPDIR)/src/closed/share/lib/security/ucrypto-solaris.cfg
569 UCRYPTO_CFG_DST := $(JDK_OUTPUTDIR)/lib/security/ucrypto-solaris.cfg
570
571 $(UCRYPTO_CFG_DST): $(UCRYPTO_CFG_SRC)
572 $(call install-file)
573
574 COPY_FILES += $(UCRYPTO_CFG_DST)
575
576 endif
577 endif
578
579 ##########################################################################################
580
581 $(JDK_OUTPUTDIR)/lib/sound.properties: $(JDK_TOPDIR)/src/share/lib/sound.properties
582 $(call install-file)
583
584 COPY_FILES += $(JDK_OUTPUTDIR)/lib/sound.properties
585
586 ##########################################################################################
587
588 -include $(CUSTOM_MAKE_DIR)/CopyFiles.gmk
|
1 #
2 # Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
565 ifndef OPENJDK
566 ifeq ($(OPENJDK_TARGET_OS), solaris)
567
568 UCRYPTO_CFG_SRC := $(JDK_TOPDIR)/src/closed/share/lib/security/ucrypto-solaris.cfg
569 UCRYPTO_CFG_DST := $(JDK_OUTPUTDIR)/lib/security/ucrypto-solaris.cfg
570
571 $(UCRYPTO_CFG_DST): $(UCRYPTO_CFG_SRC)
572 $(call install-file)
573
574 COPY_FILES += $(UCRYPTO_CFG_DST)
575
576 endif
577 endif
578
579 ##########################################################################################
580
581 $(JDK_OUTPUTDIR)/lib/sound.properties: $(JDK_TOPDIR)/src/share/lib/sound.properties
582 $(call install-file)
583
584 COPY_FILES += $(JDK_OUTPUTDIR)/lib/sound.properties
585
586 ##########################################################################################
587
588 # copy hotspot trace files
589
590 HOTSPOT_TRACE_SRC_DIR := $(TOPDIR)/hotspot/src/share/vm/trace
591 HOTSPOT_TRACE_DST_DIR := $(JDK_OUTPUTDIR)/classes/jdk/jfr/internal/types
592
593 COPY_FILES += $(HOTSPOT_TRACE_DST_DIR)/trace.dtd \
594 $(HOTSPOT_TRACE_DST_DIR)/tracerelationdecls.xml \
595 $(HOTSPOT_TRACE_DST_DIR)/trace.xml \
596 $(HOTSPOT_TRACE_DST_DIR)/traceevents.xml \
597 $(HOTSPOT_TRACE_DST_DIR)/tracetypes.xml
598
599 $(HOTSPOT_TRACE_DST_DIR)/%.xml: $(HOTSPOT_TRACE_SRC_DIR)/%.xml
600 $(call install-file)
601
602 $(HOTSPOT_TRACE_DST_DIR)/trace.dtd: $(HOTSPOT_TRACE_SRC_DIR)/trace.dtd
603 $(call install-file)
604
605 # copy jfr configuration files
606
607 JFR_CONFIGURATION_DIR_SRC := $(JDK_TOPDIR)/src/share/lib/jfr
608 JFR_CONFIGURATION_DIR_DST := $(JDK_OUTPUTDIR)/lib/jfr
609
610 COPY_FILES += $(JFR_CONFIGURATION_DIR_DST)/default.jfc \
611 $(JFR_CONFIGURATION_DIR_DST)/profile.jfc
612
613 $(JFR_CONFIGURATION_DIR_DST)/%.jfc: $(JFR_CONFIGURATION_DIR_SRC)/%.jfc
614 $(call install-file)
615
616 ##########################################################################################
617
618 -include $(CUSTOM_MAKE_DIR)/CopyFiles.gmk
|