Makefile revision 4312
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# This code is free software; you can redistribute it and/or modify it
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# under the terms of the GNU General Public License version 2 only, as
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# published by the Free Software Foundation. Oracle designates this
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# particular file as subject to the "Classpath" exception as provided
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# by Oracle in the LICENSE file that accompanied this code.
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# This code is distributed in the hope that it will be useful, but WITHOUT
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# version 2 for more details (a copy is included in the LICENSE file that
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# accompanied this code).
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# You should have received a copy of the GNU General Public License version
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# 2 along with this work; if not, write to the Free Software Foundation,
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# or visit www.oracle.com if you need additional information or have any
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Tell Defs.gmk that VIS is needed
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Use highest optimization level
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen KuksaOTHER_CFLAGS += -D__MEDIALIB_OLD_NAMES -D__USE_J2D_NAMES
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Include all Java source files in sun/awt and sun/java2d, except for:
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# sun/java2d/pisces handled by sun/pisces/Makefile
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen KuksaAUTO_FILES_JAVA_DIRS = sun/awt sun/java2d com/sun/awt
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen Kuksa# Prune files that are currently unused on Windows (but still used on
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen KuksaOTHER_CFLAGS += $(GX_OPTION) -DMLIB_NO_LIBSUNMATH -DUNICODE -D_UNICODE
3e5dd87f67010dcea4642e1d32a6d8fe57daf677Eugen KuksaOTHER_CXXFLAGS += $(GX_OPTION) -DUNICODE -D_UNICODE
# 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 = \
_FONTCONFIGS = \
_FONTCONFIGS = \
_FONTCONFIGS = \
_FONTCONFIGS = \
-I$(OBJDIR) \
-I$(WINAWT_native) \
-I$(DXSDK_INCLUDE_PATH) \
$(EVENT_MODEL)
$(AWT_RUNPATH)