0N/A#
4806N/A# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile for building simple launchers
0N/A#
1790N/A
1790N/ABUILDDIR = ..
178N/APACKAGE = launchers
178N/APRODUCT = sun
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A# Run MAKE $@ for a launcher for the corba module:
0N/A# $(call make-launcher, name, mainclass, java-args, main-args)
0N/Adefine make-corba-launcher
0N/A$(CD) $(BUILDDIR)/launchers && \
0N/A$(MAKE) -f Makefile.launcher \
0N/A PROGRAM=$(strip $1) \
0N/A MAIN_CLASS=$(strip $2) \
0N/A MAIN_JAVA_ARGS="$(strip $3)" \
0N/A MAIN_ARGS="$(strip $4)"
0N/Aendef
0N/A
0N/A# Run MAKE $@ for all generic launchers
0N/Aifndef BUILD_HEADLESS_ONLY
0N/Adefine make-appletviewer
0N/A$(call make-launcher, appletviewer, sun.applet.Main, , )
0N/Aendef
0N/Aelse
0N/Adefine make-appletviewer
0N/Aendef
0N/Aendif
0N/A
0N/Adefine make-all-launchers
0N/A$(make-appletviewer)
0N/A$(call make-launcher, apt, com.sun.tools.apt.Main, , )
0N/A$(call make-launcher, extcheck, com.sun.tools.extcheck.Main, , )
0N/A$(call make-launcher, idlj, com.sun.tools.corba.se.idl.toJavaPortable.Compile, , )
0N/A$(call make-launcher, jar, sun.tools.jar.Main, , )
0N/A$(call make-launcher, jarsigner, sun.security.tools.JarSigner, , )
0N/A$(call make-launcher, javac, com.sun.tools.javac.Main, , )
0N/A$(call make-launcher, javadoc, com.sun.tools.javadoc.Main, , )
0N/A$(call make-launcher, javah, com.sun.tools.javah.Main, , )
0N/A$(call make-launcher, javap, com.sun.tools.javap.Main, , )
0N/A$(call make-launcher, jcmd, sun.tools.jcmd.JCmd, , )
0N/A$(call make-launcher, jconsole, sun.tools.jconsole.JConsole, \
0N/A -J-Djconsole.showOutputViewer, )
0N/A$(call make-launcher, jdb, com.sun.tools.example.debug.tty.TTY, , )
0N/A$(call make-launcher, jhat, com.sun.tools.hat.Main, , )
0N/A$(call make-launcher, jinfo, sun.tools.jinfo.JInfo, \
0N/A -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
0N/A -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
0N/A$(call make-launcher, jmap, sun.tools.jmap.JMap, \
0N/A -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
178N/A -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
0N/A$(call make-launcher, jps, sun.tools.jps.Jps, , )
0N/A$(call make-launcher, jrunscript, com.sun.tools.script.shell.Main, , )
0N/A$(call make-launcher, jsadebugd, sun.jvm.hotspot.jdi.SADebugServer, , )
0N/A$(call make-launcher, jstack, sun.tools.jstack.JStack, \
0N/A -J-Dsun.jvm.hotspot.debugger.useProcDebugger \
0N/A -J-Dsun.jvm.hotspot.debugger.useWindbgDebugger, )
0N/A$(call make-launcher, jstat, sun.tools.jstat.Jstat, , )
0N/A$(call make-launcher, jstatd, sun.tools.jstatd.Jstatd, , )
0N/A$(call make-launcher, native2ascii, sun.tools.native2ascii.Main, , )
0N/A$(call make-launcher, rmic, sun.rmi.rmic.Main, , )
0N/A$(call make-launcher, schemagen, com.sun.tools.internal.jxc.SchemaGenerator, , )
0N/A$(call make-launcher, serialver, sun.tools.serialver.SerialVer, , )
0N/A$(call make-launcher, xjc, com.sun.tools.internal.xjc.Driver, , )
0N/A$(call make-launcher, wsgen, com.sun.tools.internal.ws.WsGen, , )
0N/A$(call make-launcher, wsimport, com.sun.tools.internal.ws.WsImport, , )
0N/A$(call make-corba-launcher, orbd, com.sun.corba.se.impl.activation.ORBD, \
0N/A -J-Dcom.sun.CORBA.activation.DbDir=./orb.db \
0N/A -J-Dcom.sun.CORBA.activation.Port=1049 \
0N/A -J-Dcom.sun.CORBA.POA.ORBServerId=1, )
0N/A$(call make-corba-launcher, servertool, com.sun.corba.se.impl.activation.ServerTool, , )
0N/A$(call make-corba-launcher, tnameserv, com.sun.corba.se.impl.naming.cosnaming.TransientNameServer, \
0N/A -J-Dcom.sun.CORBA.activation.DbDir=./orb.db \
0N/A -J-Djava.util.logging.LoggingPermission=contol \
0N/A -J-Dcom.sun.CORBA.POA.ORBServerId=1, )
0N/Aendef
0N/A
0N/Abuild:
0N/A $(make-all-launchers)
0N/A
0N/Aclean clobber::
0N/A $(make-all-launchers)
0N/A
0N/Ainclude $(BUILDDIR)/common/Rules.gmk
0N/A
0N/A