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.
347
2003/02/
10
21
:
04
:
23
nilsson
Exp $
+
# $Id: Makefile.in,v 1.
348
2003/02/
19
23
:
58
:
20
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:99:
CPP=@CPP@ FALLBACK_CC=@FALLBACK_CC@ AR=@AR@ LD=@LD@ LDFLAGS=@LDFLAGS@ @LINKFORSHARED@ $(EXTRALDFLAGS) DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
-
USE_TPIKE=$(TMP_BUILDDIR)/precompile.sh
+
USE_PIKE=pike $(PIKEOPTS) RUNPIKE=$(@RUNPIKE@)
-
RUNTPIKE=$(@RUNTPIKE@)
+
PIKE_MODULE_RELOC=@PIKE_MODULE_RELOC@ # Set to an appropriate invocation of valgrind (or similar) VALGRIND=@VALGRIND@ VALGRINDARGS=@VALGRINDARGS@ MAKE_FLAGS= # Add alloca.o if you don't have alloca() on your machine. #
pike.git/src/Makefile.in:159:
program.o \ rbtree.o \ rusage.o \ stralloc.o \ stuff.o \ threads.o \ version.o \ queue.o \ builtin.o \ iterators.o \
-
svalue.o @EXTRA_OBJS@
+
svalue.o
\
+
las.o \
+
builtin_functions.o \
+
peep.o \
+
module.o \
+
@EXTRA_OBJS@
MODULE_REQUIREMENTS= \ machine.h \ global.h \ precompile.sh-stamp \ modules/static_module_makefile \ modules/dynamic_module_makefile \ $(SRCDIR)/language.h \ $(SRCDIR)/interpret_protos.h \ lib @EXTRA_MODULE_REQUIREMENTS@ SRC_TARGETS= \ $(SRCDIR)/language.c \ $(SRCDIR)/language.h \ $(SRCDIR)/interpret_protos.h \ $(SRCDIR)/interpret_functions_fixed.h \
-
@PMOD_TARGETS@
-
-
TPIKE_TARGETS= \
+
$(SRCDIR)/peep_engine.c \ $(SRCDIR)/case_info.h \ $(SRCDIR)/treeopt.h \
-
+
@PMOD_TARGETS@
-
#
-
# The following objectfiles differ between tpike & pike:
-
#
+
-
TOBJ = las_t.o builtin_functions_t.o peep_t.o module_t.o
-
POBJ = las.o builtin_functions.o peep.o module.o
-
-
+
# # User callable targets # # Update the dumped modules, but only if dump_modules has been used earlier. # # Since post_modules might be static, we must remake pike after them # to make sure they are linked in. all: module_objects tools if [ -f dumpversion ]; then $(MAKE) $(MAKE_FLAGS) dump_modules; else :; fi
pike.git/src/Makefile.in:250:
echo; \ echo 'Compilation warning and error summary:'; \ echo '--------------------------------------'; \ fi @echo @cat compiler-warnings @echo @echo 'End of summary' @echo '--------------'
-
tpike-real: $(SRC_TARGETS) $(OBJ) $(TOBJ) modules/linker_options
-
-@rm -f tpike || :
-
$(LD) $(LDFLAGS) $(OBJ) $(TOBJ) `cat modules/linker_options` $(LIBS) -o tpike
-
-
# Only want tpike to exist when using $(RUNTPIKE); we don't want to
-
# require it actually being up-to-date.
-
#
-
# If RUNPIKE has been overridden we don't bother to build tpike. The
-
# precompile.sh script will then fall back to use RUNPIKE when it
-
# doesn't find tpike, and we assume that RUNPIKE doesn't point to a
-
#
pike
from the stone age.
-
$(TMP_BUILDDIR)/tpike
:
precompile.sh-stamp
-
@if test "x$(RUNPIKE)" = "x$(DEFAULT_RUNPIKE)"; then \
-
$(
MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real; \
-
else :; fi
-
-
# Make $(POBJ)s with a recursive make instead of depending on them.
-
# This way, we make sure that all other objects shared with tpike are
-
# up-to-date first. So if the $(POBJ)s, which depend on tpike, trigs
-
# the recursive make of tpike-real above, that one will never start to
-
# make the $(
OBJ)
s
concurrently with this one. stamp-tpike-predep
-
# records the $(POBJ) dependencies without tpike.
-
pike: $(OBJ)
master-stamp pike.syms modules/linker_options
stamp-tpike-predep
post_modules/linker_options
-
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) $(POBJ)
+
pike: $(OBJ) master-stamp pike.syms modules/linker_options post_modules/linker_options
-@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi -@if [ -f pike.old.exe ] ; then rm -f pike.old.exe || : ; else : ; fi -@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi
-
$(LD) $(LDFLAGS) $(OBJ)
$(POBJ)
`cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
+
$(LD) $(LDFLAGS) $(OBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
# The dumped modules are removed whenever Pike is relinked since some # of the bytecode methods (e.g. ia32) stores absolute addresses to # global structs. That should probably be fixed in them so that dumped # modules aren't link order dependent. if [ -f dumpversion ]; then $(MAKE) $(MAKE_FLAGS) delete_dumped_modules; else :; fi # purify
-
pure: $(OBJ)
$(POBJ)
master-stamp module_objects
+
pure: $(OBJ) master-stamp module_objects
-@mv pike pike.old 2>/dev/null || true
-
$(SMARTLINK) purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ)
$(POBJ)
`cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
+
$(SMARTLINK) purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
# purecov
-
cover: $(OBJ)
$(POBJ)
master-stamp module_objects
+
cover: $(OBJ) master-stamp module_objects
-@mv pike pike.old 2>/dev/null || true
-
$(SMARTLINK) purecov purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ)
$(POBJ)
`cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
+
$(SMARTLINK) purecov purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
# quantify
-
quant: $(OBJ)
$(POBJ)
master-stamp module_objects
+
quant: $(OBJ) master-stamp module_objects
-@mv pike pike.old 2>/dev/null || true
-
$(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ)
$(POBJ)
`cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
+
$(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
atom: pike atom pike -tool atom -env threads -g -v `find lib/modules -type f -name '*.so' -print | sed -e 's/^/-incobj /g'` mv pike pike.pre-atom mv pike.third.threads pike @echo Make sure you have '.' in your LD_LIBRARY_PATH. pixie: pike atom pike -tool pixie -env threads -g -v `find lib/modules -type f -name '*.so' -print | sed -e 's/^/-incobj /g'` mv pike pike.pre-pixie
pike.git/src/Makefile.in:445:
# make clean clean: tidy -( cd modules; $(MAKE) $(MAKE_FLAGS) clean ) -( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean ) -( cd tlib; find . -name testsuite | xargs rm ) -rm -rf test-install test-pike testsuite_test_dir.pmod -rm testsuite_test.pike testsuite.tmp -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out -rm -f hilfe rsif master.pike compiler-warnings
-
-rm -f
tpike stamp-tpike-predep
import-stamp modules-stamp master-stamp
+
-rm -f import-stamp modules-stamp master-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:720:
filename=`echo *.burk | sed 's@\.burk$$@@g'`.exe ;\ ( cat uncompress_header.exe ; gzip -9 -c *.burk ) > $$filename ;\ echo "Done." ;\ ;; \ esac #new_peep_engine: # $(RUNPIKE) $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c # $(RUNPIKE) $(TMP_BINDIR)/make_ci.pike <$(SRCDIR)/UnicodeData.txt >$(SRCDIR)/case_info.h
-
$(SRCDIR)/peep_engine.c: $(
TMP_BUILDDIR)/tpike $(
SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike
-
$(RUNTPIKE)
$(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c || ( rm $(SRCDIR)/peep_engine.c ; exit 1 )
+
$(SRCDIR)/peep_engine.c: $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike
+
./precompile.sh
$(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c || ( rm $(SRCDIR)/peep_engine.c ; exit 1 )
peep.o: $(SRCDIR)/peep_engine.c peep_t.o: peep.c
-
$(SRCDIR)/case_info.h: $(
TMP_BUILDDIR)/tpike $(
SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike
-
$(RUNTPIKE)
$(TMP_BINDIR)/make_ci.pike $(SRCDIR)/case_info.h \
+
$(SRCDIR)/case_info.h: $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike
+
./precompile.sh
$(TMP_BINDIR)/make_ci.pike $(SRCDIR)/case_info.h \
<$(SRCDIR)/UnicodeData.txt builtin_functions.o: $(SRCDIR)/case_info.h $(SRCDIR)/combine_path.h builtin_functions_t.o: builtin_functions.c $(SRCDIR)/combine_path.h
-
$(SRCDIR)/treeopt.h: $(
TMP_BUILDDIR)/tpike $(
SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike
-
$(RUNTPIKE)
$(TMP_BINDIR)/mktreeopt.pike $(SRCDIR)/treeopt.in || ( rm $(SRCDIR)/treeopt.h ; exit 1 )
+
$(SRCDIR)/treeopt.h: $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike
+
./precompile.sh
$(TMP_BINDIR)/mktreeopt.pike $(SRCDIR)/treeopt.in || ( rm $(SRCDIR)/treeopt.h ; exit 1 )
las.o: $(SRCDIR)/treeopt.h las_t.o: las.c # This dependency is here to make sure that lexer[012].h are generated. # The reason for the split is that some compilers (read lc) generate # better code then. Strange, but true. lex.o: lexer0.h lexer1.h lexer2.h
pike.git/src/Makefile.in:766:
cp "$(SRCDIR)/lexer.h" "$@" # unbug needs interpreter_nd.h to be able to # set separate breakpoints in eval_instruction_with/without_debug interpreter_debug.h: interpreter.h cp "$(SRCDIR)/interpreter.h" "$@" interpret.o: interpreter_debug.h $(SRCDIR)/interpret_functions_fixed.h
-
# All the $(POBJ) dependencies, except tpike. See blurb at pike target.
-
stamp-tpike-predep: $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike peep.c $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike builtin_functions.c $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike las.c
-
@echo foo > stamp-tpike-predep
-
+
# make dependencies
-
depend: $(SRC_TARGETS)
$(TPIKE_TARGETS)
+
depend: $(SRC_TARGETS)
gcc -MM -MG $(PREFLAGS) $(SRCDIR)/*.c | $(TMP_BINDIR)/fixdepends.sh "$(SRCDIR)" "$(SRCDIR)" /dev/null -@(while :; do \ echo foo > cfl.$@; test "`echo cfl.*`" = cfl.$@ && break; \ rm cfl.$@; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \ arb=37; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \ done;) CONFIG_FILES=Makefile CONFIG_HEADERS="" ./config.status || \ (EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) -@rm cfl.$@ @( cd modules && { \