Branch: Tag:

2006-06-18

2006-06-18 18:44:05 by Martin Stjernholm <mast@lysator.liu.se>

Reinstated an old hack to avoid updating tpike unnecessarily often.
The excessive rebuilding mainly affected the "pike" target.

Rev: src/Makefile.in:1.426

1:   # - # $Id: Makefile.in,v 1.425 2006/06/18 16:24:12 mast Exp $ + # $Id: Makefile.in,v 1.426 2006/06/18 18:44:05 mast Exp $   #      # This line is needed on some machines.
298:      # tpike is a pike with no post modules compiled in. It's used during   # building of the post modules. - tpike: main.o $(CORE_OBJ) tmodule.o master-stamp pike.syms modules/linker_options + tpike-real: main.o $(CORE_OBJ) tmodule.o master-stamp pike.syms modules/linker_options +  -@rm -f tpike || :    $(LD) $(LDFLAGS) main.o $(CORE_OBJ) tmodule.o \    `cat modules/linker_options` \    $(LIBS) -o tpike    -  + # Only want tpike to exist when using $(RUNTPIKE); we don't want to + # require it actually being up-to-date. + # + # If RUNPIKE has been overridden we don't bother to build tpike. The + # precompile.sh script will then fall back to use RUNPIKE when it + # doesn't find tpike, and we assume that RUNPIKE doesn't point to a + # pike from the stone age. + tpike: precompile.sh-stamp +  @if test "x$(RUNPIKE)" = "x$(DEFAULT_RUNPIKE)"; then \ +  $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real; \ +  else :; fi +    #pike: main.o @DLOPEN_O@ $(PIKE_LIB) master-stamp pike.syms   pike: main.o $(OBJ) master-stamp pike.syms modules/linker_options post_modules/linker_options    -@if [ -f pike.old.exe ] ; then rm -f pike.old.exe || : ; else : ; fi