Makefile revision 1029
c60f0e1a81c07f23a42f2fdfaebf747bcdd30ae7Tim Reddehase# Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# This code is free software; you can redistribute it and/or modify it
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# under the terms of the GNU General Public License version 2 only, as
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# published by the Free Software Foundation. Sun designates this
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# particular file as subject to the "Classpath" exception as provided
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# by Sun in the LICENSE file that accompanied this code.
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# This code is distributed in the hope that it will be useful, but WITHOUT
d731d2608b96a59e2dbef7cdd0cd8f3d7eed955aTim Reddehase# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# version 2 for more details (a copy is included in the LICENSE file that
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# accompanied this code).
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# You should have received a copy of the GNU General Public License version
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# 2 along with this work; if not, write to the Free Software Foundation,
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
cb09f778ad6878e2a08030d75410c130c737ba41Tim Reddehase# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
c60f0e1a81c07f23a42f2fdfaebf747bcdd30ae7Tim Reddehase# CA 95054 USA or visit www.sun.com if you need additional information or
c60f0e1a81c07f23a42f2fdfaebf747bcdd30ae7Tim Reddehase# have any questions.
996c28c2e9f755a6831378e9bc4c4513bc5e45caTim Reddehase# Tell Defs.gmk that VIS is needed
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim Reddehase# Use highest optimization level
996c28c2e9f755a6831378e9bc4c4513bc5e45caTim ReddehaseOTHER_CFLAGS += -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim Reddehase# Include all Java source files in sun/awt and sun/java2d, except for:
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim Reddehase# sun/awt/resources handled by java/awt/Makefile
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim Reddehase# sun/java2d/pisces handled by sun/pisces/Makefile
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim ReddehaseAUTO_FILES_JAVA_DIRS = sun/awt sun/java2d com/sun/awt
4356d89b99a2cc4d4f5b0736cad1b62f437189d2Tim Reddehase# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS
37cc69ff6c896d2259221d7f912c3a4113cbfccbEugen Kuksa# Prune files that are currently unused on Windows (but still used on
6f6f5298a9d018416275e6e664bf7a8d7c40016eEugen KuksaOTHER_CFLAGS += $(GX_OPTION) -DMLIB_NO_LIBSUNMATH -DUNICODE -D_UNICODE
6f6f5298a9d018416275e6e664bf7a8d7c40016eEugen KuksaOTHER_CXXFLAGS += $(GX_OPTION) -DUNICODE -D_UNICODE
0e9a600d7b5b2bf21d7105b4513b9b5d6e85ba03Eugen Kuksa# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS
0e9a600d7b5b2bf21d7105b4513b9b5d6e85ba03Eugen Kuksa# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS/LINUX
996c28c2e9f755a6831378e9bc4c4513bc5e45caTim Reddehase# Prune the sun/awt/X11 subdirectory, which is handled by sun/xawt/Makefile.
37f8751b279b9fbe3033dfdc2b08a67083878afbEugen Kuksa# Also prune files that are currently unused on Solaris/Linux (but still
37f8751b279b9fbe3033dfdc2b08a67083878afbEugen Kuksa# used on Windows).
# If on Solaris 11 (or dlfcn.h has unknown_control_flow pragmas in it)
ASFLAGS += -P
# libawt.so on Linux is statically linked with Motif and contains all the
LDNOMAP=true
# If make.depend is not working correctly, then it can be omitted
$(JVMLIB) \
_DGALIBS_sparc = \
_DGALIBS_sparcv9 = \
$(CHMOD) a+x $@
$(CHMOD) a+x $@
_FONTCONFIGS = \
_FONTCONFIGS = \
_FONTCONFIGS = \
_FONTCONFIGS = \
-I$(OBJDIR) \
-I$(WINAWT_native) \
-I$(DXSDK_INCLUDE_PATH) \
$(EVENT_MODEL)
$(AWT_RUNPATH)