1 #
2 # Copyright (c) 2014, 2017, 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
182 TOOL_JRE_COMPACT2_TARGETS := $(JRE_COMPACT2_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
183 TOOL_JRE_COMPACT3_TARGETS := $(JRE_COMPACT3_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
184
185 ################################################################################
186 # /man dir
187 #
188 # All variables in this section are assigned with simple =, without :, to enable
189 # more selective overriding from the custom version of this file.
190 #
191 # Avoid evaluating this whole section on windows for speed and stability
192 ifneq ($(OPENJDK_TARGET_OS), windows)
193 JRE_MAN_PAGES += \
194 java.1 \
195 jjs.1 \
196 keytool.1 \
197 orbd.1 \
198 pack200.1 \
199 rmid.1 \
200 rmiregistry.1 \
201 servertool.1 \
202 tnameserv.1 \
203 unpack200.1
204
205 JDK_MAN_PAGES += \
206 $(JRE_MAN_PAGES) \
207 appletviewer.1 \
208 idlj.1 \
209 jar.1 \
210 jarsigner.1 \
211 javac.1 \
212 javadoc.1 \
213 javap.1 \
214 jconsole.1 \
215 jcmd.1 \
216 jdb.1 \
217 jdeps.1 \
218 jinfo.1 \
219 jmap.1 \
220 jps.1 \
221 jrunscript.1 \
222 jstack.1 \
223 jstat.1 \
224 jstatd.1 \
225 rmic.1 \
226 schemagen.1 \
227 serialver.1 \
228 wsgen.1 \
229 wsimport.1 \
230 xjc.1
231
232 # This variable is potentially overridden in the closed makefile.
233 MAN_SRC_BASEDIR ?= $(TOPDIR)/src
234
235 ifeq ($(OPENJDK_TARGET_OS), linux)
236 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/linux/doc
237 MAN1_SUBDIR = man
238 endif
239 ifeq ($(OPENJDK_TARGET_OS), solaris)
240 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/solaris/doc
241 MAN1_SUBDIR = sun/man/man1
242 endif
243 ifeq ($(OPENJDK_TARGET_OS), macosx)
244 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/bsd/doc
245 MAN1_SUBDIR = man
246 endif
247
248 $(JRE_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
249 $(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
250 $(install-file)
|
1 #
2 # Copyright (c) 2014, 2018, 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
182 TOOL_JRE_COMPACT2_TARGETS := $(JRE_COMPACT2_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
183 TOOL_JRE_COMPACT3_TARGETS := $(JRE_COMPACT3_IMAGE_DIR)/$(JIMAGE_TARGET_FILE)
184
185 ################################################################################
186 # /man dir
187 #
188 # All variables in this section are assigned with simple =, without :, to enable
189 # more selective overriding from the custom version of this file.
190 #
191 # Avoid evaluating this whole section on windows for speed and stability
192 ifneq ($(OPENJDK_TARGET_OS), windows)
193 JRE_MAN_PAGES += \
194 java.1 \
195 jjs.1 \
196 keytool.1 \
197 orbd.1 \
198 pack200.1 \
199 rmid.1 \
200 rmiregistry.1 \
201 servertool.1 \
202 unpack200.1
203
204 JDK_MAN_PAGES += \
205 $(JRE_MAN_PAGES) \
206 appletviewer.1 \
207 idlj.1 \
208 jar.1 \
209 jarsigner.1 \
210 javac.1 \
211 javadoc.1 \
212 javap.1 \
213 jconsole.1 \
214 jcmd.1 \
215 jdb.1 \
216 jdeps.1 \
217 jinfo.1 \
218 jmap.1 \
219 jps.1 \
220 jrunscript.1 \
221 jstack.1 \
222 jstat.1 \
223 jstatd.1 \
224 rmic.1 \
225 serialver.1
226
227 # This variable is potentially overridden in the closed makefile.
228 MAN_SRC_BASEDIR ?= $(TOPDIR)/src
229
230 ifeq ($(OPENJDK_TARGET_OS), linux)
231 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/linux/doc
232 MAN1_SUBDIR = man
233 endif
234 ifeq ($(OPENJDK_TARGET_OS), solaris)
235 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/solaris/doc
236 MAN1_SUBDIR = sun/man/man1
237 endif
238 ifeq ($(OPENJDK_TARGET_OS), macosx)
239 MAN_SRC_DIR = $(MAN_SRC_BASEDIR)/bsd/doc
240 MAN1_SUBDIR = man
241 endif
242
243 $(JRE_IMAGE_DIR)/man/man1/%: $(MAN_SRC_DIR)/$(MAN1_SUBDIR)/%
244 $(call LogInfo, Copying $(patsubst $(OUTPUTDIR)/%,%,$@))
245 $(install-file)
|