annotate make/nashorn-rules.gmk @ 883:13ddc5c3ebfc

Merge
author jlaskey
date Sat, 02 Mar 2013 10:28:16 -0400
parents 8b19b55f695d e065107437b9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
644
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
1 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
2 # Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
4 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
7 # published by the Free Software Foundation. Oracle designates this
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
8 # particular file as subject to the "Classpath" exception as provided
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
9 # by Oracle in the LICENSE file that accompanied this code.
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
10 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
11 # This code is distributed in the hope that it will be useful, but WITHOUT
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
14 # version 2 for more details (a copy is included in the LICENSE file that
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
15 # accompanied this code).
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
16 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License version
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
18 # 2 along with this work; if not, write to the Free Software Foundation,
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
20 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
22 # or visit www.oracle.com if you need additional information or have any
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
23 # questions.
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
24 #
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
25
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
26 ################################################################
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
27 # NASHORN TARGETS
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
28 ################################################################
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
29
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
30 NASHORN_BUILD_ARGUMENTS = \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
31 $(COMMON_BUILD_ARGUMENTS) \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
32 ALT_OUTPUTDIR=$(NASHORN_OUTPUTDIR) \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
33 ALT_BOOTDIR=$(BOOTDIR) \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
34 ALT_JDK_IMPORT_PATH=$(JDK_IMPORT_PATH)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
35
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
36 ifeq ($(BUILD_LANGTOOLS), true)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
37 NASHORN_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
38 endif
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
39
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
40 # Default targets
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
41 NASHORN = nashorn-build
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
42
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
43 nashorn: nashorn-build
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
44 nashorn-build:
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
45 $(MKDIR) -p $(NASHORN_OUTPUTDIR)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
46 @$(call MakeStart,nashorn,all)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
47 ($(CD) $(NASHORN_TOPDIR)/make && \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
48 $(MAKE) $(NASHORN_BUILD_ARGUMENTS) all)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
49 @$(call MakeFinish,nashorn,all)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
50
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
51 nashorn-clobber::
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
52 $(MKDIR) -p $(NASHORN_OUTPUTDIR)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
53 @$(call MakeStart,nashorn,clobber)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
54 ($(CD) $(NASHORN_TOPDIR)/make && \
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
55 $(MAKE) $(NASHORN_BUILD_ARGUMENTS) clobber)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
56 @$(call MakeFinish,nashorn,clobber)
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
57
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
58 .PHONY: nashorn nashorn-build nashorn-clobber
e065107437b9 8008978: nashorn-rules.gmk missing
alanb
parents:
diff changeset
59