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