105 ifeq ($(BUILD_HOTSPOT),true)
106 hotspot: hotspot-only
107 hotspot-only: start-make
108 @$(call TargetEnter)
109 @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f HotspotWrapper.gmk)
110 @$(call TargetExit)
111 endif
112
113 jdk: langtools hotspot corba jaxp jaxws jdk-only
114 jdk-only: start-make
115 @$(call TargetEnter)
116 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
117 @$(call TargetExit)
118
119 demos: jdk demos-only
120 demos-only: start-make
121 @$(call TargetEnter)
122 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
123 @$(call TargetExit)
124
125 images: source-tips demos images-only
126 images-only: start-make
127 @$(call TargetEnter)
128 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
129 @$(call TargetExit)
130
131 overlay-images: source-tips demos overlay-images-only
132 overlay-images-only: start-make
133 @$(call TargetEnter)
134 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
135 @$(call TargetExit)
136
137 install: images install-only
138 install-only: start-make
139 @$(call TargetEnter)
140 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
141 @$(call TargetExit)
142
143 docs: jdk docs-only
144 docs-only: start-make
145 @$(call TargetEnter)
146 @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
147 @$(call TargetExit)
148
149 sign-jars: jdk sign-jars-only
150 sign-jars-only: start-make
151 @$(call TargetEnter)
152 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
153 @$(call TargetExit)
154
155 bootcycle-images:
156 @$(ECHO) Boot cycle build step 1: Building the JDK image normally
200 clean-jaxws:
201 $(call CleanComponent,jaxws)
202 clean-hotspot:
203 $(call CleanComponent,hotspot)
204 clean-jdk:
205 $(call CleanComponent,jdk)
206 clean-images:
207 $(call CleanComponent,images)
208 clean-overlay-images:
209 $(call CleanComponent,overlay-images)
210 clean-bootcycle-build:
211 $(call CleanComponent,bootcycle-build)
212 clean-docs:
213 $(call CleanComponent,docs)
214 $(call CleanComponent,docstemp)
215
216 .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
218 .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
220
221 FRC: # Force target
|
105 ifeq ($(BUILD_HOTSPOT),true)
106 hotspot: hotspot-only
107 hotspot-only: start-make
108 @$(call TargetEnter)
109 @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f HotspotWrapper.gmk)
110 @$(call TargetExit)
111 endif
112
113 jdk: langtools hotspot corba jaxp jaxws jdk-only
114 jdk-only: start-make
115 @$(call TargetEnter)
116 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
117 @$(call TargetExit)
118
119 demos: jdk demos-only
120 demos-only: start-make
121 @$(call TargetEnter)
122 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
123 @$(call TargetExit)
124
125 # Note: This double-colon rule is intentional, to support
126 # custom make file integration.
127 images:: source-tips demos images-only
128 images-only: start-make
129 @$(call TargetEnter)
130 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
131 @$(call TargetExit)
132
133 overlay-images: source-tips demos overlay-images-only
134 overlay-images-only: start-make
135 @$(call TargetEnter)
136 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
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
149
150 install: images install-only
151 install-only: start-make
152 @$(call TargetEnter)
153 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
154 @$(call TargetExit)
155
156 docs: jdk docs-only
157 docs-only: start-make
158 @$(call TargetEnter)
159 @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
160 @$(call TargetExit)
161
162 sign-jars: jdk sign-jars-only
163 sign-jars-only: start-make
164 @$(call TargetEnter)
165 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk sign-jars)
166 @$(call TargetExit)
167
168 bootcycle-images:
169 @$(ECHO) Boot cycle build step 1: Building the JDK image normally
213 clean-jaxws:
214 $(call CleanComponent,jaxws)
215 clean-hotspot:
216 $(call CleanComponent,hotspot)
217 clean-jdk:
218 $(call CleanComponent,jdk)
219 clean-images:
220 $(call CleanComponent,images)
221 clean-overlay-images:
222 $(call CleanComponent,overlay-images)
223 clean-bootcycle-build:
224 $(call CleanComponent,bootcycle-build)
225 clean-docs:
226 $(call CleanComponent,docs)
227 $(call CleanComponent,docstemp)
228
229 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install
230 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only
231 .PHONY: all test clean dist-clean bootcycle-images start-make
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
234
235 FRC: # Force target
|