pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:1:   # - # $Id: Makefile.in,v 1.241 2001/01/23 22:24:53 mast Exp $ + # $Id: Makefile.in,v 1.242 2001/01/26 02:04:47 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:87:   CC=@CC@   CPP=@CPP@      FALLBACK_CC=@FALLBACK_CC@      AR=@AR@      LD=@LD@   LDFLAGS=@LDFLAGS@ @LINKFORSHARED@ $(EXTRALDFLAGS)    - RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) - USE_TPIKE=$(TMP_BUILDDIR)/tpike -DNOT_INSTALLED -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) + DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) + RUNPIKE=$(DEFAULT_RUNPIKE) + USE_TPIKE=$(TMP_BUILDDIR)/precompile.sh   USE_PIKE=@PIKE@ $(PIKEOPTS)   RUNTPIKE=$(@RUNTPIKE@)      MAKE_FLAGS=      # Add alloca.o if you don't have alloca() on your machine.   #   OBJ= \    language.o \    security.o \
pike.git/src/Makefile.in:166:   # The following objectfiles differ between tpike & pike:   #      TOBJ = las_t.o builtin_functions_t.o peep_t.o   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. - # - # First compile pike to generate 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 + # Since post_modules might be static, we must remake pike after them + # to make sure they are linked in. + all: module_objects hilfe +  $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) post_modules    $(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 +     - post_modules: force + post_modules: pike    @( 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:'; \
pike.git/src/Makefile.in:218:    @echo    @echo 'End of summary'    @echo '--------------'      tpike-real: $(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. - $(TMP_BUILDDIR)/tpike: -  $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real + # + # 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.pike modules/linker_options stamp-tpike-predep    $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) $(POBJ)    -@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi
pike.git/src/Makefile.in:283:   .SUFFIXES: .c .h .o .cmod .pp .pph .protos .xml .h_src      .c.xml: pike $(TMP_BINDIR)/autodoc.pike    @$(RUNPIKE) $(TMP_BINDIR)/autodoc.pike "$<" >"$@"      .c.pp:    $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \    -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"      .c.protos: -  ./precompile.sh fake_dynamic_load.pike "$@" --cpp --protos \ +  ./precompile.sh fake_dynamic_load.pike >"$@" --cpp --protos \    $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -  -DPMOD_PROTO=PMOD_PROTO -DPIKE_PRECOMPILER=1 "$<" +  -DPMOD_PROTO=PMOD_PROTO -DPIKE_PRECOMPILER=1 "$<" || \ +  { rm "$@"; exit 1; }      .h.pph:    $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \    -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"         # 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...
pike.git/src/Makefile.in:322:    fi; \    fi; \    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 "$@" "$<" +  ./precompile.sh precompile.pike >"$@" "$<" || { 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.   #   # 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 from that. Most make's seems to behave   # like that.
pike.git/src/Makefile.in:494:    --set='prefix=$(prefix)' --set='pike=$(exec_prefix)/pike' \    --set='include_path=$(prefix)/include/pike' \    --set='lib_prefix=$(TMP_LIBDIR)' --set='share_prefix=$(LIBDIR_SRC)' \    --output=pike-module    -@chmod +x pike-module      aclocal: $(SRCDIR)/aclocal.m4    echo >aclocal "define(PIKE_INCLUDE_PATH,$(prefix)/include/pike)"    cat >>aclocal $(SRCDIR)/aclocal.m4    + # 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. + source: $(SRCDIR)/peep_engine.c $(SRCDIR)/case_info.h $(SRCDIR)/treeopt.h $(SRCDIR)/language.c $(SRCDIR)/language.h $(SRCDIR)/interpret_protos.h depend +  touch $(SRCDIR)/language.c $(SRCDIR)/language.h $(SRCDIR)/interpret_protos.h +    # 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 + full_export: source    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:529:    @case " $(CC)" in \    *\ rnt*) \    $(MAKE) $(MAKE_FLAGS) uncompress_header ;\    echo "Compressing..." ;\    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    - 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 || ( mv $(TMP_BUILDDIR)/tpike $(TMP_BUILDDIR)/tpike.bug ; exit 1 ) +  $(RUNTPIKE) 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)/UnicodeData.txt >$(SRCDIR)/case_info.h || ( mv $(TMP_BUILDDIR)/tpike $(TMP_BUILDDIR)/tpike.bug ; exit 1 ) +  $(RUNTPIKE) make_ci.pike <$(SRCDIR)/UnicodeData.txt >$(SRCDIR)/case_info.h || ( rm $(SRCDIR)/case_info.h ; exit 1 )      builtin_functions.o: $(SRCDIR)/case_info.h      builtin_functions_t.o: builtin_functions.c      $(SRCDIR)/treeopt.h: $(TMP_BUILDDIR)/tpike $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike -  $(RUNTPIKE) $(TMP_BINDIR)/mktreeopt.pike $(SRCDIR)/treeopt.in || ( mv $(TMP_BUILDDIR)/tpike $(TMP_BUILDDIR)/tpike.bug ; exit 1 ) +  $(RUNTPIKE) 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:578:   lexer2.h: lexer.h    cp "$(SRCDIR)/lexer.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: $(DEPEND)    gcc -MM -MG $(PREFLAGS) $(SRCDIR)/*.c | $(TMP_BINDIR)/fixdepends.sh $(SRCDIR) -  ( cd modules && $(MAKE) $(MAKE_FLAGS) depend ) -  ( cd post_modules && $(MAKE) $(MAKE_FLAGS) depend ) -  $(SRCDIR)/configure @ac_configure_args@ +  -@(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.$@ +  @for d in modules post_modules; do \ +  ( cd modules && { \ +  rm -f remake; \ +  $(MAKE) $(MAKE_FLAGS) depend || \ +  { test -f remake && $(MAKE) $(MAKE_FLAGS) depend; }; \ +  }); \ +  done      # Documentation...      docs:    mkdir docs      wmml: force    @test -d wmml/. || mkdir wmml    @modules="`cd $(SRCDIR)/modules && ls -d */. | sed -e '/^_.*/d' -e 's/\/\.$$//'`"; \    echo The following modules are interresting:; \
pike.git/src/Makefile.in:647:      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 +  egrep '^OPCODE' <$(SRCDIR)/interpret_functions.h >$(SRCDIR)/interpret_protos.h_src || { rm $(SRCDIR)/interpret_protos.h_src; exit 1; }      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      $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc
pike.git/src/Makefile.in:819:    encode.protos \    object.protos \    error.protos \    opcodes.protos \    version.protos \    builtin.protos      $(HFILES): precompile.sh-stamp      import-stamp: $(HFILES) precompile.sh-stamp -  @./precompile.sh fake_dynamic_load.pike import_functions.tmp $(HFILES) +  @./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@