make/Main.gmk

changeset 1291
730f885548b4
parent 1140
6d0ebf545f49
child 1482
8fb429038513
child 2211
2209644bcac4
equal deleted inserted replaced
1212:b31a07adaef5 1291:730f885548b4
1 # 1 #
2 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. 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. 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. Oracle designates this 7 # published by the Free Software Foundation. Oracle designates this
140 overlay-images-only: start-make 140 overlay-images-only: start-make
141 @$(call TargetEnter) 141 @$(call TargetEnter)
142 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images) 142 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
143 @$(call TargetExit) 143 @$(call TargetExit)
144 144
145 profiles: profiles-oscheck source-tips jdk hotspot profiles-only 145 profiles: source-tips jdk hotspot profiles-only
146 profiles-only: start-make 146 profiles-only: start-make
147 @$(call TargetEnter) 147 @$(call TargetEnter)
148 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles) 148 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
149 @$(call TargetExit) 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 150
156 install: images install-only 151 install: images install-only
157 install-only: start-make 152 install-only: start-make
158 @$(call TargetEnter) 153 @$(call TargetEnter)
159 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install) 154 @($(CD) $(JDK_TOPDIR)/make && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
238 233
239 .PHONY: langtools corba jaxp jaxws hotspot jdk nashorn images overlay-images install test docs 234 .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 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
241 .PHONY: default all clean dist-clean bootcycle-images start-make 236 .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 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
243 .PHONY: profiles profiles-only profiles-oscheck 238 .PHONY: profiles profiles-only
244 239
245 include $(root_dir)/make/Jprt.gmk 240 include $(root_dir)/make/Jprt.gmk
246 241
247 FRC: # Force target 242 FRC: # Force target

mercurial