pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:478:      # Several optimizers have problems with interpret.c   # First try compiling with optimization and if that doesn't work, without.   # GCC dumps core on some files @ OSF1   # This kluge should work around that...   .c.o:    @echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \    rm -f $@.fail >/dev/null 2>&1; \    if $(CC) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \    status=$$?; \ -  if test x"@noopt_retry@" = xyes ; then \ -  echo "WARNING: Compiler failure! Trying without optimization!" >&2;\ -  echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >$@.fail ;\ -  if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \ -  status=$$?; \ +     echo "Compilation command was:" >&2;\ -  echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\ -  exit $$status; \ -  fi; \ -  else \ -  echo "Compilation command was:" >&2;\ +     echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\    exit $$status; \ -  fi; \ +     fi      .m.o:    @echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \    rm -f $@.fail >/dev/null 2>&1; \    if $(CC) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -fobjc-gc -c $< -o $@ ; then : ; else \    status=$$?; \ -  if test x"@noopt_retry@" = xyes ; then \ -  echo "WARNING: Compiler failure! Trying without optimization!" >&2;\ -  echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >$@.fail ;\ -  if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \ -  status=$$?; \ +     echo "Compilation command was:" >&2;\ -  echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\ -  exit $$status; \ -  fi; \ -  else \ -  echo "Compilation command was:" >&2;\ +     echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\    exit $$status; \ -  fi; \ +     fi      #   # Please note that this must be accompanied by a dependency rule as   # The .c file will not be created in the SOURCE directory otherwise.   # -Hubbe   #   .cmod.c: precompile.sh-stamp $(TMP_BINDIR)/precompile.pike    ./precompile.sh --cache precompile.pike $(PRECOMPILER_ARGS) >"$@" "$<" || { rm "$@"; exit 1; }