annotate make/Makefile @ 600:103590fc1e0a

Added tag jdk8-b112 for changeset 6a4fdb3bb4e3
author cl
date Thu, 17 Oct 2013 09:41:14 -0700
parents ae1c9716685b
children 779e155419b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
1 #
6
5a1b0714df0e 8005663: Update copyright year to 2013
jlaskey
parents: 2
diff changeset
2 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
4 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
7 # published by the Free Software Foundation. Oracle designates this
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
8 # particular file as subject to the "Classpath" exception as provided
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
9 # by Oracle in the LICENSE file that accompanied this code.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
10 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
11 # This code is distributed in the hope that it will be useful, but WITHOUT
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
14 # version 2 for more details (a copy is included in the LICENSE file that
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
15 # accompanied this code).
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
16 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License version
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
18 # 2 along with this work; if not, write to the Free Software Foundation,
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
20 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
22 # or visit www.oracle.com if you need additional information or have any
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
23 # questions.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
24 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
25
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
26 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
27 # On Solaris, the standard 'make' utility will not work with these makefiles.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
28 # This little rule is only understood by Solaris make, and is harmless
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
29 # when seen by the GNU make tool. If using Solaris make, this causes the
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
30 # make command to fail.
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
31 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
32 SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
33
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
34
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
35 # Default target and expected 'do everything' target
108
ae1c9716685b 8008447: Tweaks to make all NEWBUILD=false round 3
jlaskey
parents: 102
diff changeset
36 all:
ae1c9716685b 8008447: Tweaks to make all NEWBUILD=false round 3
jlaskey
parents: 102
diff changeset
37 echo Nashorn can only be built with NEWBUILD=true
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
38
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
39 # Standard make clobber target
108
ae1c9716685b 8008447: Tweaks to make all NEWBUILD=false round 3
jlaskey
parents: 102
diff changeset
40 clobber:
2
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
41
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
42 #-------------------------------------------------------------------
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
43 #
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
44 # Targets for Oracle's internal JPRT build system
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
45
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
46 CD = cd
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
47 ZIP = zip
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
48
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
49 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
50
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
51 jprt_build_product jprt_build_debug jprt_build_fastdebug: all
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
52 ( $(CD) $(OUTPUTDIR) && \
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
53 $(ZIP) -q -r $(JPRT_ARCHIVE_BUNDLE) build dist )
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
54
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
55 #-------------------------------------------------------------------
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
56
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
57 # Declare these phony (not filenames)
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
58 .PHONY: $(ANT_TARGETS) all clobber \
da1e581c933b 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
59 jprt_build_product jprt_build_debug jprt_build_fastdebug