make/solaris/makefiles/launcher.make

changeset 1558
167c2986d91b
parent 631
d1605aabd0a1
child 1902
fb1a39993f69
     1.1 --- a/make/solaris/makefiles/launcher.make	Mon Dec 14 13:26:29 2009 -0700
     1.2 +++ b/make/solaris/makefiles/launcher.make	Wed Dec 16 12:54:49 2009 -0500
     1.3 @@ -25,7 +25,8 @@
     1.4  # Rules to build gamma launcher, used by vm.make
     1.5  
     1.6  # gamma[_g]: launcher
     1.7 -LAUNCHER = gamma$(G_SUFFIX)
     1.8 +LAUNCHER   = gamma
     1.9 +LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX)
    1.10  
    1.11  LAUNCHERDIR   = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher
    1.12  LAUNCHERFLAGS = $(ARCHFLAG) \
    1.13 @@ -88,5 +89,6 @@
    1.14  	    $(LINK_LAUNCHER/PRE_HOOK) \
    1.15  	    $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \
    1.16  	    $(LINK_LAUNCHER/POST_HOOK) \
    1.17 +	    [ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \
    1.18  	    ;; \
    1.19  	esac

mercurial