4e39361999-11-18Henrik Grubbström (Grubba) # -*- Makefile -*-
6eb1d31999-11-18Henrik Grubbström (Grubba) #
bf4cdf2011-02-14Henrik Grubbström (Grubba) # Start of make_variables.in
6eb1d31999-11-18Henrik Grubbström (Grubba) #
140ce82002-01-27Martin Stjernholm # Note: This template is actually used only for make_variables in the # subdirectories; the one created in the build base dir is just an # unwanted by-product.
6eb1d31999-11-18Henrik Grubbström (Grubba) 
a836882006-06-17Martin Stjernholm # There's magic to propagate variables to subdir configure scripts and # to retain those variables when a subdir is reconfigured # individually: # # Lines beginning with "#propagated_variables:" list such variables. # They are available both as make variables and in the configure # script environment. The PIKE_RETAIN_VARIABLES macro (called through # AC_MODULE_INIT) reads them from the propagated_variables file if it # exists, and assigns them in the environment only if they don't have # any value already. # # Note: The easiest way to force full repropagation is to rerun the # core configure script (e.g. through "make force_configure" in the # top directory). @propagated_variables@
bf4cdf2011-02-14Henrik Grubbström (Grubba) #propagated_variables: CC CXX CPP MOD_LDSHARED AR INSTALL
f41cf42006-06-21Martin Stjernholm #propagated_variables: BASE_CFLAGS BASE_CPPFLAGS CCSHARED BASE_LDFLAGS
a73a4f2016-12-11Henrik Grubbström (Grubba) #propagated_variables: BASE_CXXFLAGS
10b5b82006-06-17Martin Stjernholm #propagated_variables: OPTIMIZE WARN PROFIL
4eac6b2006-06-28Martin Stjernholm #propagated_variables: LDSHARED_MODULE_REQS
535f792006-06-17Martin Stjernholm #propagated_variables: TMP_BUILDDIR TMP_BINDIR PIKE_SRC_DIR BUILD_BASE
9479712006-08-02Martin Stjernholm #propagated_variables: BUILD_PIKE POST_MODULE_BUILD_TYPE
3ed9d02008-03-05Henrik Grubbström (Grubba) #propagated_variables: MT_FIX_MODULE_SO PKG_CONFIG_PATH
a836882006-06-17Martin Stjernholm 
b111821999-11-18Fredrik Hübinette (Hubbe) @SET_MAKE@ prefix=@prefix@ exec_prefix=$(prefix)/bin TMP_LIBDIR=$(TMP_BUILDDIR)/lib
10b5b82006-06-17Martin Stjernholm SRCDIR=@srcdir@
c6f4a82002-01-27Martin Stjernholm 
9479712006-08-02Martin Stjernholm DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/$(BUILD_PIKE) -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
385f542006-08-02Martin Stjernholm FINAL_PIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
c6f4a82002-01-27Martin Stjernholm USE_PIKE=pike $(PIKEOPTS) RUNPIKE=$(@RUNPIKE@)
10b5b82006-06-17Martin Stjernholm DEFINES=@CPPFLAGS@ @DEFS@
a73a4f2016-12-11Henrik Grubbström (Grubba) OTHERFLAGS=$(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL) NOOPTFLAGS=$(OSFLAGS) $(WARN) $(PROFIL)
10b5b82006-06-17Martin Stjernholm 
c6f4a82002-01-27Martin Stjernholm PMOD_TARGETS=@PMOD_TARGETS@
90927d2002-03-06Martin Stjernholm make_variables_in=@make_variables_in@
3db07f2003-05-28Henrik Grubbström (Grubba) MODULE_PMOD_IN=@MODULE_PMOD_IN@
fd0fd72004-04-17Marcus Comstedt MODULE_WRAPPER_PREFIX=@MODULE_WRAPPER_PREFIX@
1345d32003-05-07Henrik Grubbström (Grubba)  MODNAME=@MODULE_NAME@ MODPATH=@MODULE_PATH@ MODDIR=@MODULE_DIR@
a836882006-06-17Martin Stjernholm 
7f2c522008-01-11Henrik Grubbström (Grubba) LIBGCC=@LIBGCC@
a836882006-06-17Martin Stjernholm # End of make_variables.in