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