Mercurial > hg > truffle
comparison make/solaris/Makefile @ 1930:2d26b0046e0d
Merge.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Tue, 30 Nov 2010 14:53:30 +0100 |
parents | 34bd82eba3bb |
children | d6cdc6c77582 |
comparison
equal
deleted
inserted
replaced
1484:6b7001391c97 | 1930:2d26b0046e0d |
---|---|
1 # | 1 # |
2 # Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved. | 2 # Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | 4 # |
5 # This code is free software; you can redistribute it and/or modify it | 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 | 6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. | 7 # published by the Free Software Foundation. |
14 # | 14 # |
15 # You should have received a copy of the GNU General Public License version | 15 # You should have received a copy of the GNU General Public License version |
16 # 2 along with this work; if not, write to the Free Software Foundation, | 16 # 2 along with this work; if not, write to the Free Software Foundation, |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
18 # | 18 # |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 # CA 95054 USA or visit www.sun.com if you need additional information or | 20 # or visit www.oracle.com if you need additional information or have any |
21 # have any questions. | 21 # questions. |
22 # | 22 # |
23 # | 23 # |
24 | 24 |
25 # This makefile creates a build tree and lights off a build. | 25 # This makefile creates a build tree and lights off a build. |
26 # You can go back into the build tree and perform rebuilds or | 26 # You can go back into the build tree and perform rebuilds or |
27 # incremental builds as desired. Be sure to reestablish | 27 # incremental builds as desired. Be sure to reestablish |
34 # /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited) | 34 # /usr/local/java/jdk1.3/solaris), or via the (JDK-inherited) |
35 # default BOOTDIR path value. Note that one of ALT_BOOTDIR | 35 # default BOOTDIR path value. Note that one of ALT_BOOTDIR |
36 # or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc. | 36 # or BOOTDIR has to be set. We do *not* search javac, javah, rmic etc. |
37 # from the PATH. | 37 # from the PATH. |
38 | 38 |
39 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. | 39 # Along with VM, Serviceability Agent (SA) is built for SA/JDI binding. |
40 # JDI binding on SA produces two binaries: | 40 # JDI binding on SA produces two binaries: |
41 # 1. sa-jdi.jar - This is build before building libjvm[_g].so | 41 # 1. sa-jdi.jar - This is build before building libjvm[_g].so |
42 # Please refer to ./makefiles/sa.make | 42 # Please refer to ./makefiles/sa.make |
43 # 2. libsaproc[_g].so - Native library for SA - This is built after | 43 # 2. libsaproc[_g].so - Native library for SA - This is built after |
44 # libjsig[_g].so (signal interposition library) | 44 # libjsig[_g].so (signal interposition library) |
45 # Please refer to ./makefiles/vm.make | 45 # Please refer to ./makefiles/vm.make |
46 # If $(GAMMADIR)/agent dir is not present, SA components are not built. | 46 # If $(GAMMADIR)/agent dir is not present, SA components are not built. |
47 | 47 |
48 ifeq ($(GAMMADIR),) | 48 ifeq ($(GAMMADIR),) |
49 include ../../make/defs.make | 49 include ../../make/defs.make |
50 else | 50 else |
51 include $(GAMMADIR)/make/defs.make | 51 include $(GAMMADIR)/make/defs.make |
52 endif | 52 endif |
53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make | 53 include $(GAMMADIR)/make/$(OSNAME)/makefiles/rules.make |
54 | 54 |
55 ifndef LP64 | |
56 ifndef CC_INTERP | 55 ifndef CC_INTERP |
57 FORCE_TIERED=1 | 56 ifndef FORCE_TIERED |
58 endif | 57 FORCE_TIERED=1 |
58 endif | |
59 endif | 59 endif |
60 | 60 |
61 ifdef LP64 | 61 ifdef LP64 |
62 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") | 62 ifeq ("$(filter $(LP64_ARCH),$(BUILDARCH))","") |
63 _JUNK_ := $(shell echo >&2 \ | 63 _JUNK_ := $(shell echo >&2 \ |
210 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) | 210 $(SUBDIRS_TIERED): $(BUILDTREE_MAKE) |
211 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks | 211 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
212 $(BUILDTREE) VARIANT=tiered | 212 $(BUILDTREE) VARIANT=tiered |
213 | 213 |
214 $(SUBDIRS_C2): $(BUILDTREE_MAKE) | 214 $(SUBDIRS_C2): $(BUILDTREE_MAKE) |
215 ifdef FORCE_TIERED | 215 ifeq ($(FORCE_TIERED),1) |
216 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks | 216 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
217 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 | 217 $(BUILDTREE) VARIANT=tiered FORCE_TIERED=1 |
218 else | 218 else |
219 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks | 219 $(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks |
220 $(BUILDTREE) VARIANT=compiler2 | 220 $(BUILDTREE) VARIANT=compiler2 |