jdk/make/launchers/Makefile
changeset 8583 15dea0fdc2ea
parent 7668 d4a77089c587
child 9035 1255eb81cc2f
child 9002 6ee0abf0167f
equal deleted inserted replaced
8471:fd444c61e7ed 8583:15dea0fdc2ea
    26 #
    26 #
    27 # Makefile for building simple launchers
    27 # Makefile for building simple launchers
    28 #
    28 #
    29 
    29 
    30 BUILDDIR = ..
    30 BUILDDIR = ..
    31 MODULE  = tools
       
    32 PACKAGE = launchers
    31 PACKAGE = launchers
    33 PRODUCT = sun
    32 PRODUCT = sun
    34 include $(BUILDDIR)/common/Defs.gmk
    33 include $(BUILDDIR)/common/Defs.gmk
    35 
    34 
    36 # Run MAKE $@ for a launcher for the corba module:
    35 # Run MAKE $@ for a launcher for the corba module:
    37 #   $(call make-launcher, name, mainclass, java-args, main-args)
    36 #   $(call make-launcher, name, mainclass, java-args, main-args)
    38 define make-corba-launcher
    37 define make-corba-launcher
    39 $(CD) $(BUILDDIR)/launchers && \
    38 $(CD) $(BUILDDIR)/launchers && \
    40 $(MAKE) -f Makefile.launcher \
    39 $(MAKE) -f Makefile.launcher \
    41         MODULE=corba \
       
    42         PROGRAM=$(strip $1) \
    40         PROGRAM=$(strip $1) \
    43         MAIN_CLASS=$(strip $2) \
    41         MAIN_CLASS=$(strip $2) \
    44         MAIN_JAVA_ARGS="$(strip $3)" \
    42         MAIN_JAVA_ARGS="$(strip $3)" \
    45         MAIN_ARGS="$(strip $4)"
    43         MAIN_ARGS="$(strip $4)"
    46 endef
    44 endef