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.
313
2002/
05
/
31
12
:
32
:
56
mast Exp $
+
# $Id: Makefile.in,v 1.
314
2002/
06
/
01
16
:
34
:
33
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:258:
# 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) -@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
+
# 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 -@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 # purecov cover: $(OBJ) $(POBJ) 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
pike.git/src/Makefile.in:308:
dump_modules: pike master-stamp $(SRCDIR)/dumpmodule.pike args="$(DUMPARGS)"; \ args=$${args:-"--log-file --update-only=dumpversion --report-failed"}; \ $(RUNPIKE) $(SRCDIR)/dumpmodule.pike $$args \ --recursive --target-dir=lib "$(LIBDIR_SRC)/modules" force_dump_modules: -rm dumpversion 2>/dev/null $(MAKE) $(MAKE_FLAGS) dump_modules
-
undump
_modules:
+
delete
_
dumped_
modules:
-find lib -type f -name \*.o | xargs rm -f
-
+
+
undump_modules: delete_dumped_modules
-rm dumpversion 2>/dev/null .SUFFIXES: .c .h .o .cmod .pp .pph .protos .h_src .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 \