hotspot/agent/make/Makefile
author roland
Wed, 14 Sep 2011 09:22:51 +0200
changeset 11196 a310a659c580
parent 10678 ecb473e90f9b
child 13873 7b72e3873785
permissions -rw-r--r--
7077312: Provide a CALL effect for instruct declaration in the ad file Summary: abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers) Reviewed-by: twisti, never
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
10663
3ef855a3329b 7059019: G1: add G1 support to the SA
tonyp
parents: 10547
diff changeset
     2
# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
# accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
#
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 966
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 966
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 966
diff changeset
    21
# questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
#  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
# This guards against adding broken .java files to the directory
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
# hierarchy, but may be a pain to keep in sync
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
# Generated using the build-pkglist script
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
ifeq "x$(GAMMADIR)" "x"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
include ../../make/defs.make
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
include $(GAMMADIR)/make/defs.make
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    35
ifeq "x$(HOTSPOT_BUILD_VERSION)" "x"
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    36
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    37
else
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    38
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    39
endif
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
    40
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
PKGLIST = \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
sun.jvm.hotspot \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
sun.jvm.hotspot.asm \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
sun.jvm.hotspot.asm.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
sun.jvm.hotspot.asm.ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
sun.jvm.hotspot.asm.sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
sun.jvm.hotspot.asm.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
sun.jvm.hotspot.bugspot \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
sun.jvm.hotspot.bugspot.tree \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
sun.jvm.hotspot.c1 \
10547
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
    51
sun.jvm.hotspot.ci \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
sun.jvm.hotspot.code \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
sun.jvm.hotspot.compiler \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
sun.jvm.hotspot.debugger \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
sun.jvm.hotspot.debugger.amd64 \
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
    56
sun.jvm.hotspot.debugger.bsd \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
    57
sun.jvm.hotspot.debugger.bsd.amd64 \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
    58
sun.jvm.hotspot.debugger.bsd.x86 \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
sun.jvm.hotspot.debugger.cdbg \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
sun.jvm.hotspot.debugger.cdbg.basic \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
sun.jvm.hotspot.debugger.cdbg.basic.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
sun.jvm.hotspot.debugger.cdbg.basic.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
sun.jvm.hotspot.debugger.dummy \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
sun.jvm.hotspot.debugger.ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
sun.jvm.hotspot.debugger.linux \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
sun.jvm.hotspot.debugger.linux.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
sun.jvm.hotspot.debugger.linux.ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
sun.jvm.hotspot.debugger.linux.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
sun.jvm.hotspot.debugger.posix \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
sun.jvm.hotspot.debugger.posix.elf \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
sun.jvm.hotspot.debugger.proc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
sun.jvm.hotspot.debugger.proc.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
sun.jvm.hotspot.debugger.proc.sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
sun.jvm.hotspot.debugger.proc.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
sun.jvm.hotspot.debugger.remote \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
sun.jvm.hotspot.debugger.remote.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
sun.jvm.hotspot.debugger.remote.sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
sun.jvm.hotspot.debugger.remote.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
sun.jvm.hotspot.debugger.sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
sun.jvm.hotspot.debugger.win32.coff \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
sun.jvm.hotspot.debugger.windbg \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
sun.jvm.hotspot.debugger.windbg.amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
sun.jvm.hotspot.debugger.windbg.ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
sun.jvm.hotspot.debugger.windbg.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
sun.jvm.hotspot.debugger.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
sun.jvm.hotspot.gc_implementation \
10663
3ef855a3329b 7059019: G1: add G1 support to the SA
tonyp
parents: 10547
diff changeset
    87
sun.jvm.hotspot.gc_implementation.g1 \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
sun.jvm.hotspot.gc_implementation.parallelScavenge \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
sun.jvm.hotspot.gc_implementation.shared \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
sun.jvm.hotspot.gc_interface \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
sun.jvm.hotspot.interpreter \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
sun.jvm.hotspot.jdi \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
sun.jvm.hotspot.livejvm \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
sun.jvm.hotspot.memory \
10547
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
    95
sun.jvm.hotspot.opto \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
sun.jvm.hotspot.oops \
10547
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
    97
