1 #
2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. 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. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
125 demos: jdk demos-only
126 demos-only: start-make
127 @$(call TargetEnter)
128 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
129 @$(call TargetExit)
130
131 # Note: This double-colon rule is intentional, to support
132 # custom make file integration.
133 images:: source-tips demos nashorn images-only
134 images-only: start-make
135 @$(call TargetEnter)
136 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
137 @$(call TargetExit)
138
139 overlay-images: source-tips demos overlay-images-only
140 overlay-images-only: start-make
141 @$(call TargetEnter)
142 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
143 @$(call TargetExit)
144
145 profiles: profiles-oscheck source-tips jdk hotspot profiles-only
146 profiles-only: start-make
147 @$(call TargetEnter)
148 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
149 @$(call TargetExit)
150
151 profiles-oscheck:
152 ifneq ($(OPENJDK_TARGET_OS), linux)
153 @echo "Error: The Java SE 8 Compact Profiles are only implemented for Linux at this time" && exit 1
154 endif
155
156 install: images install-only
157 install-only: start-make
158 @$(call TargetEnter)
159 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
160 @$(call TargetExit)
161
162 docs: jdk docs-only
163 docs-only: start-make
164 @$(call TargetEnter)
165 @($(CD) $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
166 @$(call TargetExit)
167
168 sign-jars: jdk sign-jars-only
169 sign-jars-only: start-make
170 @$(call TargetEnter)
171 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
172 @$(call TargetExit)
173
174 bootcycle-images: images bootcycle-images-only
175 bootcycle-images-only: start-make
223 clean-jdk:
224 $(call CleanComponent,jdk)
225 clean-nashorn:
226 $(call CleanComponent,nashorn)
227 clean-images:
228 $(call CleanComponent,images)
229 clean-overlay-images:
230 $(call CleanComponent,overlay-images)
231 clean-bootcycle-build:
232 $(call CleanComponent,bootcycle-build)
233 clean-docs:
234 $(call CleanComponent,docs)
235 $(call CleanComponent,docstemp)
236 clean-test:
237 $(call CleanComponent,testoutput)
238
239 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs
240 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only
241 .PHONY: default all clean dist-clean bootcycle-images start-make
242 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build
243 .PHONY: profiles profiles-only profiles-oscheck
244
245 include $(root_dir)/make/Jprt.gmk
246
247 FRC: # Force target
|
1 #
2 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. 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. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
125 demos: jdk demos-only
126 demos-only: start-make
127 @$(call TargetEnter)
128 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
129 @$(call TargetExit)
130
131 # Note: This double-colon rule is intentional, to support
132 # custom make file integration.
133 images:: source-tips demos nashorn images-only
134 images-only: start-make
135 @$(call TargetEnter)
136 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
137 @$(call TargetExit)
138
139 overlay-images: source-tips demos overlay-images-only
140 overlay-images-only: start-make
141 @$(call TargetEnter)
142 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
143 @$(call TargetExit)
144
145 profiles: source-tips jdk hotspot profiles-only
146 profiles-only: start-make
147 @$(call TargetEnter)
148 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
149 @$(call TargetExit)
150
151 install: images install-only
152 install-only: start-make
153 @$(call TargetEnter)
154 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
155 @$(call TargetExit)
156
157 docs: jdk docs-only
158 docs-only: start-make
159 @$(call TargetEnter)
160 @($(CD) $(SRC_ROOT)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
161 @$(call TargetExit)
162
163 sign-jars: jdk sign-jars-only
164 sign-jars-only: start-make
165 @$(call TargetEnter)
166 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
167 @$(call TargetExit)
168
169 bootcycle-images: images bootcycle-images-only
170 bootcycle-images-only: start-make
218 clean-jdk:
219 $(call CleanComponent,jdk)
220 clean-nashorn:
221 $(call CleanComponent,nashorn)
222 clean-images:
223 $(call CleanComponent,images)
224 clean-overlay-images:
225 $(call CleanComponent,overlay-images)
226 clean-bootcycle-build:
227 $(call CleanComponent,bootcycle-build)
228 clean-docs:
229 $(call CleanComponent,docs)
230 $(call CleanComponent,docstemp)
231 clean-test:
232 $(call CleanComponent,testoutput)
233
234 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs
235 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only nashorn-only images-only overlay-images-only install-only test-only docs-only
236 .PHONY: default all clean dist-clean bootcycle-images start-make
237 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build
238 .PHONY: profiles profiles-only
239
240 include $(root_dir)/make/Jprt.gmk
241
242 FRC: # Force target
|