pike.git
/
src
/
Makefile.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/Makefile.in:1:
#
-
# $Id: Makefile.in,v 1.
265
2001/07/
03
07
:
51
:
45
hubbe
Exp $
+
# $Id: Makefile.in,v 1.
266
2001/07/
06
17
:
17
:
48
grubba
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:314:
-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 \ echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
-
echo "
echo
$(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&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 \
-
err=
$$?; \
-
if test "x$(FALLBACK_CC)" = "x"; then \
-
exit $$err; \
-
else \
-
echo "WARNING: Compiler failure! Trying fallback compiler!" >&2;\
-
echo "echo $(FALLBACK_CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\
-
$(FALLBACK_CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ;\
+
exit
$$?; \
fi; \
-
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 precompile.pike >"$@" "$<" || { rm "$@"; exit 1; }
pike.git/src/Makefile.in:379:
install_interactive: pike hilfe pike-module aclocal @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \ exec_prefix="$(exec_prefix)" prefix=$(prefix) \ TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ SRCDIR="$(SRCDIR)" MANDIR_SRC="$(MANDIR_SRC)" \ fakeroot="$(buildroot)" # tidy up a bit tidy:
-
-rm -f *.o *.obj *.pp *.protos core y.output y.tab.c y.tab.h
+
-rm -f *.
fail *.
o *.obj *.pp *.protos core y.output y.tab.c y.tab.h
-rm -f $(TMP_BINDIR)/core *.o *.i *.i~ testsuite # make clean clean: tidy -( cd modules; $(MAKE) $(MAKE_FLAGS) clean ) -( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean ) -rm -rf test-install test-pike -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out -rm -f hilfe master.pike compiler-warnings -rm -f tpike stamp-tpike-predep import-stamp modules-stamp master-stamp
pike.git/src/Makefile.in:696:
modules/modlist.h: modules-stamp modules/modlist_headers.h: modules-stamp modules/linker_options: modules-stamp module.o: modules/modlist_headers.h modules/modlist.h $(SRCDIR)/interpret_protos.h_src: $(SRCDIR)/interpret_functions.h
-
$(CPP) $(PREFLAGS) $(SRCDIR)/interpret_functions.h | $(SRCDIR)/strip_opcodes >$(SRCDIR)/interpret_protos.h_src || { rm $(SRCDIR)/interpret_protos.h_src; exit 1; }
+
$(CPP) $(PREFLAGS)
-DGEN_PROTOS
$(SRCDIR)/interpret_functions.h | $(SRCDIR)/strip_opcodes >$(SRCDIR)/interpret_protos.h_src || { rm $(SRCDIR)/interpret_protos.h_src; exit 1; }
lex.o: $(SRCDIR)/lex.c $(SRCDIR)/interpret_protos.h interpret.o: $(SRCDIR)/lex.c $(SRCDIR)/interpret_protos.h lex_t.o: $(SRCDIR)/lex_t.c $(SRCDIR)/interpret_protos.h language.o: $(SRCDIR)/language.c $(SRCDIR)/object.h $(SRCDIR)/interpret.h $(SRCDIR)/program.h $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc