Makefile revision 5048
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Copyright (c) 2002, 2012, Oracle and/or its affiliates. All rights reserved.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# This code is free software; you can redistribute it and/or modify it
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# under the terms of the GNU General Public License version 2 only, as
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# published by the Free Software Foundation. Oracle designates this
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# particular file as subject to the "Classpath" exception as provided
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# by Oracle in the LICENSE file that accompanied this code.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# This code is distributed in the hope that it will be useful, but WITHOUT
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# version 2 for more details (a copy is included in the LICENSE file that
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# accompanied this code).
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# You should have received a copy of the GNU General Public License version
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# 2 along with this work; if not, write to the Free Software Foundation,
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# or visit www.oracle.com if you need additional information or have any
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# questions.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppoCLASSES_INIT += $(TEMPDIR)/.gen.wrappers $(TEMPDIR)/.gen_icons touch.wrappers
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# For Xrender extension.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppoLDFLAGS += -L/usr/openwin/sfw/lib$(ISA_DIR) -R/usr/openwin/sfw/lib$(ISA_DIR)
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Since this library will be living in a subdirectory below the other libraries
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# we need to add an extra runpath so that libraries in the upper directory
LD_RUNPATH_EXTRAS = ..
# have a render.h file that suggests gradients are supported, but
# the Xrender.h doesn't have the corresponding type definitions.
# Whilst in the C preprocessor we can tell if the render.h define's are set
# A grep of Xrender.h is the only way to know this. If they are absent
# On sparcv9 CFLAGS already contain $(XARCH_OPTION/64), so to generate 32-bit sizer we need to change this option.
# On amd64 CFLAGS already contain $(XARCH_OPTION/64), so to generate 32-bit sizer we need to change this option.
DOHACK=true
DOCOMPARE=true
$(CHMOD) +w $@;\
ICONS = \
ICONS += \
$(CAT) $$i | \
-Djava.awt.headless=true \
$(CAT) $$i | \
-Djava.awt.headless=true \
$(TOUCH) $@