1 #
2 # Copyright (c) 1998, 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 #
316 ifeq ($(STRIP_POLICY),min_strip)
317 $(QUIETLY) $(STRIP) -x $@
318 # implied else here is no stripping at all
319 endif
320 endif
321 ifeq ($(ZIP_DEBUGINFO_FILES),1)
322 $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO)
323 $(RM) $(LIBJVM_DEBUGINFO)
324 endif
325 endif
326 endif # filter -sbfast -xsbfast
327
328
329 DEST_SUBDIR = $(JDK_LIBDIR)/$(VM_SUBDIR)
330 DEST_JVM = $(DEST_SUBDIR)/$(LIBJVM)
331 DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO)
332 DEST_JVM_DIZ = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
333
334 install_jvm: $(LIBJVM)
335 @echo "Copying $(LIBJVM) to $(DEST_JVM)"
336 $(QUIETLY) test -f $(LIBJVM_DEBUGINFO) && \
337 cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
338 $(QUIETLY) test -f $(LIBJVM_DIZ) && \
339 cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ)
340 $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done"
341
342 #----------------------------------------------------------------------
343 # Other files
344
345 # Signal interposition library
346 include $(MAKEFILES_DIR)/jsig.make
347
348 # Serviceability agent
349 include $(MAKEFILES_DIR)/saproc.make
350
351 #----------------------------------------------------------------------
352
353 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(LIBJVM_DTRACE) $(BUILDLIBSAPROC) dtraceCheck
354
355 install: install_jvm install_jsig install_saproc
356
357 .PHONY: default build install install_jvm
|
1 #
2 # Copyright (c) 1998, 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 #
316 ifeq ($(STRIP_POLICY),min_strip)
317 $(QUIETLY) $(STRIP) -x $@
318 # implied else here is no stripping at all
319 endif
320 endif
321 ifeq ($(ZIP_DEBUGINFO_FILES),1)
322 $(ZIPEXE) -q -y $(LIBJVM_DIZ) $(LIBJVM_DEBUGINFO)
323 $(RM) $(LIBJVM_DEBUGINFO)
324 endif
325 endif
326 endif # filter -sbfast -xsbfast
327
328
329 DEST_SUBDIR = $(JDK_LIBDIR)/$(VM_SUBDIR)
330 DEST_JVM = $(DEST_SUBDIR)/$(LIBJVM)
331 DEST_JVM_DEBUGINFO = $(DEST_SUBDIR)/$(LIBJVM_DEBUGINFO)
332 DEST_JVM_DIZ = $(DEST_SUBDIR)/$(LIBJVM_DIZ)
333
334 install_jvm: $(LIBJVM)
335 @echo "Copying $(LIBJVM) to $(DEST_JVM)"
336 $(QUIETLY) test ! -f $(LIBJVM_DEBUGINFO) || \
337 cp -f $(LIBJVM_DEBUGINFO) $(DEST_JVM_DEBUGINFO)
338 $(QUIETLY) test ! -f $(LIBJVM_DIZ) || \
339 cp -f $(LIBJVM_DIZ) $(DEST_JVM_DIZ)
340 $(QUIETLY) cp -f $(LIBJVM) $(DEST_JVM) && echo "Done"
341
342 #----------------------------------------------------------------------
343 # Other files
344
345 # Signal interposition library
346 include $(MAKEFILES_DIR)/jsig.make
347
348 # Serviceability agent
349 include $(MAKEFILES_DIR)/saproc.make
350
351 #----------------------------------------------------------------------
352
353 build: $(LIBJVM) $(LAUNCHER) $(LIBJSIG) $(LIBJVM_DB) $(LIBJVM_DTRACE) $(BUILDLIBSAPROC) dtraceCheck
354
355 install: install_jvm install_jsig install_saproc
356
357 .PHONY: default build install install_jvm
|