4680N/A# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 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 2362N/A# published by the Free Software Foundation. Oracle designates this 0N/A# particular file as subject to the "Classpath" exception as provided 2362N/A# by Oracle in the LICENSE file that accompanied this code. 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# 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. 2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A# Java Launcher Infrastructure Library (libjli) 0N/A# This library provides shared support for the Java launcher in all of 0N/A# its manifestations (java, javaw, javac, ...). 0N/A# Note that for Windows, both a dynamic and static version are built. 0N/A# Doing the compiles with the static library specified can be overridden 0N/A# by the link step, but not the reverse. 4680N/A# set the platform specific directory for macosx, also this platform shares 4680N/A# substantial family ties with its siblings (solaris and linux), thus we add 4680N/A# solaris src path to its compilation dependencies. 4680N/A# add platform specific files 4680N/A # if the architecture specific ergo file exists then 0N/A# Names of arch directories 4680N/A # Note: it is important to keep this order, meaning -lc as the 4680N/A # last library, otherwise it could cause compatibility issues 4680N/A # by pulling in SUNW_private symbols from libc 0N/A# Library to compile. 0N/A# On Windows, some executable objects need to be statically linked against 0N/A# the jli library. Hence, we need both a standard library (archive) and 0N/A# an import library (associated with a dll). These both usually have the 0N/A# extension .LIB, so they need to be placed in different directories. The 0N/A# import library is build (as usual) in the $(OBJDIR) directory while the 0N/A# standard library is built in a "static" subdirectory. The standard library 0N/A# is not delivered as part of the product, but is only needed as part of 0N/A# the build process. The import library is built by the standard rules 4680N/A # "-x" option. Not doing so will cause the compiler to choose the language 4680N/A # based on the filename suffix, also "-Os" optimizes the file for size. 4680N/A # Needed for linking the various launchers 4680N/A # Add solaris sources containing common logic to the header path 4680N/A # Add to ambient vpath so we pick up the library files, for macos we add 4680N/A # solaris sources which contains the common logic for all nixes