1 #
2 # Copyright (c) 2014, 2015 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
481
482 GCOV_FIND_EXPR := -type f -name "*.gcno"
483
484 $(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
485 SRC := $(OUTPUT_ROOT), \
486 DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
487 FILES := $(shell $(FIND) $(HOTSPOT_OUTPUTDIR) $(GCOV_FIND_EXPR))))
488
489 SYMBOLS_TARGETS += $(COPY_HOTSPOT_GCOV_GCNO)
490
491 $(eval $(call SetupCopyFiles,COPY_JDK_GCOV_GCNO, \
492 SRC := $(OUTPUT_ROOT), \
493 DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
494 FILES := $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/native $(GCOV_FIND_EXPR))))
495
496 SYMBOLS_TARGETS += $(COPY_JDK_GCOV_GCNO)
497
498 endif
499
500 ################################################################################
501
502 # Include custom post hook here to make it possible to augment the target lists
503 # before actual target prerequisites are declared.
504 $(eval $(call IncludeCustomExtension, , Images-post.gmk))
505
506 ################################################################################
507
508 $(JRE_TARGETS): $(TOOL_JRE_TARGETS)
509 $(JDK_TARGETS): $(TOOL_JDK_TARGETS)
510
511 jimages: $(TOOL_JRE_TARGETS) $(TOOL_JDK_TARGETS) $(JRE_TARGETS) $(JDK_TARGETS) \
512 $(SYMBOLS_TARGETS)
513
514
515 $(JRE_COMPACT1_TARGETS): $(TOOL_JRE_COMPACT1_TARGETS)
516 $(JRE_COMPACT2_TARGETS): $(TOOL_JRE_COMPACT2_TARGETS)
517 $(JRE_COMPACT3_TARGETS): $(TOOL_JRE_COMPACT3_TARGETS)
518
519 profiles: $(TOOL_JRE_COMPACT1_TARGETS) \
520 $(TOOL_JRE_COMPACT2_TARGETS) \
521 $(TOOL_JRE_COMPACT3_TARGETS) \
|
1 #
2 # Copyright (c) 2014, 2015, 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
481
482 GCOV_FIND_EXPR := -type f -name "*.gcno"
483
484 $(eval $(call SetupCopyFiles,COPY_HOTSPOT_GCOV_GCNO, \
485 SRC := $(OUTPUT_ROOT), \
486 DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
487 FILES := $(shell $(FIND) $(HOTSPOT_OUTPUTDIR) $(GCOV_FIND_EXPR))))
488
489 SYMBOLS_TARGETS += $(COPY_HOTSPOT_GCOV_GCNO)
490
491 $(eval $(call SetupCopyFiles,COPY_JDK_GCOV_GCNO, \
492 SRC := $(OUTPUT_ROOT), \
493 DEST := $(SYMBOLS_IMAGE_DIR)/gcov, \
494 FILES := $(shell $(FIND) $(SUPPORT_OUTPUTDIR)/native $(GCOV_FIND_EXPR))))
495
496 SYMBOLS_TARGETS += $(COPY_JDK_GCOV_GCNO)
497
498 endif
499
500 ################################################################################
501 # ct.sym
502
503 $(eval $(call SetupCopyFiles, COPY_CTSYM, \
504 FILES := $(SUPPORT_OUTPUTDIR)/symbols/ct.sym, \
505 DEST := $(JDK_IMAGE_DIR)/lib, \
506 ))
507
508 JDK_TARGETS += $(COPY_CTSYM)
509
510 ################################################################################
511 # Include custom post hook here to make it possible to augment the target lists
512 # before actual target prerequisites are declared.
513 $(eval $(call IncludeCustomExtension, , Images-post.gmk))
514
515 ################################################################################
516
517 $(JRE_TARGETS): $(TOOL_JRE_TARGETS)
518 $(JDK_TARGETS): $(TOOL_JDK_TARGETS)
519
520 jimages: $(TOOL_JRE_TARGETS) $(TOOL_JDK_TARGETS) $(JRE_TARGETS) $(JDK_TARGETS) \
521 $(SYMBOLS_TARGETS)
522
523
524 $(JRE_COMPACT1_TARGETS): $(TOOL_JRE_COMPACT1_TARGETS)
525 $(JRE_COMPACT2_TARGETS): $(TOOL_JRE_COMPACT2_TARGETS)
526 $(JRE_COMPACT3_TARGETS): $(TOOL_JRE_COMPACT3_TARGETS)
527
528 profiles: $(TOOL_JRE_COMPACT1_TARGETS) \
529 $(TOOL_JRE_COMPACT2_TARGETS) \
530 $(TOOL_JRE_COMPACT3_TARGETS) \
|