make/aix/makefiles/product.make

changeset 6464
b83f7d608548
parent 0
f90c822e73f8
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/make/aix/makefiles/product.make	Fri Sep 06 20:08:29 2013 +0200
     1.3 @@ -0,0 +1,58 @@
     1.4 +#
     1.5 +# Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright 2012, 2013 SAP AG. All rights reserved.
     1.7 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8 +#
     1.9 +# This code is free software; you can redistribute it and/or modify it
    1.10 +# under the terms of the GNU General Public License version 2 only, as
    1.11 +# published by the Free Software Foundation.
    1.12 +#
    1.13 +# This code is distributed in the hope that it will be useful, but WITHOUT
    1.14 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.15 +# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.16 +# version 2 for more details (a copy is included in the LICENSE file that
    1.17 +# accompanied this code).
    1.18 +#
    1.19 +# You should have received a copy of the GNU General Public License version
    1.20 +# 2 along with this work; if not, write to the Free Software Foundation,
    1.21 +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.22 +#
    1.23 +# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.24 +# or visit www.oracle.com if you need additional information or have any
    1.25 +# questions.
    1.26 +#  
    1.27 +#
    1.28 +
    1.29 +# Sets make macros for making optimized version of Gamma VM
    1.30 +# (This is the "product", not the "release" version.)
    1.31 +
    1.32 +# Compiler specific OPT_CFLAGS are passed in from gcc.make, sparcWorks.make
    1.33 +OPT_CFLAGS/DEFAULT= $(OPT_CFLAGS)
    1.34 +OPT_CFLAGS/BYFILE = $(OPT_CFLAGS/$@)$(OPT_CFLAGS/DEFAULT$(OPT_CFLAGS/$@))
    1.35 +
    1.36 +# (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
    1.37 +
    1.38 +# If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
    1.39 +CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)
    1.40 +
    1.41 +# Set the environment variable HOTSPARC_GENERIC to "true"
    1.42 +# to inhibit the effect of the previous line on CFLAGS.
    1.43 +
    1.44 +# Linker mapfile
    1.45 +MAPFILE = $(GAMMADIR)/make/aix/makefiles/mapfile-vers-product
    1.46 +
    1.47 +# Remove ipa linkage altogether. Does not seem to benfit performance, but increases code footprint.
    1.48 +LFLAGS_QIPA=
    1.49 +
    1.50 +SYSDEFS += -DPRODUCT
    1.51 +VERSION = optimized
    1.52 +
    1.53 +# use -g to strip library as -x will discard its symbol table; -x is fine for
    1.54 +# executables.
    1.55 +# Note: these macros are not used in .debuginfo configs
    1.56 +STRIP_LIBJVM = $(STRIP) -g $@ || exit 1;
    1.57 +STRIP_AOUT   = $(STRIP) -x $@ || exit 1;
    1.58 +
    1.59 +# If we can create .debuginfo files, then the VM is stripped in vm.make
    1.60 +# and this macro is not used.
    1.61 +# LINK_LIB.CXX/POST_HOOK += $(STRIP_$(LINK_INTO))

mercurial