blob: 44d05a532a68355399d4708b6653e13a9e5ca212 [file] [log] [blame]
J. Duke319a3b92007-12-01 00:00:00 +00001#
2# Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# This code is free software; you can redistribute it and/or modify it
6# under the terms of the GNU General Public License version 2 only, as
7# published by the Free Software Foundation. Sun designates this
8# particular file as subject to the "Classpath" exception as provided
9# by Sun in the LICENSE file that accompanied this code.
10#
11# This code is distributed in the hope that it will be useful, but WITHOUT
12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14# version 2 for more details (a copy is included in the LICENSE file that
15# accompanied this code).
16#
17# You should have received a copy of the GNU General Public License version
18# 2 along with this work; if not, write to the Free Software Foundation,
19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20#
21# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22# CA 95054 USA or visit www.sun.com if you need additional information or
23# have any questions.
24#
25
26#
27# Makefile for building all of java
28#
29
30PRODUCT=java
31BUILDDIR=..
32include $(BUILDDIR)/common/Defs.gmk
33
34#
35# The order of subdirs here is important
36#
37SUBDIRS += hpi version jvm redist verify fdlibm java sun_nio jli main zip
38
39# Others
40# Note: java_crw_demo java_hprof_demo are demos but must be delivered built in sdk
41SUBDIRS += security npt java_crw_demo java_hprof_demo \
42 math awt util text applet net nio \
43 sql rmi jar beans logging management instrument
44
45
46ifeq ($(PLATFORM), solaris)
47 ifeq ($(ARCH_DATA_MODEL), 32)
48 SUBDIRS += jexec
49 endif
50endif # PLATFORM
51
52ifeq ($(PLATFORM), linux)
53 SUBDIRS += jexec
54endif # PLATFORM
55
56all build clean clobber::
57 $(SUBDIRS-loop)
58