pike.git
/
src
/
Makefile.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/Makefile.in:48:
prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ lib_prefix = @libdir@/pike data_prefix = @datadir@ share_prefix = $(data_prefix)/pike man_prefix = @mandir@ include_prefix = @includedir@/pike # Arguments for test_pike.pike used by the verify targets.
-
#
TESTARGS = -F
-a
+
TESTARGS_NOFORK
= -a -a$(SRCDIR) -a$(LIBDIR_SRC) -v
+
TESTARGS
_FORK
= -F
$(TESTARGS_NOFORK)
# Arguments for install.pike used by the install targets. INSTALLARGS = --new-style # # use bison please, yacc isn't good enough. # YACC=@YACC@ YFLAGS=-d -v
pike.git/src/Makefile.in:86:
# -O should work with all compilers OPTIMIZE=@OPTIMIZE@ # Set to a flag for parallelizing make, e.g. -j2. It's given to make # at the level where it's most effective. MAKE_PARALLEL= # Preprocessor flags. PREFLAGS=-DPIKE_SRC_ROOT="$(BASEDIR)" -I. -I$(SRCDIR) $(DEFINES)
-
OTHERFLAGS=@CFLAGS@ $(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL)
-
NOOPTFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(WARN) $(PROFIL)
-
CFLAGS=$(PREFLAGS) $(OTHERFLAGS)
+
-
+
# Compiler flags.
+
OTHERFLAGS=$(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL)
+
NOOPTFLAGS=$(OSFLAGS) $(WARN) $(PROFIL)
+
CFLAGS=@CFLAGS@ $(PREFLAGS) $(OTHERFLAGS)
+
CXXFLAGS=@CXXFLAGS@ $(PREFLAGS) $(OTHERFLAGS)
+
SMARTLINK=@SMARTLINK@ REALCC=@REALCC@ CC=@CC@ CXX=@CXX@ CPP=@CPP@ GDB=gdb
-
+
CONFIG_HEADERS=@CONFIG_HEADERS@
+
CANDLE=@CANDLE@ -nologo LIGHT=@LIGHT@ -nologo RCEXE=@RCEXE@ FALLBACK_CC=@FALLBACK_CC@ AR=@AR@ LD=@LD@ LINKFORSHARED=@LINKFORSHARED@
pike.git/src/Makefile.in:127:
# 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. # CORE_OBJ= \ language.o \
-
security.o \
+
bignum.o \ pike_cpulib.o \ interpret.o \ constants.o \ cpp.o \ fdlib.o \ cyclic.o \ array.o \ backend.o \ callback.o \ encode.o \ docode.o \
-
dynamic_buffer.o \
+
dynamic_load.o \ error.o \ fd_control.o \ fsort.o \ gc.o \
-
hashtable.o \
+
lex.o \ multiset.o \ signal_handler.o \ pike_search.o \ pike_types.o \ pike_embed.o \ mapping.o \ block_allocator.o \ pike_memory.o \ module_support.o \ pikecode.o \ object.o \ stack_allocator.o \ opcodes.o \ operators.o \
-
+
pike_compiler.o \
pike_float.o \ port.o \ program.o \ rbtree.o \ rusage.o \ sprintf.o \ sscanf.o \ stralloc.o \
-
stuff
.o \
+
string_builder
.o \
threads.o \ version.o \ queue.o \ builtin.o \ iterators.o \ svalue.o \ las.o \ builtin_functions.o \
-
+
siphash24.o \
+
buffer.o \
peep.o @EXTRA_OBJS@ OBJ=$(CORE_OBJ) @MODULE_O@ MODULE_REQUIREMENTS= \ headerfiles-stamp \ machine.h \ global.h \ precompile.sh-stamp \ modules/static_module_makefile \ modules/dynamic_module_makefile \ post_modules/static_module_makefile \ post_modules/dynamic_module_makefile \ propagated_variables \ $(SRCDIR)/language.h \ $(SRCDIR)/interpret_protos.h \ lib @EXTRA_MODULE_REQUIREMENTS@
-
+
PMOD_TARGETS=@PMOD_TARGETS@
+
SRC_TARGETS= \ $(SRCDIR)/language.c \ $(SRCDIR)/language.h \ $(SRCDIR)/interpret_protos.h \ $(SRCDIR)/interpret_functions_fixed.h \ $(SRCDIR)/peep_engine.c \ $(SRCDIR)/case_info.h \ $(SRCDIR)/whitespace.h \
-
$(SRCDIR)/treeopt.h
@PMOD
_
TARGETS@
+
$(SRCDIR)/treeopt.h
$(PMOD
_
TARGETS)
# # User callable targets # # Update the dumped modules, but only if dump_modules has been used earlier. all: module_objects post_module_objects pike-complete-stamp @if [ -f dumpversion ]; then \ echo "$(MAKE) $(MAKE_FLAGS) dump_modules"; \
pike.git/src/Makefile.in:306:
cd Pike.framework/Versions && ln -s 7.7 Current cd Pike.framework && ln -s Versions/Current/Resources Resources && ln -s Versions/Current/Headers Headers && \ ln -s Versions/Current/Pike Pike cp $(SRCDIR)/*.h Pike.framework/Versions/7.7/Headers cp *.h Pike.framework/Versions/7.7/Headers cp $(PACKAGINGDIR)/macosx/framework_Info.plist Pike.framework/Versions/7.7/Resources/Info.plist MACHINE=`uname -m | tr " " "_"` && mkdir Pike.framework/Versions/7.7/Resources/$$MACHINE && cp -rf lib/* Pike.framework/Versions/7.7/Resources/$$MACHINE cp -rf $(SRCDIR)/../lib/* Pike.framework/Versions/7.7/Resources/lib cp master.pike Pike.framework/Versions/7.7/Resources/lib cd Pike.framework && find . -type f -name '*.in' -exec rm -f {} \;
-
cd Pike.framework && find . -type d -name CVS -prune -exec rm -rf {} \;
+
libpike.so: $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@ @echo "Linking libpike.so";\ if $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o libpike.@SO@ \ $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \ $(LIBS); then \ if test "@SO@" != so ; then mv "module.@SO@" module.so ; \ else :; fi ;\ else \ echo "Linking failed:" >&2; \
pike.git/src/Makefile.in:367:
# # @LDSHARED_BASE_REQS@ expands to pike.lib if dynamic DLL modules are # used on NT. pike@EXEEXT@ pike.lib: main.o $(OBJ) master-stamp pike.syms modules/linker_options @STATIC_POST_MODULES_LINKOPTS@ @PIKE_ICON_RES@ -@if [ -f pike.old.exe ] ; then rm -f pike.old.exe || : ; else : ; fi -@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi -@if [ -f pike.exe ] ; then mv pike.exe pike.old.exe || : ; else : ; fi -@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi $(LD) $(LDFLAGS) main.o $(OBJ) \ `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \
-
$(LIBS) @PIKE_ICON_RES@ -o
pike@EXEEXT@
+
$(LIBS) @PIKE_ICON_RES@ -o
pike
@MT_FIX_PIKE_EXE@ # The dumped modules are removed whenever Pike is relinked since some # of the bytecode methods (e.g. ia32) store 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 \ echo "$(MAKE) $(MAKE_FLAGS) delete_dumped_modules"; \ $(MAKE) $(MAKE_FLAGS) delete_dumped_modules; \ else :; fi
pike.git/src/Makefile.in:452:
-rm dumpversion 2>/dev/null $(MAKE) $(MAKE_FLAGS) dump_modules delete_dumped_modules: -find lib -type f -name \*.o | xargs rm -f undump_modules: delete_dumped_modules -rm dumpversion 2>/dev/null .SUFFIXES:
-
.SUFFIXES: .c .h .o .m .mmod .cmod .symlist .pp .pph .protos .h_src .wxs .wixobj .msi .msm
+
.SUFFIXES: .c .h .
S .
o .m .mmod .cmod .symlist .pp .pph .protos .h_src .wxs .wixobj .msi .msm
.c.pp: $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -DPMOD_PROTO=PMOD_PROTO "$<" >"$@" .c.protos: precompile.sh-stamp ./precompile.sh --cache fake_dynamic_load.pike >"$@" --cpp --protos \ $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -DPMOD_PROTO=PMOD_PROTO -DPIKE_PRECOMPILER=1 "$<" || \ { rm "$@"; exit 1; }
pike.git/src/Makefile.in:478:
# 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... .c.o: @echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \ rm -f $@.fail >/dev/null 2>&1; \ if $(CC) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \ status=$$?; \
-
if test x"@noopt_retry@" = xyes ; then \
-
echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
-
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >$@.fail ;\
-
if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
-
status=$$?; \
+
echo "Compilation command was:" >&2;\
-
echo "$(CC) $(PREFLAGS) $(
NOOPTFLAGS
) $$EXTRAFLAGS -c $< -o $@" >&2 ;\
+
echo "$(CC) $(PREFLAGS) $(
CFLAGS
) $$EXTRAFLAGS -c $< -o $@" >&2 ;\
exit $$status; \
-
fi
; \
-
else \
+
fi
+
+
.c.S:
+
@echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`"
; \
+
rm
-f
$@.fail >/dev/null 2>&1; \
+
if $(CC) $(CFLAGS) $$EXTRAFLAGS -S $< -o $@ ; then : ;
else \
+
status=$$?; \
echo "Compilation command was:" >&2;\
-
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -
c
$< -o $@" >&2 ;\
+
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -
S
$< -o $@" >&2 ;\
exit $$status; \
-
fi; \
+
fi .m.o: @echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \ rm -f $@.fail >/dev/null 2>&1; \ if $(CC) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -fobjc-gc -c $< -o $@ ; then : ; else \ status=$$?; \
-
if test x"@noopt_retry@" = xyes ; then \
-
echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
-
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >$@.fail ;\
-
if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
-
status=$$?; \
+
echo "Compilation command was:" >&2;\
-
echo "$(CC) $(PREFLAGS) $(
NOOPTFLAGS
) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
+
echo "$(CC) $(PREFLAGS) $(
CFLAGS
) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
exit $$status; \
-
fi
; \
-
else \
+
fi
+
+
.m.S:
+
@echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`"
; \
+
rm
-f
$@.fail >/dev/null 2>&1; \
+
if $(CC) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -fobjc-gc -S $< -o $@ ; then : ;
else \
+
status=$$?; \
echo "Compilation command was:" >&2;\
-
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -
c
$< -o $@" >&2 ;\
+
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -
S
$< -o $@" >&2 ;\
exit $$status; \
-
fi; \
+
fi
-
+
$(PMOD_TARGETS): precompile.sh-stamp $(TMP_BINDIR)/precompile.pike $(PIKE_SRC_DIR)/../lib/modules/Tools.pmod/Standalone.pmod/precompile.pike Makefile.in
+
# # 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-stamp $(TMP_BINDIR)/precompile.pike
+
.cmod.c:
./precompile.sh --cache precompile.pike $(PRECOMPILER_ARGS) >"$@" "$<" || { rm "$@"; exit 1; } # The same applies to this. .symlist.c: precompile.sh-stamp $(SRCDIR)/mklibpike.pike ./precompile.sh --cache $(SRCDIR)/mklibpike.pike -I. -I "$(SRCDIR)" -S "$<" -o "$@" || { rm "$@"; exit 1; } # This rule is used for some header files that are generated from the # source, to avoid excessive rebuilding when the source change in ways # that doesn't affect the header. #
pike.git/src/Makefile.in:671:
-find lib -type f -name \*.o -o -name \*.obj | xargs rm -f # make clean clean_here: tidy doc_clean -( cd tlib; find . -name testsuite | xargs rm ) -( cd extra_tests; find . -name testsuite | xargs rm ) -rm -f confdefs.h -rm -rf test-install test-pike tpike tpike.* *.pdb -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out pike.tmp -rm -f master.pike compiler-warnings dumpmodule.log
-
-rm -f interpreter_debug.h
lexer?.h
+
-rm -f interpreter_debug.h
-rm -f import-stamp master-stamp headerfiles-stamp -rm -f static-modules-stamp dynamic-modules-stamp post-modules-stamp -rm -f post-module-pike-stamp pike-complete-stamp -rm -rf lib/modules/* # -rm -f lib/master.pike clean: clean_here -( cd modules; $(MAKE) $(MAKE_FLAGS) clean ) -( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean )
pike.git/src/Makefile.in:697:
# make _really_ clean spotless: clean_here clean_pike -( cd modules; $(MAKE) $(MAKE_FLAGS) spotless ) -( cd post_modules; $(MAKE) $(MAKE_FLAGS) spotless ) -(cd $(SRCDIR); find . -type f -name '*.h.in' -print) | \ sed -e 's/\.in$$//' | xargs rm -f -rm -f Makefile config.* make_variables specs pike.syms -rm -f .pure stamp-h -rm -f lexical.c mon.out *.ln
-
-rm -f pike
pike
.
exe pike.
old pike.old.exe l.outa* num_files_to_install
+
-rm -f pike.old pike.old.exe l.outa* num_files_to_install
-rm -f *.msm *.msi -rm -f precompile.sh precompile.sh-stamp smartlink -rm -rf tlib extra_tests lib precompile distclean: spotless
-
# FIXME: Use .gitignore instead.
-
gitclean: 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"`); \
-
(cd "$(SRCDIR)/$$d" && rm -f `cat "$(SRCDIR)/$$d/.cvsignore"`); \
-
else :; fi; \
-
done)
-
-
cvsclean: gitclean
-
+
# create tags tags: ctags *.c TAGS: etags -t *.h *.c # verify / debug testsuites: $(MAKE) $(MAKE_FLAGS) testsuite
pike.git/src/Makefile.in:736:
( cd post_modules && $(MAKE) $(MAKE_FLAGS) testsuites ) ( cd $(TMP_BUILDDIR) && $(TMP_BINDIR)/mklibtests.sh \ --srcdir=$(LIBDIR_SRC) \ --destdir=tlib --bindir=$(TMP_BINDIR) ) if test -d "$(BASEDIR)/extra_tests" ; then \ (cd "$(TMP_BUILDDIR)" && $(TMP_BINDIR)/mklibtests.sh \ --srcdir="$(BASEDIR)/extra_tests" \ --destdir=extra_tests --bindir=$(TMP_BINDIR) ) ; fi; just_verify: testsuites master-stamp
-
if test "x$(TESTARGS)" = x ; then args="
-F -a -v
" ; \
+
if test "x$(TESTARGS)" = x ; then args="
$(TESTARGS_FORK)
" ; \
else args="$(TESTARGS)" ; fi; \ $(RUNPIKE) -x test_pike $$args valgrind_just_verify: testsuites master-stamp
-
if test "x$(TESTARGS)" = x ; then args="
-a -v
" ; \
+
if test "x$(TESTARGS)" = x ; then args="
$(TESTARGS_NOFORK)
" ; \
else args="$(TESTARGS)" ; fi; \ $(VALGRIND) $(VALGRINDARGS) $(RUNPIKE) -x test_pike --subproc-start="$(VALGRIND) $(VALGRINDARGS)" $$args dtrace_probes.h: $(SRCDIR)/dtrace/dtrace_probes.d dtrace -h -s "$(SRCDIR)/dtrace/dtrace_probes.d" -o "$(TMP_BUILDDIR)/dtrace_probes.h" # Testsuite for dynamic loading debugging test_dlopen: dynloadtest.sh sh ./dynloadtest.sh
pike.git/src/Makefile.in:790:
SRCDIR="$(SRCDIR)" DOCDIR_SRC="$(DOCDIR_SRC)" \ MANDIR_SRC="$(MANDIR_SRC)" \ man_prefix="$(man_prefix)" fakeroot="$(buildroot)" \ PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" pike_name="test-pike" \ cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \ prefix="./test-install" $(INSTALLARGS) verify: testsuites tinstall PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
-
if test "$(TESTARGS)" = "" ; then args="
-F -a -v
" ; else \
+
if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_FORK)
" ; else \
args="$(TESTARGS)" ; fi; \ if test -f ./test-pike ; then \ ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \ else \ if test -f some-sprsh-test ; then \ sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \ else \ `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \ fi \ fi valgrind_verify: testsuites tinstall PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
-
if test "$(TESTARGS)" = "" ; then args="
-a -v
" ; else \
+
if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_NOFORK)
" ; else \
args="$(TESTARGS)" ; fi; \ if test -f ./test-pike ; then \ $(VALGRIND) $(VALGRINDARGS) ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike --subproc-start="$(VALGRIND) $(VALGRINDARGS)" $$args ; \ else \ sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \ fi bench: tinstall if test -f ./test-pike ; then \ ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x benchmark; \ else \ if test -f some-sprsh-test ; then \ sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x benchmark ; \ else \ `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x benchmark ; \ fi \ fi verify_installed: testsuites master-stamp
-
if test "$(TESTARGS)" = "" ; then args="
-F -a -v
" ; else \
+
if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_FORK)
" ; else \
args="$(TESTARGS)" ; fi; \ $(bindir)/pike $(PIKEOPTS) -x test_pike $$args check: verify sure: verify # verify / debug verbose verbose_verify: testsuites master-stamp
-
if test "$(TESTARGS)" = "" ; then args="
-F -a
" ; else args="$(TESTARGS)" ; fi; \
-
$(RUNPIKE) -x test_pike -v
-v
$$args
+
if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_FORK)
" ; else args="$(TESTARGS)" ; fi; \
+
$(RUNPIKE) -x test_pike -v $$args
# verify & debug VERBOSE gdb_verify: testsuites master-stamp @echo >.gdbinit handle SIGFPE nostop noprint pass @echo >>.gdbinit handle SIGUSR1 nostop noprint pass @echo >>.gdbinit handle SIGUSR2 nostop noprint pass @echo >>.gdbinit handle SIGLWP nostop noprint pass @if kill -l | grep SIGRTMIN >/dev/null ; then \ echo >>.gdbinit handle SIG32 nostop noprint pass ;\ else :; fi @echo >>.gdbinit break debug_fatal @echo >>.gdbinit break pike_gdb_breakpoint
-
@if test "$(TESTARGS)" = "" ; then args="
-a
-v
-v
" ; else \
+
@if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_NOFORK)
-v" ; else \
args="$(TESTARGS)" ; fi; \ echo >>.gdbinit set args \ -m`echo "$(TMP_BUILDDIR)/master.pike" | ./posix_to_native.sh` \ $(PIKEOPTS) -x test_pike --no-watchdog $$args $(GDB) $(TMP_BUILDDIR)/pike @rm .gdbinit gdb_hilfe: master.pike @echo >.gdbinit handle SIGFPE nostop noprint pass @echo >>.gdbinit handle SIGUSR1 nostop noprint pass
pike.git/src/Makefile.in:873:
else :; fi @echo >>.gdbinit break debug_fatal @echo >>.gdbinit break pike_gdb_breakpoint @echo >>.gdbinit set args -m$(TMP_BUILDDIR)/master.pike $$ARGS $(GDB) $(TMP_BUILDDIR)/pike @rm .gdbinit # fast test fast_verify_testsuite: testsuite PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
-
if test "$(TESTARGS)" = "" ; then args="
-F -a
" ; \
+
if test "$(TESTARGS)" = "" ; then args="
$(TESTARGS_FORK)
" ; \
else args="$(TESTARGS)" ; fi; \ if test -f ./test-pike ; then \ ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \ else \ sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED \ $(PIKEOPTS) -x test_pike $$args ; \ fi # run hilfe, for interactive testing run_hilfe: master.pike
pike.git/src/Makefile.in:947:
traditional.xml: autodoc.xml $(DOCDIR)/structure/traditional.xml ( cd "$(DOCDIR)" && \ $(RUNPIKE) -x assemble_autodoc structure/traditional.xml \ $(TMP_BUILDDIR)/autodoc.xml) >traditional.xml || { rm "$@"; exit 1; } modref.xml: autodoc.xml $(DOCDIR)/structure/modref.xml (cd "$(DOCDIR)" && \ $(RUNPIKE) -x assemble_autodoc structure/modref.xml \ $(TMP_BUILDDIR)/autodoc.xml) >modref.xml || { rm "$@"; exit 1; }
-
autodoc.xml: pike-complete-stamp doc_build/src doc_build/lib doc_build/images
images1
images2 force
+
autodoc.xml: pike-complete-stamp doc_build/src doc_build/lib doc_build/images images2 force
$(RUNPIKE) -x extract_autodoc -q --srcdir=$(SRCDIR) \ --imgsrc=$(DOCDIR)/src_images --builddir=doc_build/src \ --imgdir=doc_build/images $(RUNPIKE) -x extract_autodoc -q --srcdir=$(LIBDIR_SRC) \ --imgsrc=$(DOCDIR)/src_images --builddir=doc_build/lib \ --imgdir=doc_build/images $(RUNPIKE) -x join_autodoc --quiet --post-process autodoc.xml doc_build autodoc-stamp: @test -f autodoc.xml || $(MAKE) autodoc.xml @test -f autodoc-stamp || echo foo > autodoc-stamp
-
images1: doc_build/src/post_modules/GTK1/refdoc/images
-
@cp $(SRCDIR)/post_modules/GTK1/refdoc/images/*.png \
-
doc_build/src/post_modules/GTK1/refdoc/images/
-
+
images2: doc_build/src/post_modules/GTK2/refdoc/images @cp $(SRCDIR)/post_modules/GTK2/refdoc/images/*.png \ doc_build/src/post_modules/GTK2/refdoc/images/ # Directories doc_build: @test -d doc_build || mkdir doc_build doc_build/src: doc_build
pike.git/src/Makefile.in:986:
doc_build/lib: doc_build @test -d doc_build/lib || mkdir doc_build/lib doc_build/images: doc_build @test -d doc_build/images || mkdir doc_build/images doc_build/src/post_modules: doc_build/src @test -d doc_build/src/post_modules || \ mkdir doc_build/src/post_modules
-
doc_build/src/post_modules/GTK1/refdoc/images: doc_build/src/post_modules
-
@test -d doc_build/src/post_modules/GTK1 || \
-
mkdir doc_build/src/post_modules/GTK1
-
@test -d doc_build/src/post_modules/GTK1/refdoc || \
-
mkdir doc_build/src/post_modules/GTK1/refdoc
-
@test -d doc_build/src/post_modules/GTK1/refdoc/images || \
-
mkdir doc_build/src/post_modules/GTK1/refdoc/images
-
+
doc_build/src/post_modules/GTK2/refdoc/images: doc_build/src/post_modules @test -d doc_build/src/post_modules/GTK2 || \ mkdir doc_build/src/post_modules/GTK2 @test -d doc_build/src/post_modules/GTK2/refdoc || \ mkdir doc_build/src/post_modules/GTK2/refdoc @test -d doc_build/src/post_modules/GTK2/refdoc/images || \ mkdir doc_build/src/post_modules/GTK2/refdoc/images doc_clean:
-
-rm -f onepage.xml traditional.xml modref.xml autodoc.xml resolution.log
+
-rm -f onepage.xml traditional.xml modref.xml autodoc.xml
\
+
autodoc.xml.stamp
resolution.log
-rm -rf doc_build pike.syms: $(SRCDIR)/interpret.c $(SRCDIR)/interpreter.h $(SRCDIR)/program.c $(SRCDIR)/builtin_functions.c ( cat $(SRCDIR)/*.h *.h | egrep '^[ ]*#[ ]*define[ ][ ]*[a-zA-Z_0-9]*[ ][ ]*[0-9][xabcdefABCDEF0-9]*[ ]*' ; \ echo "#define" `$(CPP) $(PREFLAGS) -DSTEP_BREAK_LINE='STEP_BREAK_LINE __LINE__' $(SRCDIR)/interpreter.h | grep STEP_BREAK_LINE` ) >pike.syms # 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.
pike.git/src/Makefile.in:1086:
./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 $(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
-
# This dependency is here to make sure that lexer[012]
.
h
are generated.
-
# The reason for the split is that some compilers
(
read cl
)
generate
-
# better code then
.
Strange, but true.
-
lex.o: lexer0.
h
lexer1.h lexer2.h
+
interpret
.
o:
$
(
SRCDIR
)
/interpret_functions_fixed
.h
-
lex.protos: lexer0.h lexer1.h lexer2.h
-
-
lexer0.h: lexer.h
-
cp "$(SRCDIR)/lexer.h" "$@"
-
-
lexer1.h: lexer.h
-
cp "$(SRCDIR)/lexer.h" "$@"
-
-
lexer2.h: lexer.h
-
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
-
+
# make dependencies depend: $(SRC_TARGETS)
-
gcc
-MM -MG $(PREFLAGS) $(SRCDIR)/*.c | $(TMP_BINDIR)/fixdepends.sh "$(SRCDIR)" "$(SRCDIR)" /dev/null
+
$(CC)
-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 && { \ rm -f remake; \ $(MAKE) $(MAKE_FLAGS) depend || \ { test -f remake && $(MAKE) $(MAKE_FLAGS) depend; }; \ })
-
@if [ "x$(
RUNPIKE
)"
!
= "x$(
DEFAULT
_
RUNPIKE
)"
-o
-x $(TMP_BUILDDIR)/pike ]; then \
+
@if [ "x$(
RUNTPIKE
)" = "x$(
USE
_
TPIKE
)"
];
then \
+
if [
-x $(TMP_BUILDDIR)/pike ]; then \
$(MAKE) $(MAKE_FLAGS) post_modules_depend; \ else \ echo "Skipping make depend in post_modules since a fresh pike is"; \ echo "needed to make the autogenerated sources there."; \ :; \
-
+
fi \
+
else \
+
echo "Skipping make depend in post_modules since a fresh pike is"; \
+
echo "needed to make the autogenerated sources there, and we are"; \
+
echo "cross-compiling or --disable-binary."; \
+
:; \
fi post_modules_depend:
-
@if [ "x$(
RUNPIKE
)" != "x$(
DEFAULT
_
RUNPIKE
)" -
o
-x $(TMP_BUILDDIR)/pike ]; then :; \
-
else $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike@EXEEXT@; fi
-
@
( cd post_modules && { \
+
@if [ "x$(
RUNTPIKE
)" != "x$(
USE
_
TPIKE
)"
]; then :; \
+
echo "Skipping make depend in post_modules since a fresh pike is"; \
+
echo "needed to make the autogenerated sources there, and we are"; \
+
echo "cross
-
compiling
or
-
-disable-binary."; \
+
:; \
+
else \
+
if [ -
x $(TMP_BUILDDIR)/pike ]; then :; \
+
else $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike@EXEEXT@;
\
+
fi
; \
+
( cd post_modules && { \
rm -f remake; \ $(MAKE) $(MAKE_FLAGS) depend || \ { test -f remake && $(MAKE) $(MAKE_FLAGS) depend; }; \
-
})
+
})
; \
+
fi
# # Pike internal targets # # touch static-modules-stamp here to avoid doing this work again if # that target is checked later. static_module_objects: $(MODULE_REQUIREMENTS) @MODULE_BUILD_TYPE=static; \ export MODULE_BUILD_TYPE; \
pike.git/src/Makefile.in:1197:
module_objects: @$(MAKE) $(MAKE_FLAGS) static_module_objects @$(MAKE) $(MAKE_FLAGS) dynamic_module_objects modules/modlist.h: static-modules-stamp modules/modlist_headers.h: static-modules-stamp modules/linker_options: static-modules-stamp
-
post-module-pike-stamp: @BUILD_
PIKE@
dynamic-modules-stamp
+
post-module-pike-stamp: @BUILD_
PIKE@@EXEEXT@
dynamic-modules-stamp
@touch post-module-pike-stamp
-
module
.o: modules/modlist_headers.h modules/modlist.h post_modules/modlist_headers.h post_modules/modlist.h
+
pike_modules
.o: modules/modlist_headers.h modules/modlist.h post_modules/modlist_headers.h post_modules/modlist.h
tmodule.o: modules/modlist_headers.h modules/modlist.h # Backward compat. post_modules: post_module_objects post_module_objects: pike@EXEEXT@ $(MODULE_REQUIREMENTS) post-module-pike-stamp @LDSHARED_BASE_REQS@ @MODULE_BUILD_TYPE=@POST_MODULE_BUILD_TYPE@; \ export MODULE_BUILD_TYPE; \ ( cd post_modules && ( rm remake >/dev/null 2>&1 || : ) && \
pike.git/src/Makefile.in:1252:
language.o: $(SRCDIR)/language.c $(SRCDIR)/object.h $(SRCDIR)/interpret.h $(SRCDIR)/program.h $(SRCDIR)/language.c_src $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc @echo "Expect 1 shift/reduce conflict." cd $(SRCDIR) && $(YACC) $(YFLAGS) language.yacc mv $(SRCDIR)/y.tab.c $(SRCDIR)/language.c_src mv $(SRCDIR)/y.tab.h $(SRCDIR)/language.h_src $(SRCDIR)/language.c: $(SRCDIR)/language.c_src
-
sed
-e 's/YY_COUNT_TYPE/@YY_COUNT_TYPE@/' \
+
@sed
-e 's/YY_COUNT_TYPE/@YY_COUNT_TYPE@/' \
-e 's/YY_FROM_CONST/@YY_FROM_CONST@/' \ -e 's/short[ ]*int[ ]/\/* short *\/ int /g' \ -e 's/(short[ ]*int)/(\/* short *\/ int)/g' \ < $(SRCDIR)/language.c_src > $(SRCDIR)/language.c $(SRCDIR)/interpret_functions_fixed.h: $(SRCDIR)/interpret_functions.h precompile.sh-stamp ./precompile.sh --cache make_interpret_functions.pike >"$@" "$(SRCDIR)/interpret_functions.h" || { rm "$@"; exit 1; } # UnixWare make needs help to find the source file... builtin.o: $(SRCDIR)/builtin.c $(SRCDIR)/whitespace.h
-
+
cpp.o: $(SRCDIR)/cpp.c
+
iterators.o: $(SRCDIR)/iterators.c backend.o: $(SRCDIR)/backend.c libpike.o: $(SRCDIR)/libpike.c
-
+
pike_compiler.o: $(SRCDIR)/pike_compiler.c
+
+
string_builder.o: $(SRCDIR)/string_builder.c
+
# Internal testing target run_yacc: $(SRCDIR)/language.c $(SRCDIR)/configure $(SRCDIR)/stamp-h.in: $(SRCDIR)/configure.in $(SRCDIR)/aclocal.m4 $(SRCDIR)/acconfig.h cd $(SRCDIR) && ./run_autoconfig --no-recursion . echo foo > $(SRCDIR)/stamp-h.in config.status propagated_variables: $(SRCDIR)/configure $(SRCDIR)/make_variables.in ./config.status --recheck @test -f propagated_variables && touch propagated_variables
pike.git/src/Makefile.in:1350:
# recent OS's, that haven't heard of the 70's... # # Note that gnu touch is stupid, and warns about the syntax; thus the # redirect of stderr. # # BSD make is stupid, and doesn't restat precompile.sh-stamp and # recalculate the dependencies after executing the rule, thus the # recursive use of make. precompile.sh-stamp: @if [ -f precompile.sh ]; then :; else $(MAKE) precompile.sh; fi
-
@touch
0101010185
precompile.sh-stamp 2>/dev/null
+
@touch
-t
198501010101
precompile.sh-stamp 2>/dev/null
$(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
-
machine.h
: stamp-h
-
@if test -f
machine.h
; then :; else \
+
$(CONFIG_HEADERS)
: stamp-h
+
@if test -f
$(CONFIG_HEADERS)
; then :; else \
rm stamp-h; $(MAKE) stamp-h; \ fi stamp-h: $(SRCDIR)/stamp-h.in $(SRCDIR)/machine.h.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=31; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \ done;)
-
CONFIG_FILES="" CONFIG_HEADERS=
machine.h
./config.status || \
+
CONFIG_FILES="" CONFIG_HEADERS=
"$(CONFIG_HEADERS)"
./config.status || \
(EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE) touch stamp-h -@rm cfl.$@ testsuite: $(SRCDIR)/testsuite.in $(TMP_BINDIR)/mktestsuite if test "$$PIKE_PATH_TRANSLATE" = ""; then \ $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite \ -DSRCDIR="`echo $(SRCDIR)|./posix_to_native.sh`"; \ else \ $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite \
pike.git/src/Makefile.in:1402:
fd_control.protos \ backend.protos \ fdlib.protos \ bignum.protos \ fsort.protos \ pike_memory.protos \ pike_types.protos \ gc.protos \ port.protos \ callback.protos \
-
hashtable.protos \
+
program.protos \ interpret.protos \ constants.protos \ language.protos \ queue.protos \ cpp.protos \ rusage.protos \ cyclic.protos \ lex.protos \
-
security.protos \
+
signal_handler.protos \ pike_search.protos \ docode.protos \ main.protos \ stralloc.protos \ mapping.protos \ block_allocator.protos \
-
stuff.protos \
+
dynamic_buffer.protos \
-
+
buffer.protos \
svalue.protos \ dynamic_load.protos \ module_support.protos \ threads.protos \ multiset.protos \ encode.protos \ object.protos \ error.protos \ opcodes.protos \ version.protos \
pike.git/src/Makefile.in:1459:
# Must have manual depends on all the bytecode methods in the code # dir, since make depend will only include the one that was chosen, # and that doesn't suffice in source dists. $(SRCDIR)/pikecode.h: \ $(SRCDIR)/code/ia32.h \ $(SRCDIR)/code/amd64.h \ $(SRCDIR)/code/sparc.h \ $(SRCDIR)/code/ppc32.h \ $(SRCDIR)/code/ppc64.h \
-
$(SRCDIR)/code/
computedgoto
.h \
+
$(SRCDIR)/code/
arm32
.h \
+
$(SRCDIR)/code/arm64.h \
+
$(SRCDIR)/code/riscv.h \
$(SRCDIR)/code/bytecode.h touch $(SRCDIR)/pikecode.h $(SRCDIR)/pikecode.c: \ $(SRCDIR)/code/ia32.c \ $(SRCDIR)/code/amd64.c \ $(SRCDIR)/code/sparc.c \ $(SRCDIR)/code/ppc32.c \ $(SRCDIR)/code/ppc64.c \
-
$(SRCDIR)/code/
computedgoto
.c \
+
$(SRCDIR)/code/
arm32
.c \
+
$(SRCDIR)/code/arm64.c \
+
$(SRCDIR)/code/riscv.c \
$(SRCDIR)/code/bytecode.c touch $(SRCDIR)/pikecode.c @dependencies@