Makefile revision 3909
286N/A# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved. 286N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 286N/A# This code is free software; you can redistribute it and/or modify it 286N/A# under the terms of the GNU General Public License version 2 only, as 286N/A# published by the Free Software Foundation. Oracle designates this 286N/A# particular file as subject to the "Classpath" exception as provided 286N/A# by Oracle in the LICENSE file that accompanied this code. 286N/A# This code is distributed in the hope that it will be useful, but WITHOUT 286N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 286N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 286N/A# version 2 for more details (a copy is included in the LICENSE file that 286N/A# accompanied this code). 286N/A# You should have received a copy of the GNU General Public License version 286N/A# 2 along with this work; if not, write to the Free Software Foundation, 286N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 286N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 286N/A# Use highest optimization level 286N/A# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS 286N/A# Prune files that are currently unused on Windows (but still used on 286N/A# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS 286N/A # If on Solaris 11 (or dlfcn.h has unknown_control_flow pragmas in it) 286N/A # we trigger a SS11 bug that causes the compiler to crash (bug 6343678) 286N/A # Here we check to see if we need this workaround and change the opt 286N/A # settings for this one file. 286N/A $(warning "WARNING: Using workaround for SS11 bug 6343678, on $@") 286N/A # Compiler bug 6343678 need to prevent a SEGV in the compiler 286N/A $(warning "WARNING: Using workaround for SS11 bug 6343678, on $@") 286N/A# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS-SPARC 286N/A# solaris-sparc and solaris-sparcv9 both build 'vis' # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS-SPARC # libawt.so on Linux is statically linked with Motif and contains all the # Xm symbols. Mapfile is disabled so the symbols will remain public. # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS # Additional dependencies. # If make.depend is not working correctly, then it can be omitted # if you always build from a clean workspace. # required additional rules: # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS/LINUX # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS/LINUX # Add to the ambient vpath to pick up files in subdirectories # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv LINUX # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ LINUX # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS/LINUX # Use -lXmu for EditRes support # Solaris X11 Direct Graphics Access library # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS/LINUX # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv LINUX # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ LINUX # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv WINDOWS # Useful variables that name parts of the src tree. # FIXME: awt shouldn't have to see the VM's private headers. # FIXME: if you re-order this list, the build breaks, possibly because # of filename collision. Such a collision, if present, is pure # evil. Need to investigate this. # -I$(WINAWT_COMMON_native) # .res file construction. # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ WINDOWS # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv SOLARIS/LINUX # Other extra flags needed for compiling. # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SOLARIS/LINUX