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.
237
2001/01/23
00
:
41
:
19
mast Exp $
+
# $Id: Makefile.in,v 1.
238
2001/01/23
02
:
16
:
43
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:300:
# 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 $<" ;\ if $(CC) $(CFLAGS) -c $< -o $@ ; then : ; else \
-
echo "
WARNING:
Compiler
failure! Trying without optimization!" >&2;\
-
echo "echo $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\
-
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 $@ ;\
-
fi; \
-
fi; \
+
echo "
Compilation
command
was
:" >&2;\
+
echo "$(CC) $(
CFLAGS
) -c $< -o $@" >&2 ;\
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 "$@" "$<" # This rule is used for some header files that are generated from the
-
# source, to avoid excessive rebuilding when the source
changes
in
-
#
ways
that doesn't affect the header.
+
# source, to avoid excessive rebuilding when the source
change
in
ways
+
# that doesn't affect the header.
# # It can cause a .h target to be out-of-date repeatedly, but since it # runs fast that's not an issue. This technique only works well in # make's that stat the target again after the rule has run and
-
# recalculate the dependencies
then
.
GNU
make
works
like that.
+
# recalculate the dependencies
from that
.
Most
make
's
seems
to behave
+
#
like that.
.h_src.h:
-
@if
if
test -f
$@; then cmp -s
"
$<" "
$@";
else false; fi;
then \
-
echo
"No changes in $@
-
leaving
old
"; \
+
@if test -f "$@"; then \
+
cmp
-
s
"$<"
"
$@"
; \
else \
-
+
false; \
+
fi || ( \
echo "cp $< $@"; \ cp "$<" "$@"; \
-
fi
+
)
force : @: # install install: pike hilfe pike-module aclocal @$(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) \ exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \ TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \
pike.git/src/Makefile.in:371:
-rm -f *.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
+
-rm -f tpike stamp-tpike-predep import-stamp
modules-stamp
-rm -rf lib/modules/* # -rm -f lib/master.pike # make _really_ clean spotless: clean -(cd $(SRCDIR); find . -type f -name '*.h.in' -print) | \ sed -e 's/\.in$$//' | xargs rm -f find . -type f '(' -name 'Makefile' -o -name '*~' -o -name '.*~' -o \ -name core -o -name '.nfs*' -name '#*#' -o -name '.pure' -o \ -name 'conftest.*' -o -name 'stamp-h' ')' -exec rm -f \{\} \;
pike.git/src/Makefile.in:621:
# Lobotomization... lobotomize_crypto: ( cd $(SRCDIR)/modules/_Crypto && ./.build_lobotomized_crypto ) ( cd $(SRCDIR)/modules/_Lobotomized_Crypto && autoconf ) # # Pike internal targets #
-
# touch
modlist.h
here to avoid doing this work again if
the
-
#
modules/modlist.h
target is checked later.
+
# touch
modules-stamp
here to avoid doing this work again if
that
+
# target is checked later.
module_objects: $(MODULE_REQUIREMENTS) @( cd modules ; rm remake >/dev/null 2>&1 || : ; \ $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \ ( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
-
touch
modules
/modlist.h
+
@touch
modules
-stamp
-
+
modules-stamp: $(MODULE_REQUIREMENTS)
+
@( cd modules ; rm remake >/dev/null 2>&1 || : ; \
+
$(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
+
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
+
@touch modules-stamp
+
+
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 egrep '^OPCODE' <$(SRCDIR)/interpret_functions.h >$(SRCDIR)/interpret_protos.h_src 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
pike.git/src/Makefile.in:661:
# This rule makes sure that builtin.c is created in the source dir. # $(SRCDIR)/builtin.c: $(SRCDIR)/builtin.cmod precompile.sh-stamp $(TMP_BINDIR)/precompile.pike # UnixWare make needs help to find the source file... builtin.o: $(SRCDIR)/builtin.c # Internal testing target run_yacc: $(SRCDIR)/language.c
-
modules/modlist.h: $(MODULE_REQUIREMENTS)
-
@( cd modules ; rm remake >/dev/null 2>&1 || : ; \
-
$(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
-
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
-
touch modules/modlist.h
-
-
modules/modlist_headers.h: modules/modlist.h
-
touch modules/modlist_headers.h
-
-
modules/linker_options: modules/modlist.h
-
touch modules/linker_options
-
-
module.o: modules/modlist_headers.h modules/modlist.h
-
+
$(SRCDIR)/configure: $(SRCDIR)/configure.in cd $(SRCDIR) && autoconf config.status: $(SRCDIR)/configure ./config.status --recheck modules/static_module_makefile: $(SRCDIR)/modules/static_module_makefile.in config.status -@(while :; do \ echo foo > cfl.static_module_makefile; test "`echo cfl.*`" = cfl.static_module_makefile && break; \ rm cfl.static_module_makefile; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \