pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:1:   # - # $Id: Makefile.in,v 1.340 2003/10/08 20:30:55 mast Exp $ + # $Id: Makefile.in,v 1.341 2003/11/10 22:02:24 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:70:   #Enable warnings from the compiler, if wanted.   #   WARN=@WARN@      #add extra defines here   DEFINES=@CPPFLAGS@      # -O should work with all compilers   OPTIMIZE=@OPTIMIZE@    + # interpret.o can't have -fomit-frame-pointer + INTERPRET_DEOPTIMIZE=@INTERPRET_DEOPTIMIZE@ +    # Set to a flag for parallelizing make, e.g. -j2. It's given to make   # at the level where it's most effective.   MAKE_PARALLEL=      # Preprocessor flags.   PREFLAGS=-DPIKE_SRC_ROOT="$(BASEDIR)" -I. -I$(SRCDIR) $(DEFINES)   OTHERFLAGS=@CFLAGS@ $(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL)   NOOPTFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(WARN) $(PROFIL)   CFLAGS=$(PREFLAGS) $(OTHERFLAGS)   
pike.git/src/Makefile.in:355:      .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... + # Extra kludge added: interpret.o gets special flags (deoptimization)   .c.o:    @echo "Compiling $<" ;\    rm -f $@.fail >/dev/null 2>&1; \ -  if $(CC) $(CFLAGS) -c $< -o $@ ; then : ; else \ +  if test "x$@" = "xinterpret.o"; then EXTRAFLAGS="$(INTERPRET_DEOPTIMIZE)"; else EXTRAFLAGS=; fi; \ +  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) -c $< -o $@" >$@.fail ;\ -  if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ; then : ; else \ +  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) -c $< -o $@" >&2 ;\ +  echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\    exit $$status; \    fi; \    else \    echo "Compilation command was:" >&2;\ -  echo "$(CC) $(PREFLAGS) $(CFLAGS) -c $< -o $@" >&2 ;\ +  echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -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