Makefile revision 867
0N/A#
381N/A# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
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#
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#
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#
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#
0N/A
0N/ABUILDDIR = ../..
0N/APACKAGE = sun.awt
0N/ALIBRARY = splashscreen
0N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A#
0N/A# Files
0N/A#
0N/Ainclude FILES_c.gmk
0N/A
0N/AFILES_java = \
0N/A java/awt/SplashScreen.java
0N/A
0N/AFILES_export = \
0N/A java/awt/SplashScreen.java
0N/A
0N/A
0N/A#
0N/A# Rules
0N/A#
0N/A# FIXME!!!!
0N/A#ifeq ($(PLATFORM), solaris)
0N/A# ifneq ($(ARCH), amd64)
0N/A# FILES_reorder += reorder-$(ARCH)
0N/A# endif
0N/A#endif
0N/Ainclude $(BUILDDIR)/common/Mapfile-vers.gmk
0N/Ainclude $(BUILDDIR)/common/Library.gmk
0N/A
0N/AJAVALIB=
0N/A
0N/A#
0N/A# C Flags
0N/A#
0N/A
0N/ACFLAGS += -DSPLASHSCREEN
0N/A
0N/Aifneq ($(PLATFORM), windows)
0N/A CFLAGS += -DWITH_X11
0N/A CPPFLAGS += -I$(OPENWIN_HOME)/include -I$(OPENWIN_HOME)/include/X11/extensions
0N/A OTHER_LDLIBS += -L$(OPENWIN_LIB) -lX11 -lXext $(LIBM) -lpthread
0N/Aelse # PLATFORM
0N/A CFLAGS += -DWITH_WIN32
862N/A OTHER_LDLIBS += kernel32.lib user32.lib gdi32.lib delayimp.lib /DELAYLOAD:user32.dll
0N/A#$(JVMLIB) $(OBJDIR)/../../jpeg/$(OBJDIRNAME)/jpeg$(SUFFIX).lib
0N/Aendif # PLATFORM
0N/A
0N/A#
0N/A# Add to ambient vpath to get files in a subdirectory
0N/A#
0N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)/splashscreen
0N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)
0N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)/giflib
0N/Avpath %.c $(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
0N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)/libpng
0N/Avpath %.c $(SHARE_SRC)/native/$(PKGDIR)/image/jpeg
0N/Avpath %.c $(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen
0N/A
0N/ACPPFLAGS += -I$(PLATFORM_SRC)/native/$(PKGDIR)/splashscreen -I$(SHARE_SRC)/native/$(PKGDIR)/splashscreen
0N/ACPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/image/jpeg -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
0N/A
867N/A# Shun the less than portable MMX assembly code in pnggccrd.c,
867N/A# and use alternative implementations in C.
867N/ACPPFLAGS += -DPNG_NO_MMX_CODE