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