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