Makefile revision 586
b660db2ba0918c1397e53981693c4164a73a3f93joncruz#
b660db2ba0918c1397e53981693c4164a73a3f93joncruz# Copyright 1995-2008 Sun Microsystems, Inc. All Rights Reserved.
b660db2ba0918c1397e53981693c4164a73a3f93joncruz# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
b660db2ba0918c1397e53981693c4164a73a3f93joncruz#
b660db2ba0918c1397e53981693c4164a73a3f93joncruz# This code is free software; you can redistribute it and/or modify it
b660db2ba0918c1397e53981693c4164a73a3f93joncruz# under the terms of the GNU General Public License version 2 only, as
b660db2ba0918c1397e53981693c4164a73a3f93joncruz# published by the Free Software Foundation. Sun designates this
6157c229c554f278cc5c846b0498bf74a207c6a8joncruz# particular file as subject to the "Classpath" exception as provided
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# by Sun in the LICENSE file that accompanied this code.
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# This code is distributed in the hope that it will be useful, but WITHOUT
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# version 2 for more details (a copy is included in the LICENSE file that
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# accompanied this code).
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# You should have received a copy of the GNU General Public License version
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński# 2 along with this work; if not, write to the Free Software Foundation,
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# CA 95054 USA or visit www.sun.com if you need additional information or
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński# have any questions.
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# Makefile for building all of sun tools
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould#
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed GouldBUILDDIR = ..
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed GouldPRODUCT = sun
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldinclude $(BUILDDIR)/common/Defs.gmk
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# Rhino/Mozilla java sources
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed GouldORG_EXISTS := $(call DirExists,$(CLOSED_SRC)/share/classes/sun/org,,)
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldifneq ("$(ORG_EXISTS)", "")
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński ORG_SUBDIR = org
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosińskiendif
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould# Non windows subdirs
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldifneq ($(PLATFORM), windows)
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould ifndef OPENJDK
6122b7e8c0a07a3bdccf4d18364ef4272fb3621bKrzysztof Kosiński ifeq ($(PLATFORM), solaris)
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould ifneq ($(ARCH), amd64)
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould DGA_SUBDIR = jdga
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould endif
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould endif
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould endif
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould HEADLESS_SUBDIR = headless
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould XAWT_SUBDIR = xawt
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldendif
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
00f9ca0b3aa57e09f3c3f3632c5427fc03499df5Krzysztof Kosińskiifndef OPENJDK
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould JDBC_SUBDIR = jdbc
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldendif
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldifdef OPENJDK
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould RENDER_SUBDIR = pisces
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldelse
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould RENDER_SUBDIR = dcpr
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldendif
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof KosińskiSUBDIRS = jar security javazic misc net audio $(RENDER_SUBDIR) image \
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński awt splashscreen $(XAWT_SUBDIR) \
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosiński $(HEADLESS_SUBDIR) $(DGA_SUBDIR) \
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould font jpeg cmm applet rmi beans $(JDBC_SUBDIR) \
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould jawt text nio launcher management $(ORG_SUBDIR) \
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould native2ascii serialver tools jconsole tracing
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gouldall build clean clobber::
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould $(SUBDIRS-loop)
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould
dec88c2ca8b119d5582e6f653808bd02e1216a5fTed Gould