Branch: Tag:

2001-09-01

2001-09-01 21:25:12 by Marcus Comstedt <marcus@mc.pp.se>

Relocatable dumped modules TNG. Fully optional and actually working. :)

Rev: bin/install.pike:1.76
Rev: lib/master.pike.in:1.151
Rev: lib/modules/Calendar.pmod/Events.pmod:1.10
Rev: lib/modules/Calendar.pmod/TZnames.pmod:1.8
Rev: lib/modules/Calendar.pmod/Timezone.pmod:1.18
Rev: src/Makefile.in:1.249
Rev: src/configure.in:1.485
Rev: src/dumpmodule.pike:1.18

1:   # - # $Id: Makefile.in,v 1.248 2001/08/20 16:45:26 grubba Exp $ + # $Id: Makefile.in,v 1.249 2001/09/01 21:25:11 marcus Exp $   #      # This line is needed on some machines.
99:   USE_TPIKE=$(TMP_BUILDDIR)/precompile.sh   USE_PIKE=@PIKE@ $(PIKEOPTS)   RUNTPIKE=$(@RUNTPIKE@) + PIKE_MODULE_RELOC=@PIKE_MODULE_RELOC@      MAKE_FLAGS=   
355:    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \    SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \    man_prefix="$(man_prefix)" pike_name=$(pike_name) \ -  fakeroot="$(buildroot)" +  fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"      install_interactive: pike hilfe pike-module aclocal    @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \    exec_prefix="$(exec_prefix)" prefix=$(prefix) \    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \    SRCDIR="$(SRCDIR)" MANDIR_SRC="$(MANDIR_SRC)" \ -  fakeroot="$(buildroot)" +  fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"      # tidy up a bit   tidy:
425:      tinstall: aclocal master.pike aclocal    -rm -rf test-install -  $(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) pike_name="test-pike" lib_prefix="$(lib_prefix)" TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" SRCDIR="$(SRCDIR)" prefix="./test-install" MANDIR_SRC="$(MANDIR_SRC)" man_prefix="$(man_prefix)" fakeroot="$(buildroot)" +  $(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) pike_name="test-pike" lib_prefix="$(lib_prefix)" TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" SRCDIR="$(SRCDIR)" prefix="./test-install" MANDIR_SRC="$(MANDIR_SRC)" man_prefix="$(man_prefix)" fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"         verify: module_testsuites testsuite tinstall
481:      master.pike: $(LIBDIR_SRC)/master.pike.in Makefile    t="$$PIKE_PATH_TRANSLATE"; if test "x$$t" = "x"; then t=s,x,x,; else :; fi; \ +  if test "x$(PIKE_MODULE_RELOC)" = "x"; then u=s,x,x,; else u='s/^#undef PIKE_MODULE_RELOC/#define PIKE_MODULE_RELOC 1/'; fi; \    sed -e 's!¤lib_prefix¤!'"`echo "$(TMP_LIBDIR)" | sed -e "$$t"`"'!' <$(LIBDIR_SRC)/master.pike.in \ -  | sed -e 's!¤share_prefix¤!'"`echo "$(LIBDIR_SRC)" | sed -e "$$t"`"'!' >master.pike +  | sed -e 's!¤share_prefix¤!'"`echo "$(LIBDIR_SRC)" | sed -e "$$t"`"'!' \ +  | sed -e "$$u" >master.pike      pike-module: $(SRCDIR)/pike-module.in Makefile ./pike    $(RUNPIKE) $(SRCDIR)/pike-module.in --fixate=$(SRCDIR)/pike-module.in \
523:    exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \    SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \ -  man_prefix="$(man_prefix)" pike_name=$(pike_name) +  man_prefix="$(man_prefix)" pike_name=$(pike_name) PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"    @case " $(CC)" in \    *\ rnt*) \    $(MAKE) $(MAKE_FLAGS) uncompress_header ;\