common/makefiles/Main.gmk

changeset 624
7ed0c9db6943
parent 566
9263657c2756
child 627
28071e4ca1de
equal deleted inserted replaced
623:b80abec66e70 624:7ed0c9db6943
120 demos-only: start-make 120 demos-only: start-make
121 @$(call TargetEnter) 121 @$(call TargetEnter)
122 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos) 122 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
123 @$(call TargetExit) 123 @$(call TargetExit)
124 124
125 images: source-tips demos images-only 125 # Note: This double-colon rule is intentional, to support
126 # custom make file integration.
127 images:: source-tips demos images-only
126 images-only: start-make 128 images-only: start-make
127 @$(call TargetEnter) 129 @$(call TargetEnter)
128 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images) 130 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
129 @$(call TargetExit) 131 @$(call TargetExit)
130 132
131 overlay-images: source-tips demos overlay-images-only 133 overlay-images: source-tips demos overlay-images-only
132 overlay-images-only: start-make 134 overlay-images-only: start-make
133 @$(call TargetEnter) 135 @$(call TargetEnter)
134 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images) 136 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
135 @$(call TargetExit) 137 @$(call TargetExit)
138
139 profiles: profiles-oscheck source-tips jdk hotspot profiles-only
140 profiles-only: start-make
141 @$(call TargetEnter)
142 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
143 @$(call TargetExit)
144
145 profiles-oscheck:
146 ifneq ($(OPENJDK_TARGET_OS), linux)
147 @echo "Error: The Java SE 8 Compact Profiles are only implemented for Linux at this time" && exit 1
148 endif
136 149
137 install: images install-only 150 install: images install-only
138 install-only: start-make 151 install-only: start-make
139 @$(call TargetEnter) 152 @$(call TargetEnter)
140 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install) 153 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
215 228
216 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install 229 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install
217 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only 230 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only
218 .PHONY: all test clean dist-clean bootcycle-images start-make 231 .PHONY: all test clean dist-clean bootcycle-images start-make
219 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build 232 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build
233 .PHONY: profiles profiles-only profiles-oscheck
220 234
221 FRC: # Force target 235 FRC: # Force target

mercurial