1 #
2 # Copyright (c) 2004, 2011, 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
38 $(CD) $(BUILDDIR)/launchers && \
39 $(MAKE) -f Makefile.launcher \
40 PROGRAM=$(strip $1) \
41 MAIN_CLASS=$(strip $2) \
42 MAIN_JAVA_ARGS="$(strip $3)" \
43 MAIN_ARGS="$(strip $4)"
44 endef
45
46 # Run MAKE $@ for all generic launchers
47 ifndef BUILD_HEADLESS_ONLY
48 define make-appletviewer
49 $(call make-launcher, appletviewer, sun.applet.Main, , )
50 endef
51 else
52 define make-appletviewer
53 endef
54 endif
55
56 define make-all-launchers
57 $(make-appletviewer)
58 $(call make-launcher, apt, com.sun.tools.apt.Main, , )
59 $(call make-launcher, extcheck, com.sun.tools.extcheck.Main, , )
60 $(call make-launcher, idlj, com.sun.tools.corba.se.idl.toJavaPortable.Compile, , )
61 $(call make-launcher, jar, sun.tools.jar.Main, , )
62 $(call make-launcher, jarsigner, sun.security.tools.JarSigner, , )
63 $(call make-launcher, javac, com.sun.tools.javac.Main, , )
64 $(call make-launcher, javadoc, com.sun.tools.javadoc.Main, , )
65 $(call make-launcher, javah, com.sun.tools.javah.Main, , )
66 $(call make-launcher, javap, com.sun.tools.javap.Main, , )
67 $(call make-launcher, jcmd, sun.tools.jcmd.JCmd, , )
68 $(call make-launcher, jconsole, sun.tools.jconsole.JConsole, \
69 -J-Djconsole.showOutputViewer, )
70 $(call make-launcher, jdb, com.sun.tools.example.debug.tty.TTY, , )
71 $(call make-launcher, jhat, com.sun.tools.hat.Main, , )
72 $(call make-launcher, jinfo, sun.tools.jinfo.JInfo, \
73 -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
74 -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
75 $(call make-launcher, jmap, sun.tools.jmap.JMap, \
76 -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
77 -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
78 $(call make-launcher, jps, sun.tools.jps.Jps, , )
|
1 #
2 # Copyright (c) 2004, 2012, 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
38 $(CD) $(BUILDDIR)/launchers && \
39 $(MAKE) -f Makefile.launcher \
40 PROGRAM=$(strip $1) \
41 MAIN_CLASS=$(strip $2) \
42 MAIN_JAVA_ARGS="$(strip $3)" \
43 MAIN_ARGS="$(strip $4)"
44 endef
45
46 # Run MAKE $@ for all generic launchers
47 ifndef BUILD_HEADLESS_ONLY
48 define make-appletviewer
49 $(call make-launcher, appletviewer, sun.applet.Main, , )
50 endef
51 else
52 define make-appletviewer
53 endef
54 endif
55
56 define make-all-launchers
57 $(make-appletviewer)
58 $(call make-launcher, extcheck, com.sun.tools.extcheck.Main, , )
59 $(call make-launcher, idlj, com.sun.tools.corba.se.idl.toJavaPortable.Compile, , )
60 $(call make-launcher, jar, sun.tools.jar.Main, , )
61 $(call make-launcher, jarsigner, sun.security.tools.JarSigner, , )
62 $(call make-launcher, javac, com.sun.tools.javac.Main, , )
63 $(call make-launcher, javadoc, com.sun.tools.javadoc.Main, , )
64 $(call make-launcher, javah, com.sun.tools.javah.Main, , )
65 $(call make-launcher, javap, com.sun.tools.javap.Main, , )
66 $(call make-launcher, jcmd, sun.tools.jcmd.JCmd, , )
67 $(call make-launcher, jconsole, sun.tools.jconsole.JConsole, \
68 -J-Djconsole.showOutputViewer, )
69 $(call make-launcher, jdb, com.sun.tools.example.debug.tty.TTY, , )
70 $(call make-launcher, jhat, com.sun.tools.hat.Main, , )
71 $(call make-launcher, jinfo, sun.tools.jinfo.JInfo, \
72 -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
73 -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
74 $(call make-launcher, jmap, sun.tools.jmap.JMap, \
75 -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
76 -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
77 $(call make-launcher, jps, sun.tools.jps.Jps, , )
|