hotspot/make/linux/makefiles/launcher.make
changeset 4493 9204129f065e
parent 670 ddf3e9583f2f
child 5547 f4b087cbb361
equal deleted inserted replaced
4492:63c49e60fc25 4493:9204129f065e
    23 #
    23 #
    24 
    24 
    25 # Rules to build gamma launcher, used by vm.make
    25 # Rules to build gamma launcher, used by vm.make
    26 
    26 
    27 # gamma[_g]: launcher
    27 # gamma[_g]: launcher
    28 LAUNCHER = gamma$(G_SUFFIX)
    28 
       
    29 LAUNCHER   = gamma
       
    30 LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX)
    29 
    31 
    30 LAUNCHERDIR   = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher
    32 LAUNCHERDIR   = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher
    31 LAUNCHERFLAGS = $(ARCHFLAG) \
    33 LAUNCHERFLAGS = $(ARCHFLAG) \
    32                 -I$(LAUNCHERDIR) -I$(GAMMADIR)/src/share/vm/prims \
    34                 -I$(LAUNCHERDIR) -I$(GAMMADIR)/src/share/vm/prims \
    33                 -DFULL_VERSION=\"$(HOTSPOT_RELEASE_VERSION)\" \
    35                 -DFULL_VERSION=\"$(HOTSPOT_RELEASE_VERSION)\" \
    68 	$(QUIETLY) { \
    70 	$(QUIETLY) { \
    69 	    echo Linking launcher...; \
    71 	    echo Linking launcher...; \
    70 	    $(LINK_LAUNCHER/PRE_HOOK) \
    72 	    $(LINK_LAUNCHER/PRE_HOOK) \
    71 	    $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \
    73 	    $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \
    72 	    $(LINK_LAUNCHER/POST_HOOK) \
    74 	    $(LINK_LAUNCHER/POST_HOOK) \
       
    75 	    [ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \
    73         }
    76         }