Makefile revision 867
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# This code is free software; you can redistribute it and/or modify it
2eb3de8d636fcf3c45aa4d5dbbe6bcafc5cbef9fwrowe# under the terms of the GNU General Public License version 2 only, as
2eb3de8d636fcf3c45aa4d5dbbe6bcafc5cbef9fwrowe# published by the Free Software Foundation. Sun designates this
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# particular file as subject to the "Classpath" exception as provided
2eb3de8d636fcf3c45aa4d5dbbe6bcafc5cbef9fwrowe# by Sun in the LICENSE file that accompanied this code.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# This code is distributed in the hope that it will be useful, but WITHOUT
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# version 2 for more details (a copy is included in the LICENSE file that
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# accompanied this code).
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# You should have received a copy of the GNU General Public License version
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# 2 along with this work; if not, write to the Free Software Foundation,
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# CA 95054 USA or visit www.sun.com if you need additional information or
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# have any questions.
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#ifeq ($(PLATFORM), solaris)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# ifneq ($(ARCH), amd64)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# FILES_reorder += reorder-$(ARCH)
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread
f3220f54126b25e1cf93cc26c17177b7aef850fdfieldingelse # PLATFORM
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding#$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib
2eb3de8d636fcf3c45aa4d5dbbe6bcafc5cbef9fwrowe# Add to ambient vpath to get files in a subdirectory
f3220f54126b25e1cf93cc26c17177b7aef850fdfieldingvpath %.c $(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
f3220f54126b25e1cf93cc26c17177b7aef850fdfieldingvpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen
f3220f54126b25e1cf93cc26c17177b7aef850fdfieldingCPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen
f3220f54126b25e1cf93cc26c17177b7aef850fdfieldingCPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# Shun the less than portable MMX assembly code in pnggccrd.c,
f3220f54126b25e1cf93cc26c17177b7aef850fdfielding# and use alternative implementations in C.