sun.jvm.hotspot.prims \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
sun.jvm.hotspot.runtime \
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
sun.jvm.hotspot.runtime.amd64 \
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   100
sun.jvm.hotspot.runtime.bsd \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   101
sun.jvm.hotspot.runtime.bsd_amd64 \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   102
sun.jvm.hotspot.runtime.bsd_x86 \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
sun.jvm.hotspot.runtime.ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
sun.jvm.hotspot.runtime.linux \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
sun.jvm.hotspot.runtime.linux_amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
sun.jvm.hotspot.runtime.linux_ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
sun.jvm.hotspot.runtime.linux_sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
sun.jvm.hotspot.runtime.linux_x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
sun.jvm.hotspot.runtime.posix \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
sun.jvm.hotspot.runtime.solaris_amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
sun.jvm.hotspot.runtime.solaris_sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
sun.jvm.hotspot.runtime.solaris_x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
sun.jvm.hotspot.runtime.sparc \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
sun.jvm.hotspot.runtime.win32_amd64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
sun.jvm.hotspot.runtime.win32_ia64 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
sun.jvm.hotspot.runtime.win32_x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
sun.jvm.hotspot.runtime.x86 \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
sun.jvm.hotspot.tools \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
sun.jvm.hotspot.tools.jcore \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
sun.jvm.hotspot.tools.soql \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
sun.jvm.hotspot.types \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
sun.jvm.hotspot.types.basic \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
sun.jvm.hotspot.ui \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
sun.jvm.hotspot.ui.action \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
sun.jvm.hotspot.ui.classbrowser \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
sun.jvm.hotspot.ui.resources \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
sun.jvm.hotspot.ui.table \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
sun.jvm.hotspot.ui.tree \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
sun.jvm.hotspot.ui.treetable \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
sun.jvm.hotspot.utilities \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
sun.jvm.hotspot.utilities.memo \
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   132
sun.jvm.hotspot.utilities.soql \
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   133
com.sun.java.swing.action \
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   134
com.sun.java.swing.ui
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
#END PKGLIST
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
# Generated using the build-filelist script
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
FILELIST = \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
sun/jvm/hotspot/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
sun/jvm/hotspot/asm/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
sun/jvm/hotspot/asm/amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
sun/jvm/hotspot/asm/ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
sun/jvm/hotspot/asm/sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
sun/jvm/hotspot/asm/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
sun/jvm/hotspot/bugspot/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
sun/jvm/hotspot/bugspot/tree/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
sun/jvm/hotspot/c1/*.java \
10547
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
   148
sun/jvm/hotspot/ci/*.java \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
sun/jvm/hotspot/code/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
sun/jvm/hotspot/compiler/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
sun/jvm/hotspot/debugger/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
sun/jvm/hotspot/debugger/amd64/*.java \
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   153
sun/jvm/hotspot/debugger/bsd/*.java \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   154
sun/jvm/hotspot/debugger/bsd/amd64/*.java \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   155
sun/jvm/hotspot/debugger/bsd/x86/*.java \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
sun/jvm/hotspot/debugger/cdbg/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
sun/jvm/hotspot/debugger/cdbg/basic/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
sun/jvm/hotspot/debugger/cdbg/basic/amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
sun/jvm/hotspot/debugger/cdbg/basic/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
sun/jvm/hotspot/debugger/dummy/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
sun/jvm/hotspot/debugger/ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
sun/jvm/hotspot/debugger/linux/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
sun/jvm/hotspot/debugger/linux/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
sun/jvm/hotspot/debugger/posix/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
sun/jvm/hotspot/debugger/posix/elf/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
sun/jvm/hotspot/debugger/proc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
sun/jvm/hotspot/debugger/proc/amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
sun/jvm/hotspot/debugger/proc/sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
sun/jvm/hotspot/debugger/proc/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   170
sun/jvm/hotspot/debugger/remote/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
sun/jvm/hotspot/debugger/remote/amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   172
sun/jvm/hotspot/debugger/remote/sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
sun/jvm/hotspot/debugger/remote/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
sun/jvm/hotspot/debugger/sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
sun/jvm/hotspot/debugger/win32/coff/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
sun/jvm/hotspot/debugger/windbg/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
sun/jvm/hotspot/debugger/windbg/ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
sun/jvm/hotspot/debugger/windbg/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
sun/jvm/hotspot/debugger/x86/*.java \
10663
3ef855a3329b 7059019: G1: add G1 support to the SA
tonyp
parents: 10547
diff changeset
   180
sun/jvm/hotspot/gc_implementation/g1/*.java \
3ef855a3329b 7059019: G1: add G1 support to the SA
tonyp
parents: 10547
diff changeset
   181
sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
3ef855a3329b 7059019: G1: add G1 support to the SA
tonyp
parents: 10547
diff changeset
   182
sun/jvm/hotspot/gc_implementation/shared/*.java \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
sun/jvm/hotspot/interpreter/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
sun/jvm/hotspot/jdi/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
sun/jvm/hotspot/livejvm/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
sun/jvm/hotspot/memory/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
sun/jvm/hotspot/oops/*.java \
10547
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
   188
sun/jvm/hotspot/opto/*.java \
ea4a2ec31ae2 7088955: add C2 IR support to the SA
never
parents: 9441
diff changeset
   189
sun/jvm/hotspot/prims/*.java \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
sun/jvm/hotspot/runtime/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
sun/jvm/hotspot/runtime/amd64/*.java \
10565
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   192
sun/jvm/hotspot/runtime/bsd/*.java \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   193
sun/jvm/hotspot/runtime/bsd_amd64/*.java \
dc90c239f4ec 7089790: integrate bsd-port changes
never
parents: 10547
diff changeset
   194
sun/jvm/hotspot/runtime/bsd_x86/*.java \
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
sun/jvm/hotspot/runtime/ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
sun/jvm/hotspot/runtime/linux/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
sun/jvm/hotspot/runtime/linux_amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
sun/jvm/hotspot/runtime/linux_ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
sun/jvm/hotspot/runtime/linux_sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
sun/jvm/hotspot/runtime/linux_x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
sun/jvm/hotspot/runtime/posix/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
sun/jvm/hotspot/runtime/solaris_amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
sun/jvm/hotspot/runtime/solaris_sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
sun/jvm/hotspot/runtime/solaris_x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
sun/jvm/hotspot/runtime/sparc/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   206
sun/jvm/hotspot/runtime/win32_amd64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   207
sun/jvm/hotspot/runtime/win32_ia64/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
sun/jvm/hotspot/runtime/win32_x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
sun/jvm/hotspot/runtime/x86/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
sun/jvm/hotspot/tools/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
sun/jvm/hotspot/tools/jcore/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
sun/jvm/hotspot/tools/soql/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
sun/jvm/hotspot/types/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
sun/jvm/hotspot/types/basic/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
sun/jvm/hotspot/ui/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
sun/jvm/hotspot/ui/action/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
sun/jvm/hotspot/ui/classbrowser/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   218
sun/jvm/hotspot/ui/table/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
sun/jvm/hotspot/ui/tree/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
sun/jvm/hotspot/ui/treetable/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   221
sun/jvm/hotspot/utilities/*.java \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
sun/jvm/hotspot/utilities/memo/*.java \
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   223
sun/jvm/hotspot/utilities/soql/*.java \
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   224
com/sun/java/swing/action/*.java \
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   225
com/sun/java/swing/ui/*.java 
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   226
#END FILELIST
489c9b5090e2 Initial load
duke
parents:
diff changeset
   227
489c9b5090e2 Initial load
duke
parents:
diff changeset
   228
ifneq "x$(ALT_BOOTDIR)" "x"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
  BOOTDIR := $(ALT_BOOTDIR)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   230
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   231
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
ifeq "x$(BOOTDIR)" "x"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
  JDK_HOME := $(shell dirname $(shell which java))/..
489c9b5090e2 Initial load
duke
parents:
diff changeset
   234
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
  JDK_HOME := $(BOOTDIR)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   236
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   237
489c9b5090e2 Initial load
duke
parents:
diff changeset
   238
isUnix := $(shell test -r c:/; echo $$?)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   239
489c9b5090e2 Initial load
duke
parents:
diff changeset
   240
ifeq "$(isUnix)" "1"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   241
    CPS := :
489c9b5090e2 Initial load
duke
parents:
diff changeset
   242
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
   243
    CPS := ";"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   244
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   245
489c9b5090e2 Initial load
duke
parents:
diff changeset
   246
SRC_DIR    = ../src/share/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
   247
BUILD_DIR  = ../build
489c9b5090e2 Initial load
duke
parents:
diff changeset
   248
OUTPUT_DIR = $(BUILD_DIR)/classes
489c9b5090e2 Initial load
duke
parents:
diff changeset
   249
DOC_DIR    = $(BUILD_DIR)/doc
489c9b5090e2 Initial load
duke
parents:
diff changeset
   250
489c9b5090e2 Initial load
duke
parents:
diff changeset
   251
# gnumake 3.78.1 does not accept the *s, 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   252
# so use the shell to expand them
489c9b5090e2 Initial load
duke
parents:
diff changeset
   253
ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
489c9b5090e2 Initial load
duke
parents:
diff changeset
   254
ALLFILES := $(shell /bin/ls $(ALLFILES))
489c9b5090e2 Initial load
duke
parents:
diff changeset
   255
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   256
# tools.jar is used by the sa-jdi binding
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   257
CLASSPATH = $(JDK_HOME)/lib/tools.jar
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   258
489c9b5090e2 Initial load
duke
parents:
diff changeset
   259
CLASSPATH := $(subst \,/,$(CLASSPATH))
489c9b5090e2 Initial load
duke
parents:
diff changeset
   260
489c9b5090e2 Initial load
duke
parents:
diff changeset
   261
# FIXME: autogenerate call to rmic
489c9b5090e2 Initial load
duke
parents:
diff changeset
   262
489c9b5090e2 Initial load
duke
parents:
diff changeset
   263
SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)"
489c9b5090e2 Initial load
duke
parents:
diff changeset
   264
489c9b5090e2 Initial load
duke
parents:
diff changeset
   265
SA_PROPERTIES = $(OUTPUT_DIR)/sa.properties
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   266
JAVAC = $(JDK_HOME)/bin/javac
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   267
JAVADOC = $(JDK_HOME)/bin/javadoc
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   268
RMIC = $(JDK_HOME)/bin/rmic
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   269
489c9b5090e2 Initial load
duke
parents:
diff changeset
   270
# Tagging it on because there's no reason not to run it
489c9b5090e2 Initial load
duke
parents:
diff changeset
   271
all: filelist
489c9b5090e2 Initial load
duke
parents:
diff changeset
   272
	@mkdir -p $(OUTPUT_DIR)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   273
	@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
9441
e7cb88621e3a 7041603: standalone SA doesn't build after 7010849
never
parents: 5547
diff changeset
   274
	$(JAVAC) -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   275
	$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   276
	rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
489c9b5090e2 Initial load
duke
parents:
diff changeset
   277
	cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   278
	mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   279
	rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   280
	cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   281
	cp -r $(SRC_DIR)/images/*  $(OUTPUT_DIR)/
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   282
489c9b5090e2 Initial load
duke
parents:
diff changeset
   283
allprof: filelist
489c9b5090e2 Initial load
duke
parents:
diff changeset
   284
	@mkdir -p $(OUTPUT_DIR)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   285
	@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
9441
e7cb88621e3a 7041603: standalone SA doesn't build after 7010849
never
parents: 5547
diff changeset
   286
	$(JAVAC) -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   287
	$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   288
	rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
489c9b5090e2 Initial load
duke
parents:
diff changeset
   289
	cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   290
	mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   291
	rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   292
	cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   293
	cp -r $(SRC_DIR)/images/*  $(OUTPUT_DIR)/
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   294
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   295
.PHONY: filelist
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   296
filelist: $(ALLFILES)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   297
	@if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   298
          echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA."; \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   299
          echo ""; \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   300
          exit 1; \
489c9b5090e2 Initial load
duke
parents:
diff changeset
   301
        fi
489c9b5090e2 Initial load
duke
parents:
diff changeset
   302
	@rm -f $@
489c9b5090e2 Initial load
duke
parents:
diff changeset
   303
	@echo $(ALLFILES) > $@
489c9b5090e2 Initial load
duke
parents:
diff changeset
   304
489c9b5090e2 Initial load
duke
parents:
diff changeset
   305
.PHONY: natives
489c9b5090e2 Initial load
duke
parents:
diff changeset
   306
natives:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   307
	cd ../src/os/`java -classpath $(OUTPUT_DIR) sun.jvm.hotspot.utilities.PlatformInfo`; $(MAKE) all
489c9b5090e2 Initial load
duke
parents:
diff changeset
   308
489c9b5090e2 Initial load
duke
parents:
diff changeset
   309
.PHONY: sa-jdi.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
   310
sa-jdi.jar:
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   311
	echo "sa-jdi.jar is built by a hotspot build."
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   312
489c9b5090e2 Initial load
duke
parents:
diff changeset
   313
docs:
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   314
	@$(JAVADOC) -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   315
489c9b5090e2 Initial load
duke
parents:
diff changeset
   316
sizes: $(ALLFILES)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   317
	wc -l $(ALLFILES)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   318
489c9b5090e2 Initial load
duke
parents:
diff changeset
   319
cscope: $(ALLFILES)
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   320
	rm -f java.files
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   321
	echo $(ALLFILES) > java.files
489c9b5090e2 Initial load
duke
parents:
diff changeset
   322
	cscope -b -i java.files -f java.out 
966
9373f9953a5e 6710791: Remove files or build from source:maf-1_0.jar, jlfg-1_0.jar
swamyv
parents: 670
diff changeset
   323
	rm -f java.files
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   324
489c9b5090e2 Initial load
duke
parents:
diff changeset
   325
.PHONY: sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
   326
sa.jar:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   327
	rm -f $(BUILD_DIR)/sa.jar
489c9b5090e2 Initial load
duke
parents:
diff changeset
   328
	cd $(OUTPUT_DIR) ; jar cvf ../sa.jar *
489c9b5090e2 Initial load
duke
parents:
diff changeset
   329
489c9b5090e2 Initial load
duke
parents:
diff changeset
   330
clean::
489c9b5090e2 Initial load
duke
parents:
diff changeset
   331
	rm -rf filelist
489c9b5090e2 Initial load
duke
parents:
diff changeset
   332
	cd ../src/os/`java -classpath $(OUTPUT_DIR) sun.jvm.hotspot.utilities.PlatformInfo`; $(MAKE) clean
489c9b5090e2 Initial load
duke
parents:
diff changeset
   333
	rm -rf $(BUILD_DIR)/*