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.
160
1999/
10
/
27
13
:
51
:
57
grubba
Exp $
+
# $Id: Makefile.in,v 1.
161
1999/
11
/
07
01
:
40
:
48
per
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:133:
threads.o \ version.o \ queue.o \ svalue.o @EXTRA_OBJS@ # # User callable targets #
+
# Ouch.
+
# It turns out that we really do need to do it this way.
+
#
+
# First compile pike, to generate the peep engine, and more
+
# importantly, the lower_case() support, since that is needed by the
+
# post_module.
+
#
+
# Then relink pike once more, since the post modules might be
+
# static modules, and thus have to be linked into pike.
+
#
+
# No rest for the wicked.
all: module_objects hilfe $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike @rm -f dummy_engine >/dev/null 2>&1; echo "" >dummy_engine && \ if cmp $(SRCDIR)/peep_engine.c dummy_engine >/dev/null 2>&1; then \ echo "Warning: No peep_engine." >&2; \ else :; fi; \ rm -f dummy_engine >/dev/null 2>&1
-
+
# $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) new_peep_engine
+
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike
+
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) post_modules
+
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike
-
+
post_modules: force
+
@( cd post_modules ; rm remake >/dev/null 2>&1 || : ; \
+
$(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
+
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
+
compiler-warnings : clean @echo Summarizing compiler warnings. @echo @if $(MAKE) $(MAKE_FLAGS) all 2>compiler-warnings ; then \ echo; \ echo 'Compilation warning summary:'; \ echo '----------------------------'; \ else \ echo; \ echo 'Compilation warning and error summary:'; \