Branch: Tag:

2005-11-01

2005-11-01 18:59:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for building in the source tree. Thanks to Lance Dillon <ldillon@sk-tech.com> for reproducing the problem.

Rev: src/Makefile.in:1.410

1:   # - # $Id: Makefile.in,v 1.409 2005/10/17 19:31:08 grubba Exp $ + # $Id: Makefile.in,v 1.410 2005/11/01 18:59:10 grubba Exp $   #      # This line is needed on some machines.
1015:      language.o: $(SRCDIR)/language.c $(SRCDIR)/object.h $(SRCDIR)/interpret.h $(SRCDIR)/program.h    - $(SRCDIR)/y.tab.c $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc + $(SRCDIR)/language.c_src $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc    @echo "Expect 1 shift/reduce conflict." -  cd $(SRCDIR) && $(YACC) $(YFLAGS) language.yacc && mv $(SRCDIR)/y.tab.h $(SRCDIR)/language.h_src +  cd $(SRCDIR) && $(YACC) $(YFLAGS) language.yacc +  mv $(SRCDIR)/y.tab.c $(SRCDIR)/language.c_src +  mv $(SRCDIR)/y.tab.h $(SRCDIR)/language.h_src    - $(SRCDIR)/language.c: $(SRCDIR)/y.tab.c + $(SRCDIR)/language.c: $(SRCDIR)/language.c_src    sed -e 's/YY_COUNT_TYPE/@YY_COUNT_TYPE@/' \    -e 's/YY_FROM_CONST/@YY_FROM_CONST@/' \    -e 's/short[ ]*int[ ]/\/* short *\/ int /g' \    -e 's/(short[ ]*int)/(\/* short *\/ int)/g' \ -  < $(SRCDIR)/y.tab.c > $(SRCDIR)/language.c +  < $(SRCDIR)/language.c_src > $(SRCDIR)/language.c      $(SRCDIR)/interpret_functions_fixed.h: $(SRCDIR)/interpret_functions.h precompile.sh-stamp    ./precompile.sh --cache make_interpret_functions.pike >"$@" "$(SRCDIR)/interpret_functions.h" || { rm "$@"; exit 1; }