hotspot/make/Makefile

Print this page


   1 #
   2 # Copyright 2005-2008 Sun Microsystems, Inc.  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.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20 # CA 95054 USA or visit www.sun.com if you need additional information or
  21 # have any questions.
  22 #  


 264 endif
 265 
 266 # Shared Library
 267 ifneq ($(OSNAME),windows)
 268 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so
 269         $(install-file)
 270 $(EXPORT_CLIENT_DIR)/%.so:       $(C1_DIR)/%.so
 271         $(install-file)
 272 $(EXPORT_CLIENT_DIR)/64/%.so:    $(C1_DIR)/%.so
 273         $(install-file)
 274 $(EXPORT_SERVER_DIR)/%.so:       $(C2_DIR)/%.so
 275         $(install-file)
 276 $(EXPORT_SERVER_DIR)/64/%.so:    $(C2_DIR)/%.so
 277         $(install-file)
 278 endif
 279 
 280 # Jar file (sa-jdi.jar)
 281 $(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 282         $(install-file)
 283 
 284 # Include files (jvmti.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h)
 285 $(EXPORT_INCLUDE_DIR)/%: $(GEN_DIR)/jvmtifiles/%
 286         $(install-file)
 287 



 288 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/prims/%
 289         $(install-file)
 290 
 291 $(EXPORT_INCLUDE_DIR)/$(JDK_INCLUDE_SUBDIR)/jni_md.h:  $(HS_SRC_DIR)/cpu/$(HS_ARCH)/vm/jni_$(HS_ARCH).h
 292         $(install-file)
 293 
 294 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/services/%
 295         $(install-file)
 296 
 297 # Doc files (jvmti.html)
 298 $(EXPORT_DOCS_DIR)/platform/jvmti/%: $(DOCS_DIR)/%
 299         $(install-file)
 300 
 301 # Xusage file
 302 $(EXPORT_SERVER_DIR)/Xusage.txt $(EXPORT_CLIENT_DIR)/Xusage.txt $(EXPORT_KERNEL_DIR)/Xusage.txt: $(XUSAGE)
 303         $(prep-target)
 304         $(RM) $@.temp
 305         $(SED) 's/\(separated by \)[;:]/\1$(PATH_SEP)/g' $< > $@.temp
 306         $(MV) $@.temp $@
 307 


   1 #
   2 # Copyright 2005-2010 Sun Microsystems, Inc.  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.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20 # CA 95054 USA or visit www.sun.com if you need additional information or
  21 # have any questions.
  22 #  


 264 endif
 265 
 266 # Shared Library
 267 ifneq ($(OSNAME),windows)
 268 $(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so
 269         $(install-file)
 270 $(EXPORT_CLIENT_DIR)/%.so:       $(C1_DIR)/%.so
 271         $(install-file)
 272 $(EXPORT_CLIENT_DIR)/64/%.so:    $(C1_DIR)/%.so
 273         $(install-file)
 274 $(EXPORT_SERVER_DIR)/%.so:       $(C2_DIR)/%.so
 275         $(install-file)
 276 $(EXPORT_SERVER_DIR)/64/%.so:    $(C2_DIR)/%.so
 277         $(install-file)
 278 endif
 279 
 280 # Jar file (sa-jdi.jar)
 281 $(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
 282         $(install-file)
 283 
 284 # Include files (jvmti.h, jvmticmlr.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h)
 285 $(EXPORT_INCLUDE_DIR)/%: $(GEN_DIR)/jvmtifiles/%
 286         $(install-file)
 287 
 288 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/code/%
 289         $(install-file)
 290 
 291 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/prims/%
 292         $(install-file)
 293 
 294 $(EXPORT_INCLUDE_DIR)/$(JDK_INCLUDE_SUBDIR)/jni_md.h:  $(HS_SRC_DIR)/cpu/$(HS_ARCH)/vm/jni_$(HS_ARCH).h
 295         $(install-file)
 296 
 297 $(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/services/%
 298         $(install-file)
 299 
 300 # Doc files (jvmti.html)
 301 $(EXPORT_DOCS_DIR)/platform/jvmti/%: $(DOCS_DIR)/%
 302         $(install-file)
 303 
 304 # Xusage file
 305 $(EXPORT_SERVER_DIR)/Xusage.txt $(EXPORT_CLIENT_DIR)/Xusage.txt $(EXPORT_KERNEL_DIR)/Xusage.txt: $(XUSAGE)
 306         $(prep-target)
 307         $(RM) $@.temp
 308         $(SED) 's/\(separated by \)[;:]/\1$(PATH_SEP)/g' $< > $@.temp
 309         $(MV) $@.temp $@
 310