a4544a5a0e622ef69e38641f87ab1b5685e05911Phill Cunnington#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This code is free software; you can redistribute it and/or modify it
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# under the terms of the GNU General Public License version 2 only, as
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# published by the Free Software Foundation. Oracle designates this
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# particular file as subject to the "Classpath" exception as provided
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# by Oracle in the LICENSE file that accompanied this code.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# This code is distributed in the hope that it will be useful, but WITHOUT
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# version 2 for more details (a copy is included in the LICENSE file that
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# accompanied this code).
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# You should have received a copy of the GNU General Public License version
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# 2 along with this work; if not, write to the Free Software Foundation,
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# or visit www.oracle.com if you need additional information or have any
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# questions.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
a4544a5a0e622ef69e38641f87ab1b5685e05911Phill Cunnington# Makefile for building com/sun
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterBUILDDIR = ../..
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterPRODUCT = sun
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(BUILDDIR)/common/Defs.gmk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterifndef OPENJDK
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster ORG_EXISTS := $(call DirExists,$(CLOSED_SRC)/share/classes/sun/org,,)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster ifneq ("$(ORG_EXISTS)", "")
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster SCRIPT_SUBDIR = script
d0da70ccbba38b773e7a7cc71bc124b06206d201Robert Wapshott endif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterendif
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
d0da70ccbba38b773e7a7cc71bc124b06206d201Robert Wapshott# jarsigner is part of JRE
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS = java security net/ssl jarsigner
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS_management = jmx
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS_desktop = image
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS_enterprise = crypto/provider jndi \
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster org rowset net/httpserver
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS_misc = $(SCRIPT_SUBDIR) tracing nio demo
d0da70ccbba38b773e7a7cc71bc124b06206d201Robert Wapshott
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster# Omit mirror since it's built with the apt tool.
8af80418ba1ec431c8027fa9668e5678658d3611Allan FosterSUBDIRS_tools = tools
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterinclude $(BUILDDIR)/common/Subdirs.gmk
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterall build clean clobber::
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster $(SUBDIRS-loop)
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster