pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:1:   # - # $Id: Makefile.in,v 1.304 2002/04/30 19:38:49 mast Exp $ + # $Id: Makefile.in,v 1.305 2002/04/30 20:02:02 mast Exp $   #      # This line is needed on some machines.   @SET_MAKE@      # Don't change this line. Define EXTRALIBS before this line if you   # wish to add any libraries.   LIBS=@LIBS@ $(EXTRALIBS)      # This is normall the install program in the source directory
pike.git/src/Makefile.in:329:      .h.pph:    $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \    -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"         # 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... - # FIXME: Make this a configure option +    .c.o:    @echo "Compiling $<" ;\    rm -f $@.fail >/dev/null 2>&1; \    if $(CC) $(CFLAGS) -c $< -o $@ ; then : ; else \ -  +  status=$$?; \ +  if test x"@noopt_retry@" = xyes ; then \    echo "WARNING: Compiler failure! Trying without optimization!" >&2;\ -  echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\ +     echo "$(CC) $(PREFLAGS) $(CFLAGS) -c $< -o $@" >$@.fail ;\ -  NO_ULIMIT=yes; \ -  export NO_ULIMIT; \ -  if $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ; then : ; else \ -  exit $$?; \ +  if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ; then : ; else \ +  status=$$?; \ +  echo "Compilation command was:" >&2;\ +  echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\ +  exit $$status; \    fi; \ -  +  else \ +  echo "Compilation command was:" >&2;\ +  echo "$(CC) $(PREFLAGS) $(CFLAGS) -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 >"$@" "$<" || { rm "$@"; exit 1; }