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