Makefile revision 3280
402N/A#
402N/A# Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.
402N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
402N/A#
402N/A# This code is free software; you can redistribute it and/or modify it
402N/A# under the terms of the GNU General Public License version 2 only, as
402N/A# published by the Free Software Foundation. Oracle designates this
402N/A# particular file as subject to the "Classpath" exception as provided
402N/A# by Oracle in the LICENSE file that accompanied this code.
402N/A#
402N/A# This code is distributed in the hope that it will be useful, but WITHOUT
402N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
402N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
402N/A# version 2 for more details (a copy is included in the LICENSE file that
402N/A# accompanied this code).
402N/A#
402N/A# You should have received a copy of the GNU General Public License version
402N/A# 2 along with this work; if not, write to the Free Software Foundation,
402N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
402N/A#
814N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
402N/A# or visit www.oracle.com if you need additional information or have any
814N/A# questions.
814N/A#
814N/A
814N/A#
814N/A# Makefile for building all of sun tools
402N/A#
402N/A
402N/ABUILDDIR = ..
402N/APRODUCT = sun
402N/Ainclude $(BUILDDIR)/common/Defs.gmk
402N/A
618N/A# Rhino/Mozilla java sources
402N/AORG_EXISTS := $(call DirExists,$(CLOSED_SRC)/share/classes/sun/org,,)
402N/Aifneq ("$(ORG_EXISTS)", "")
402N/A ORG_SUBDIR = org
402N/Aendif
402N/A
402N/A# Non windows subdirs
814N/Aifneq ($(PLATFORM), windows)
814N/A ifndef OPENJDK
402N/A ifeq ($(PLATFORM), solaris)
402N/A ifneq ($(ARCH), amd64)
402N/A # Solaris 11 does not have support for new compilation of DGA code.
402N/A OS_VERSION = $(shell uname -r)
402N/A OS_MAJOR_VERSION := $(call MajorVersion,$(OS_VERSION))
402N/A OS_MINOR_VERSION := $(call MinorVersion,$(OS_VERSION))
402N/A ifeq ($(shell $(EXPR) $(OS_MAJOR_VERSION) == 5), 1)
402N/A ifeq ($(shell $(EXPR) $(OS_MINOR_VERSION) \<= 10), 1)
402N/A DGA_SUBDIR = jdga
402N/A endif
402N/A endif
402N/A endif
402N/A endif
402N/A endif
402N/A HEADLESS_SUBDIR = headless
402N/A XAWT_SUBDIR = xawt
402N/Aendif
402N/A
402N/Aifndef OPENJDK
402N/A JDBC_SUBDIR = jdbc
402N/Aendif
402N/Aifdef OPENJDK
402N/A RENDER_SUBDIR = pisces
402N/Aelse
402N/A RENDER_SUBDIR = dcpr
402N/Aendif
402N/A
402N/A# nio need to be compiled before awt to have all charsets ready
402N/ASUBDIRS = jar security javazic misc net nio text launcher
402N/ASUBDIRS_desktop = audio $(RENDER_SUBDIR) image \
402N/A awt splashscreen $(XAWT_SUBDIR) \
402N/A $(HEADLESS_SUBDIR) $(DGA_SUBDIR) \
402N/A jawt font jpeg cmm applet beans
402N/ASUBDIRS_management = management
402N/ASUBDIRS_misc = jkernel $(ORG_SUBDIR) \
402N/A rmi $(JDBC_SUBDIR) tracing
402N/ASUBDIRS_tools = native2ascii serialver tools jconsole
402N/Ainclude $(BUILDDIR)/common/Subdirs.gmk
402N/A
402N/Aall build clean clobber::
402N/A $(SUBDIRS-loop)
402N/A
402N/A