Branch: Tag:

2006-08-02

2006-08-02 20:16:38 by Martin Stjernholm <mast@lysator.liu.se>

Implemented a thorough separation of the different build orders necessary to
build static modules (where a tpike is required) and dynamic modules (where
a pike.lib that fits the pike core exe is required with --enable-dll).

tpike is now built and used only when dynamic modules are disabled. Post
modules can no longer affect the link options when the pike binary is built
(something that wouldn't work reliably anyway).

Rev: src/Makefile.in:1.438
Rev: src/configure.in:1.976
Rev: src/make_variables.in:1.26
Rev: src/modules/common_module_makefile.in:1.44
Rev: src/modules/dynamic_module_makefile.in:1.120
Rev: src/modules/static_module_makefile.in:1.104
Rev: src/post_modules/configure.in:1.7
Rev: src/tmodule.c:1.2

1:   # -*- Makefile -*-   # - # $Id: make_variables.in,v 1.25 2006/06/28 21:23:35 mast Exp $ + # $Id: make_variables.in,v 1.26 2006/08/02 20:16:38 mast Exp $   #   # Note: This template is actually used only for make_variables in the   # subdirectories; the one created in the build base dir is just an
26:   #propagated_variables: OPTIMIZE WARN PROFIL   #propagated_variables: LDSHARED_MODULE_REQS   #propagated_variables: TMP_BUILDDIR TMP_BINDIR PIKE_SRC_DIR BUILD_BASE + #propagated_variables: BUILD_PIKE POST_MODULE_BUILD_TYPE      @SET_MAKE@   prefix=@prefix@
33:   TMP_LIBDIR=$(TMP_BUILDDIR)/lib   SRCDIR=@srcdir@    - DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/tpike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) + DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/$(BUILD_PIKE) -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)   USE_PIKE=pike $(PIKEOPTS)   RUNPIKE=$(@RUNPIKE@)