pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:1:   # - # $Id: Makefile.in,v 1.154 1999/09/14 22:50:22 hubbe Exp $ + # $Id: Makefile.in,v 1.155 1999/10/04 19:36:49 hubbe 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:200:    if [ "$(exec_prefix)" != "/usr/local/bin" -a \    "$(exec_prefix)" != "/usr/local/bin/" ]; then \    ( sed -e 's!/usr/local/bin!$(exec_prefix)!' <$(TMP_BINDIR)/hilfe \    >./hilfe && chmod 755 ./hilfe) || exit 1 ; \    else \    $(INSTALL) $(TMP_BINDIR)/hilfe `pwd`/hilfe || exit 1; \    fi    @echo "Done."       + .SUFFIXES: .c .o +    # Several optimizers have problems with interpret.c   # First try compiling with optimization and if that doesn't work, without. - interpret.o: $(SRCDIR)/interpret.c -  $(CC) $(CFLAGS) -c $(SRCDIR)/interpret.c -o interpret.o || NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $(SRCDIR)/interpret.c -o interpret.o + # GCC dumps core on some files @ OSF1 + # This kluge should work around that... + # FIXME: Make this a configure option + .c.o: +  @echo "Compiling $<" ;\ +  if $(CC) $(CFLAGS) -c $< -o $@ ; then : ;\ +  else \ +  echo "WARNING: Compiler failiure! Trying without optimization!" ;\ +  echo "echo $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" ;\ +  NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ;\ +  fi      force : -  +  @:    -  +    # install   install: pike hilfe pike-module aclocal    @$(RUNPIKE) $(TMP_BINDIR)/install.pike --new-style \    exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \    SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \    man_prefix="$(man_prefix)" pike_name=$(pike_name)      old-install: pike hilfe pike-module aclocal    @echo