hotspot/agent/make/Makefile
changeset 15798 cea39eefa98e
parent 14477 95e66ea71f71
child 22234 da823d78ad65
equal deleted inserted replaced
15797:43706e10feea 15798:cea39eefa98e
    17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    18 #
    18 #
    19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20 # or visit www.oracle.com if you need additional information or have any
    20 # or visit www.oracle.com if you need additional information or have any
    21 # questions.
    21 # questions.
    22 #  
    22 #
    23 #
    23 #
    24 
    24 
    25 # This guards against adding broken .java files to the directory
    25 # This guards against adding broken .java files to the directory
    26 # hierarchy, but may be a pain to keep in sync
    26 # hierarchy, but may be a pain to keep in sync
    27 
    27 
    40 
    40 
    41 PKGLIST = \
    41 PKGLIST = \
    42 sun.jvm.hotspot \
    42 sun.jvm.hotspot \
    43 sun.jvm.hotspot.asm \
    43 sun.jvm.hotspot.asm \
    44 sun.jvm.hotspot.asm.sparc \
    44 sun.jvm.hotspot.asm.sparc \
    45 sun.jvm.hotspot.bugspot \
       
    46 sun.jvm.hotspot.bugspot.tree \
       
    47 sun.jvm.hotspot.c1 \
    45 sun.jvm.hotspot.c1 \
    48 sun.jvm.hotspot.ci \
    46 sun.jvm.hotspot.ci \
    49 sun.jvm.hotspot.code \
    47 sun.jvm.hotspot.code \
    50 sun.jvm.hotspot.compiler \
    48 sun.jvm.hotspot.compiler \
    51 sun.jvm.hotspot.debugger \
    49 sun.jvm.hotspot.debugger \
    82 sun.jvm.hotspot.gc_implementation.parallelScavenge \
    80 sun.jvm.hotspot.gc_implementation.parallelScavenge \
    83 sun.jvm.hotspot.gc_implementation.shared \
    81 sun.jvm.hotspot.gc_implementation.shared \
    84 sun.jvm.hotspot.gc_interface \
    82 sun.jvm.hotspot.gc_interface \
    85 sun.jvm.hotspot.interpreter \
    83 sun.jvm.hotspot.interpreter \
    86 sun.jvm.hotspot.jdi \
    84 sun.jvm.hotspot.jdi \
    87 sun.jvm.hotspot.livejvm \
       
    88 sun.jvm.hotspot.memory \
    85 sun.jvm.hotspot.memory \
    89 sun.jvm.hotspot.opto \
    86 sun.jvm.hotspot.opto \
    90 sun.jvm.hotspot.oops \
    87 sun.jvm.hotspot.oops \
    91 sun.jvm.hotspot.prims \
    88 sun.jvm.hotspot.prims \
    92 sun.jvm.hotspot.runtime \
    89 sun.jvm.hotspot.runtime \
   128 # Generated using the build-filelist script
   125 # Generated using the build-filelist script
   129 FILELIST = \
   126 FILELIST = \
   130 sun/jvm/hotspot/*.java \
   127 sun/jvm/hotspot/*.java \
   131 sun/jvm/hotspot/asm/*.java \
   128 sun/jvm/hotspot/asm/*.java \
   132 sun/jvm/hotspot/asm/sparc/*.java \
   129 sun/jvm/hotspot/asm/sparc/*.java \
   133 sun/jvm/hotspot/bugspot/*.java \
       
   134 sun/jvm/hotspot/bugspot/tree/*.java \
       
   135 sun/jvm/hotspot/c1/*.java \
   130 sun/jvm/hotspot/c1/*.java \
   136 sun/jvm/hotspot/ci/*.java \
   131 sun/jvm/hotspot/ci/*.java \
   137 sun/jvm/hotspot/code/*.java \
   132 sun/jvm/hotspot/code/*.java \
   138 sun/jvm/hotspot/compiler/*.java \
   133 sun/jvm/hotspot/compiler/*.java \
   139 sun/jvm/hotspot/debugger/*.java \
   134 sun/jvm/hotspot/debugger/*.java \
   166 sun/jvm/hotspot/gc_implementation/g1/*.java \
   161 sun/jvm/hotspot/gc_implementation/g1/*.java \
   167 sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
   162 sun/jvm/hotspot/gc_implementation/parallelScavenge/*.java \
   168 sun/jvm/hotspot/gc_implementation/shared/*.java \
   163 sun/jvm/hotspot/gc_implementation/shared/*.java \
   169 sun/jvm/hotspot/interpreter/*.java \
   164 sun/jvm/hotspot/interpreter/*.java \
   170 sun/jvm/hotspot/jdi/*.java \
   165 sun/jvm/hotspot/jdi/*.java \
   171 sun/jvm/hotspot/livejvm/*.java \
       
   172 sun/jvm/hotspot/memory/*.java \
   166 sun/jvm/hotspot/memory/*.java \
   173 sun/jvm/hotspot/oops/*.java \
   167 sun/jvm/hotspot/oops/*.java \
   174 sun/jvm/hotspot/opto/*.java \
   168 sun/jvm/hotspot/opto/*.java \
   175 sun/jvm/hotspot/prims/*.java \
   169 sun/jvm/hotspot/prims/*.java \
   176 sun/jvm/hotspot/runtime/*.java \
   170 sun/jvm/hotspot/runtime/*.java \
   203 sun/jvm/hotspot/ui/treetable/*.java \
   197 sun/jvm/hotspot/ui/treetable/*.java \
   204 sun/jvm/hotspot/utilities/*.java \
   198 sun/jvm/hotspot/utilities/*.java \
   205 sun/jvm/hotspot/utilities/memo/*.java \
   199 sun/jvm/hotspot/utilities/memo/*.java \
   206 sun/jvm/hotspot/utilities/soql/*.java \
   200 sun/jvm/hotspot/utilities/soql/*.java \
   207 com/sun/java/swing/action/*.java \
   201 com/sun/java/swing/action/*.java \
   208 com/sun/java/swing/ui/*.java 
   202 com/sun/java/swing/ui/*.java
   209 #END FILELIST
   203 #END FILELIST
   210 
   204 
   211 ifneq "x$(ALT_BOOTDIR)" "x"
   205 ifneq "x$(ALT_BOOTDIR)" "x"
   212   BOOTDIR := $(ALT_BOOTDIR)
   206   BOOTDIR := $(ALT_BOOTDIR)
   213 endif
   207 endif
   229 SRC_DIR    = ../src/share/classes
   223 SRC_DIR    = ../src/share/classes
   230 BUILD_DIR  = ../build
   224 BUILD_DIR  = ../build
   231 OUTPUT_DIR = $(BUILD_DIR)/classes
   225 OUTPUT_DIR = $(BUILD_DIR)/classes
   232 DOC_DIR    = $(BUILD_DIR)/doc
   226 DOC_DIR    = $(BUILD_DIR)/doc
   233 
   227 
   234 # gnumake 3.78.1 does not accept the *s, 
   228 # gnumake 3.78.1 does not accept the *s,
   235 # so use the shell to expand them
   229 # so use the shell to expand them
   236 ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
   230 ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
   237 ALLFILES := $(shell /bin/ls $(ALLFILES))
   231 ALLFILES := $(shell /bin/ls $(ALLFILES))
   238 
   232 
   239 # tools.jar is used by the sa-jdi binding
   233 # tools.jar is used by the sa-jdi binding
   301 	wc -l $(ALLFILES)
   295 	wc -l $(ALLFILES)
   302 
   296 
   303 cscope: $(ALLFILES)
   297 cscope: $(ALLFILES)
   304 	rm -f java.files
   298 	rm -f java.files
   305 	echo $(ALLFILES) > java.files
   299 	echo $(ALLFILES) > java.files
   306 	cscope -b -i java.files -f java.out 
   300 	cscope -b -i java.files -f java.out
   307 	rm -f java.files
   301 	rm -f java.files
   308 
   302 
   309 .PHONY: sa.jar
   303 .PHONY: sa.jar
   310 sa.jar:
   304 sa.jar:
   311 	rm -f $(BUILD_DIR)/sa.jar
   305 	rm -f $(BUILD_DIR)/sa.jar