97 ifeq ($(BUILD_HOTSPOT),true)
98 hotspot: hotspot-only
99 hotspot-only: start-make
100 @$(call TargetEnter)
101 @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f HotspotWrapper.gmk)
102 @$(call TargetExit)
103 endif
104
105 jdk: langtools hotspot corba jaxp jaxws jdk-only
106 jdk-only: start-make
107 @$(call TargetEnter)
108 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
109 @$(call TargetExit)
110
111 demos: jdk demos-only
112 demos-only: start-make
113 @$(call TargetEnter)
114 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
115 @$(call TargetExit)
116
117 images: source-tips demos images-only
118 images-only: start-make
119 @$(call TargetEnter)
120 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
121 @$(call TargetExit)
122
123 overlay-images: source-tips demos overlay-images-only
124 overlay-images-only: start-make
125 @$(call TargetEnter)
126 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
127 @$(call TargetExit)
128
129 bundles: images bundles-only
130 bundles-only: start-make
131 @$(call TargetEnter)
132 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk bundles)
133 @$(call TargetExit)
134
135 install: images install-only
136 install-only: start-make
137 @$(call TargetEnter)
138 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
139 @$(call TargetExit)
140
141 docs: jdk docs-only
142 docs-only: start-make
143 @$(call TargetEnter)
144 @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
145 @$(call TargetExit)
146
147 bootcycle-images:
148 @$(ECHO) Boot cycle build step 1: Building the JDK image normally
192 clean-jaxws:
193 $(call CleanComponent,jaxws)
194 clean-hotspot:
195 $(call CleanComponent,hotspot)
196 clean-jdk:
197 $(call CleanComponent,jdk)
198 clean-images:
199 $(call CleanComponent,images)
200 clean-overlay-images:
201 $(call CleanComponent,overlay-images)
202 clean-bootcycle-build:
203 $(call CleanComponent,bootcycle-build)
204 clean-docs:
205 $(call CleanComponent,docs)
206 $(call CleanComponent,docstemp)
207
208 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install
209 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only
210 .PHONY: all test clean dist-clean bootcycle-images start-make
211 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build
212
213 FRC: # Force target
|
97 ifeq ($(BUILD_HOTSPOT),true)
98 hotspot: hotspot-only
99 hotspot-only: start-make
100 @$(call TargetEnter)
101 @($(CD) $(SRC_ROOT)/common/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f HotspotWrapper.gmk)
102 @$(call TargetExit)
103 endif
104
105 jdk: langtools hotspot corba jaxp jaxws jdk-only
106 jdk-only: start-make
107 @$(call TargetEnter)
108 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk $(JDK_TARGET))
109 @$(call TargetExit)
110
111 demos: jdk demos-only
112 demos-only: start-make
113 @$(call TargetEnter)
114 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk demos)
115 @$(call TargetExit)
116
117 # Note: This double-colon rule is intentional, to support
118 # custom make file integration.
119 images:: source-tips demos images-only
120 images-only: start-make
121 @$(call TargetEnter)
122 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk images)
123 @$(call TargetExit)
124
125 overlay-images: source-tips demos overlay-images-only
126 overlay-images-only: start-make
127 @$(call TargetEnter)
128 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk overlay-images)
129 @$(call TargetExit)
130
131 profiles: profiles-oscheck source-tips jdk hotspot profiles-only
132 profiles-only: start-make
133 @$(call TargetEnter)
134 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk profiles)
135 @$(call TargetExit)
136
137 profiles-oscheck:
138 ifneq ($(OPENJDK_TARGET_OS), linux)
139 @echo "Error: The Java SE 8 Compact Profiles are only implemented for Linux at this time" && exit 1
140 endif
141
142 bundles: images bundles-only
143 bundles-only: start-make
144 @$(call TargetEnter)
145 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk bundles)
146 @$(call TargetExit)
147
148 install: images install-only
149 install-only: start-make
150 @$(call TargetEnter)
151 @($(CD) $(JDK_TOPDIR)/makefiles && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f BuildJdk.gmk install)
152 @$(call TargetExit)
153
154 docs: jdk docs-only
155 docs-only: start-make
156 @$(call TargetEnter)
157 @($(CD) $(SRC_ROOT)/common/makefiles/javadoc && $(BUILD_LOG_WRAPPER) $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
158 @$(call TargetExit)
159
160 bootcycle-images:
161 @$(ECHO) Boot cycle build step 1: Building the JDK image normally
205 clean-jaxws:
206 $(call CleanComponent,jaxws)
207 clean-hotspot:
208 $(call CleanComponent,hotspot)
209 clean-jdk:
210 $(call CleanComponent,jdk)
211 clean-images:
212 $(call CleanComponent,images)
213 clean-overlay-images:
214 $(call CleanComponent,overlay-images)
215 clean-bootcycle-build:
216 $(call CleanComponent,bootcycle-build)
217 clean-docs:
218 $(call CleanComponent,docs)
219 $(call CleanComponent,docstemp)
220
221 .PHONY: langtools corba jaxp jaxws hotspot jdk images overlay-images install
222 .PHONY: langtools-only corba-only jaxp-only jaxws-only hotspot-only jdk-only images-only overlay-images-only install-only
223 .PHONY: all test clean dist-clean bootcycle-images start-make
224 .PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-images clean-overlay-images clean-bootcycle-build
225 .PHONY: profiles profiles-only profiles-oscheck
226
227 FRC: # Force target
|