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.
236
2001/01/
22
21
:
49
:
13
mast Exp $
+
# $Id: Makefile.in,v 1.
237
2001/01/
23
00
:
41
:
19
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:170:
POBJ = las.o builtin_functions.o peep.o # # User callable targets # # Ouch. # It turns out that we really do need to do it this way. #
-
#
Ensure
that
we
have
a
precompile.sh,
so
that
we
don't need to
-
#
have
dependencies
on
it
.
+
#
First
compile
pike
to
generate
the lower_case() support
,
since
that
+
#
is
needed
by
the post_module
.
#
-
# Then compile the first 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 master.pike
-
@$(MAKE) precompile.sh
+
$(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=$(MAKE_PARALLEL)" post_modules $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike
pike.git/src/Makefile.in:392:
-(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 \{\} \; -rm -f lexical.c mon.out *.ln config.status -rm -f $(TMP_BINDIR)/*~ $(TMP_BINDIR)/\#*\# -rm -f pike pike.old l.outa* -rm -f modules/*/testsuite -rm -f modules/static_module_makefile modules/dynamic_module_makefile
+
-rm -f precompile.sh precompile.sh-stamp
-rm -rf lib distclean: spotless find . -type f '(' -name 'config.log' -o -name 'config.status' -o \ -name 'config.cache' ')' -exec rm -f \{\} \; cvsclean: distclean ( for d in `cd $(SRCDIR) && find . -type d -print`; do \ if test -f "$(SRCDIR)/$$d/.cvsignore" ; then \ (cd "$$d" && rm -f `cat "$(SRCDIR)/$$d/.cvsignore"`); \
pike.git/src/Makefile.in:500:
aclocal: $(SRCDIR)/aclocal.m4 echo >aclocal "define(PIKE_INCLUDE_PATH,$(prefix)/include/pike)" cat >>aclocal $(SRCDIR)/aclocal.m4 # make export archive (requires compiled Pike) # Do not compile in source tree if you want to use this! # Beware that export archive this includes bison/yacc/byacc source # and thus has to follow the rules stated in that code.
+
# We touch the files that depend on language.h_src and
+
# interpret_protos.h_src to ensure that the .h_src.h rule doesn't have
+
# anything to do in the dist.
full_export: new_peep_engine $(SRCDIR)/language.c $(SRCDIR)/language.h $(SRCDIR)/interpret_protos.h depend
-
+
touch $(SRCDIR)/language.c $(SRCDIR)/language.h $(SRCDIR)/interpret_protos.h
chmod +x $(SRCDIR)/install-sh $(RUNPIKE) $(TMP_BINDIR)/export.pike --srcdir="$(SRCDIR)" export: full_export all_exports: full_export ( cd .. && $(TMP_BINDIR)/makedists ) bin_export: aclocal @rm -f *.burk
pike.git/src/Makefile.in:653:
$(YACC) $(YFLAGS) language.yacc &&\ mv y.tab.c language.c &&\ mv y.tab.h language.h_src ) $(SRCDIR)/language.c: $(SRCDIR)/language.h_src touch $(SRCDIR)/language.c # # This rule makes sure that builtin.c is created in the source dir. #
-
$(SRCDIR)/builtin.c: $(SRCDIR)/builtin.cmod $(TMP_BINDIR)/precompile.pike
+
$(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) || \
pike.git/src/Makefile.in:724:
precompile.sh: $(SRCDIR)/precompile.sh.in ./config.status -@(while :; do \ echo foo > cfl.$@; test "`echo cfl.*`" = cfl.$@ && break; \ rm cfl.$@; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \ arb=29; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \ done;) CONFIG_FILES=precompile.sh CONFIG_HEADERS="" ./config.status || \ (EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) -@rm cfl.$@
+
# A dependency on precompile.sh-stamp only ensures that precompile.sh
+
# exists, not that it's older than the target. In source dists,
+
# precompile.sh is almost always newer than the targets that depend on
+
# it, e.g. builtin.c that comes with the dist.
+
precompile.sh-stamp: precompile.sh
+
@touch -t 197001010000 precompile.sh-stamp
+
$(SRCDIR)/machine.h.in: $(SRCDIR)/stamp-h.in @if test -f $(SRCDIR)/machine.h.in; then :; else \ rm $(SRCDIR)/stamp-h.in; $(MAKE) $(SRCDIR)/stamp-h.in; \ fi $(SRCDIR)/stamp-h.in: $(SRCDIR)/configure.in $(SRCDIR)/acconfig.h cd $(SRCDIR) && autoheader echo foo > $(SRCDIR)/stamp-h.in machine.h: stamp-h
pike.git/src/Makefile.in:806:
module_support.protos \ threads.protos \ multiset.protos \ encode.protos \ object.protos \ error.protos \ opcodes.protos \ version.protos \ builtin.protos
-
$(HFILES): precompile.sh
+
$(HFILES): precompile.sh
-stamp
-
import-stamp: $(HFILES) precompile.sh
+
import-stamp: $(HFILES) precompile.sh
-stamp
@./precompile.sh fake_dynamic_load.pike import_functions.tmp $(HFILES) @cmp import_functions.tmp import_functions.h >/dev/null || mv import_functions.tmp import_functions.h @echo hej >import-stamp import_functions.h: import-stamp test -f import-stamp || ( rm import-stamp ; $(MAKE) import-stamp ) export_functions.c: import_functions.h touch export_functions.c @dependencies@