Makefile revision 5259
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# This code is free software; you can redistribute it and/or modify it
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# under the terms of the GNU General Public License version 2 only, as
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# published by the Free Software Foundation. Oracle designates this
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# particular file as subject to the "Classpath" exception as provided
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# by Oracle in the LICENSE file that accompanied this code.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# This code is distributed in the hope that it will be useful, but WITHOUT
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f8e5352e74487b3be21a0171ae85ffc534f7399fvboxsync# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# version 2 for more details (a copy is included in the LICENSE file that
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# accompanied this code).
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# You should have received a copy of the GNU General Public License version
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# 2 along with this work; if not, write to the Free Software Foundation,
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# or visit www.oracle.com if you need additional information or have any
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# questions.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# Makefile for building all of sun tools
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync# Rhino/Mozilla java sources
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsyncORG_EXISTS := $(call DirExists,$(CLOSED_SRC)/share/classes/sun/org,,)
7674ee2f976dc48f8777b0e4aa1e0894e4b48a87vboxsync# Non windows subdirs
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync # Solaris 11 does not have support for new compilation of DGA code.
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync OS_MAJOR_VERSION := $(call MajorVersion,$(OS_VERSION))
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync OS_MINOR_VERSION := $(call MinorVersion,$(OS_VERSION))
715e49c31b15c23c17a9ce3be42a75e7c48d4b78vboxsync ifeq ($(shell $(EXPR) $(OS_MAJOR_VERSION) == 5), 1)
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsync ifeq ($(shell $(EXPR) $(OS_MINOR_VERSION) \<= 10), 1)
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsync# nio need to be compiled before awt to have all charsets ready
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsyncSUBDIRS = jar security javazic misc net nio text launcher
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsync DISPLAY_LIBS = awt splashscreen $(XAWT_SUBDIR) $(HEADLESS_SUBDIR)
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsync $(LWAWT_PRE_SUBDIR) $(DISPLAY_LIBS) $(DGA_SUBDIR) $(LWAWT_SUBDIR) \
7383be37f7fdafd682028c4ab39ffeab51fccc36vboxsyncSUBDIRS_misc = $(ORG_SUBDIR) rmi $(JDBC_SUBDIR) tracing