hotspot/make/aix/makefiles/top.make
author simonis
Fri, 06 Sep 2013 20:08:29 +0200
changeset 22830 df1bb606b2ca
child 25639 61be16de0fd5
permissions -rw-r--r--
8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles Reviewed-by: kvn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22830
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     1
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     2
# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     4
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     7
# published by the Free Software Foundation.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     8
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    13
# accompanied this code).
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    14
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    18
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    21
# questions.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    22
#  
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    23
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    24
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    25
# top.make is included in the Makefile in the build directories.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    26
# It DOES NOT include the vm dependency info in order to be faster.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    27
# Its main job is to implement the incremental form of make lists.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    28
# It also:
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    29
#   -builds and runs adlc via adlc.make
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    30
#   -generates JVMTI source and docs via jvmti.make (JSR-163)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    31
#   -generate sa-jdi.jar (JDI binding to core files)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    32
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    33
# It assumes the following flags are set:
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    34
# CFLAGS Platform_file, Src_Dirs_I, Src_Dirs_V, SYSDEFS, AOUT, Obj_Files
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    35
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    36
# -- D. Ungar (5/97) from a file by Bill Bush
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    37
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    38
# Don't override the built-in $(MAKE).
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    39
# Instead, use "gmake" (or "gnumake") from the command line.  --Rose
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    40
#MAKE = gmake
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    41
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    42
include $(GAMMADIR)/make/altsrc.make
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    43
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    44
TOPDIR      = $(shell echo `pwd`)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    45
GENERATED   = $(TOPDIR)/../generated
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    46
VM          = $(GAMMADIR)/src/share/vm
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    47
Plat_File   = $(Platform_file)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    48
CDG         = cd $(GENERATED); 
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    49
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    50
ifneq ($(USE_PRECOMPILED_HEADER),0)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    51
UpdatePCH = $(MAKE) -f vm.make $(PRECOMPILED_HEADER) $(MFLAGS) 
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    52
else
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    53
UpdatePCH = \# precompiled header is not used
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    54
endif
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    55
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    56
Cached_plat = $(GENERATED)/platform.current
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    57
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    58
AD_Dir   = $(GENERATED)/adfiles
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    59
ADLC     = $(AD_Dir)/adlc
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    60
AD_Spec  = $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(Platform_arch)/vm/$(Platform_arch_model).ad)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    61
AD_Src   = $(call altsrc-replace,$(HS_COMMON_SRC)/share/vm/adlc)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    62
AD_Names = ad_$(Platform_arch_model).hpp ad_$(Platform_arch_model).cpp
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    63
AD_Files = $(AD_Names:%=$(AD_Dir)/%)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    64
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    65
# AD_Files_If_Required/COMPILER1 = ad_stuff
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    66
AD_Files_If_Required/COMPILER2 = ad_stuff
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    67
AD_Files_If_Required/TIERED = ad_stuff
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    68
AD_Files_If_Required = $(AD_Files_If_Required/$(TYPE))
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    69
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    70
# Wierd argument adjustment for "gnumake -j..."
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    71
adjust-mflags   = $(GENERATED)/adjust-mflags
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    72
MFLAGS-adjusted = -r `$(adjust-mflags) "$(MFLAGS)" "$(HOTSPOT_BUILD_JOBS)"`
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    73
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    74
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    75
# default target: update lists, make vm
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    76
# done in stages to force sequential order with parallel make
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    77
#
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    78
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    79
default: vm_build_preliminaries the_vm
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    80
	@echo All done.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    81
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    82
# This is an explicit dependency for the sake of parallel makes.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    83
vm_build_preliminaries:  checks $(Cached_plat) $(AD_Files_If_Required) trace_stuff jvmti_stuff sa_stuff
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    84
	@# We need a null action here, so implicit rules don't get consulted.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    85
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    86
$(Cached_plat): $(Plat_File)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    87
	$(CDG) cp $(Plat_File) $(Cached_plat)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    88
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    89
# make AD files as necessary
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    90
ad_stuff: $(Cached_plat) $(adjust-mflags)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    91
	@$(MAKE) -f adlc.make $(MFLAGS-adjusted)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    92
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    93
# generate JVMTI files from the spec
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    94
jvmti_stuff: $(Cached_plat) $(adjust-mflags)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    95
	@$(MAKE) -f jvmti.make $(MFLAGS-adjusted)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    96
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    97
# generate trace files
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    98
trace_stuff: jvmti_stuff $(Cached_plat) $(adjust-mflags)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
    99
	@$(MAKE) -f trace.make $(MFLAGS-adjusted)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   100
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   101
# generate SA jar files and native header
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   102
sa_stuff:
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   103
	@$(MAKE) -f sa.make $(MFLAGS-adjusted)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   104
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   105
# and the VM: must use other makefile with dependencies included
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   106
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   107
# We have to go to great lengths to get control over the -jN argument
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   108
# to the recursive invocation of vm.make.  The problem is that gnumake
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   109
# resets -jN to -j1 for recursive runs.  (How helpful.)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   110
# Note that the user must specify the desired parallelism level via a
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   111
# command-line or environment variable name HOTSPOT_BUILD_JOBS.
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   112
$(adjust-mflags): $(GAMMADIR)/make/$(Platform_os_family)/makefiles/adjust-mflags.sh
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   113
	@+rm -f $@ $@+
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   114
	@+cat $< > $@+
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   115
	@+chmod +x $@+
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   116
	@+mv $@+ $@
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   117
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   118
the_vm: vm_build_preliminaries $(adjust-mflags)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   119
	@$(UpdatePCH)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   120
	@$(MAKE) -f vm.make $(MFLAGS-adjusted)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   121
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   122
install gamma: the_vm
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   123
	@$(MAKE) -f vm.make $@
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   124
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   125
# next rules support "make foo.[ois]"
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   126
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   127
%.o %.i %.s:
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   128
	$(UpdatePCH) 
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   129
	$(MAKE) -f vm.make $(MFLAGS) $@
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   130
	#$(MAKE) -f vm.make $@
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   131
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   132
# this should force everything to be rebuilt
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   133
clean: 
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   134
	rm -f $(GENERATED)/*.class
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   135
	$(MAKE) -f vm.make $(MFLAGS) clean
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   136
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   137
# just in case it doesn't, this should do it
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   138
realclean:
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   139
	$(MAKE) -f vm.make $(MFLAGS) clean
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   140
	rm -fr $(GENERATED)
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   141
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   142
.PHONY: default vm_build_preliminaries
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   143
.PHONY: lists ad_stuff jvmti_stuff sa_stuff the_vm clean realclean
df1bb606b2ca 8023034: PPC64 (part 14): Implement AIX/PPC64 support in HotSpot makefiles
simonis
parents:
diff changeset
   144
.PHONY: checks check_os_version install