make/linux/makefiles/vm.make

Print this page


   1 #
   2 # Copyright (c) 1999, 2013, 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.
   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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


 349         $(QUIETLY) $(STRIP) $@
 350   else
 351     ifeq ($(STRIP_POLICY),min_strip)
 352         $(QUIETLY) $(STRIP) -g $@
 353     # implied else here is no stripping at all
 354     endif
 355   endif
 356   ifeq ($(ZIP_DEBUGINFO_FILES),1)
 357         $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO)
 358         $(RM) $(LIBJVM_DEBUGINFO)
 359   endif
 360 endif
 361 
 362 DEST_SUBDIR        = $(JDK_LIBDIR)/$(VM_SUBDIR)
 363 DEST_JVM           = $(DEST_SUBDIR)/$(LIBJVM)
 364 DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO)
 365 DEST_JVM_DIZ       = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
 366 
 367 install_jvm: $(LIBJVM)
 368         @echo "Copying $(LIBJVM) to $(DEST_JVM)"
 369         $(QUIETLY) test -f $(LIBJVM_DEBUGINFO) && \
 370             cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
 371         $(QUIETLY) test -f $(LIBJVM_DIZ) && \
 372             cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ)
 373         $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done"
 374 
 375 #----------------------------------------------------------------------
 376 # Other files
 377 
 378 # Signal interposition library
 379 include $(MAKEFILES_DIR)/jsig.make
 380 
 381 # Serviceability agent
 382 include $(MAKEFILES_DIR)/saproc.make
 383 
 384 #----------------------------------------------------------------------
 385 
 386 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(BUILDLIBSAPROC) dtraceCheck
 387 
 388 install: install_jvm install_jsig install_saproc
 389 
 390 .PHONY: default build install install_jvm $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/$(BUILDARCH).make $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/vm.make
   1 #
   2 # Copyright (c) 1999, 2014, 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.
   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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #


 349         $(QUIETLY) $(STRIP) $@
 350   else
 351     ifeq ($(STRIP_POLICY),min_strip)
 352         $(QUIETLY) $(STRIP) -g $@
 353     # implied else here is no stripping at all
 354     endif
 355   endif
 356   ifeq ($(ZIP_DEBUGINFO_FILES),1)
 357         $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO)
 358         $(RM) $(LIBJVM_DEBUGINFO)
 359   endif
 360 endif
 361 
 362 DEST_SUBDIR        = $(JDK_LIBDIR)/$(VM_SUBDIR)
 363 DEST_JVM           = $(DEST_SUBDIR)/$(LIBJVM)
 364 DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO)
 365 DEST_JVM_DIZ       = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
 366 
 367 install_jvm: $(LIBJVM)
 368         @echo "Copying $(LIBJVM) to $(DEST_JVM)"
 369         $(QUIETLY) test ! -f $(LIBJVM_DEBUGINFO) || \
 370             cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
 371         $(QUIETLY) test ! -f $(LIBJVM_DIZ) || \
 372             cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ)
 373         $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done"
 374 
 375 #----------------------------------------------------------------------
 376 # Other files
 377 
 378 # Signal interposition library
 379 include $(MAKEFILES_DIR)/jsig.make
 380 
 381 # Serviceability agent
 382 include $(MAKEFILES_DIR)/saproc.make
 383 
 384 #----------------------------------------------------------------------
 385 
 386 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(BUILDLIBSAPROC) dtraceCheck
 387 
 388 install: install_jvm install_jsig install_saproc
 389 
 390 .PHONY: default build install install_jvm $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/$(BUILDARCH).make $(HS_ALT_MAKE)/$(Platform_os_family)/makefiles/vm.make