Makefile revision 1066
0N/A# Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A# This code is free software; you can redistribute it and/or modify it 0N/A# under the terms of the GNU General Public License version 2 only, as 0N/A# published by the Free Software Foundation. Sun designates this 0N/A# particular file as subject to the "Classpath" exception as provided 0N/A# by Sun in the LICENSE file that accompanied this code. 0N/A# This code is distributed in the hope that it will be useful, but WITHOUT 0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A# version 2 for more details (a copy is included in the LICENSE file that 0N/A# accompanied this code). 0N/A# You should have received a copy of the GNU General Public License version 0N/A# 2 along with this work; if not, write to the Free Software Foundation, 0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A# CA 95054 USA or visit www.sun.com if you need additional information or 0N/A# have any questions. 0N/A# Since this library will be living in a subdirectory below the other libraries 0N/A# we need to add an extra runpath so that libraries in the upper directory 0N/A# are found at runtime. 0N/A# Add to the ambient vpath to pick up files in subdirectories 0N/A# Allows for builds on Debian GNU Linux, X11 is in a different place 0N/A# Generation of wrappers 0N/A# On sparcv9 we generate both 32 and 64-bit sizers in spite of ARCH_DATA_MODEL. 0N/A# On sparcv9 CFLAGS already contain $(XARCH_OPTION/64), so to generate 32-bit sizer we need to change this option. 0N/A# On amd64 we generate both 32 and 64-bit sizers in spite of ARCH_DATA_MODEL. 0N/A# On amd64 CFLAGS already contain $(XARCH_OPTION/64), so to generate 32-bit sizer we need to change this option. 0N/Aelse # !sparcv9 : includes (32-bit) sparc, i586 0N/A# XXX Hack for 6185483 - use hard-coded sizes. 0N/A# Add the 64-bit platforms that need to be included into 32-bit build 0N/A# and have sizes.64-$(PLATFORM)-$(LIBARCH) hardcoded in the workspace 0N/A# If you define DOHACK=true for some combination of $(PLATFORM)-$(LIBARCH), 0N/A# make sure you have sizes.64-$(PLATFORM)-$(LIBARCH) pre-generated in 0N/A# 64 bit sizers are generated on platform-libarch (left) for use 0N/A# on platform-libarch (right) and stored under the latter name. 0N/A# Do compare manually stored and automatically generated pair(s) 0N/A# if DOCOMPARE=true, just after the generation.