fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # This line is needed on some machines.
@SET_MAKE@
|
a9274a | 2005-12-30 | Martin Nilsson | | # Pike embed target, either libpike.so or libpike.a.
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | PIKE_LIB=@PIKE_LIB@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # Don't change this line. Define EXTRALIBS before this line if you
# wish to add any libraries.
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | LIBS=@LIBS@ $(EXTRALIBS)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
c1e9b1 | 1997-04-06 | Fredrik Hübinette (Hubbe) | | # This is normall the install program in the source directory
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | INSTALL=@INSTALL@
SRCDIR=@srcdir@
VPATH=@srcdir@
# These are used while compiling
|
1a8e14 | 1997-02-27 | Fredrik Hübinette (Hubbe) | | LIBDIR_SRC = @LIBDIR@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | TMP_BINDIR = @BINDIR@
TMP_BUILDDIR = @BUILDDIR@
|
1a8e14 | 1997-02-27 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR = $(TMP_BUILDDIR)/lib
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | # This is used during autodoc extraction.
DOCDIR = @DOCDIR@
|
98a11d | 2002-08-01 | Martin Nilsson | | # These are used during binary exports and installation.
MANDIR_SRC = @MANDIR@
|
0df63c | 2003-11-04 | H. William Welliver III | | DOCDIR_SRC = @DOCDIR@
|
98a11d | 2002-08-01 | Martin Nilsson | | BASEDIR = @BASEDIR@
|
35f7a0 | 2004-12-04 | Henrik Grubbström (Grubba) | | PACKAGINGDIR = $(SRCDIR)/../packaging
|
98a11d | 2002-08-01 | Martin Nilsson | |
|
fdb4d0 | 2002-07-26 | Henrik Grubbström (Grubba) | | # These are used by the files generated by fixdepends.sh
PIKE_SRC_DIR=$(SRCDIR)
BUILD_BASE=
|
14a422 | 2011-03-20 | Henrik Grubbström (Grubba) | | # The precompiler API level used by cmod files in the src root directory.
PRECOMPILER_ARGS=--api=3
|
26f3da | 2000-07-11 | Fredrik Hübinette (Hubbe) | | #
# RPM and package builders, listen up, because this is your only
# documentation! This variable is prepended to the install path.
# Please note that Pike will not work until moved into the proper
# place. -Hubbe
#
buildroot=
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | prefix = @prefix@
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix = @exec_prefix@
bindir = @bindir@
|
2ea193 | 2009-09-26 | Henrik Grubbström (Grubba) | | lib_prefix = @libdir@/pike
|
9defa2 | 1998-04-21 | Henrik Grubbström (Grubba) | | data_prefix = @datadir@
share_prefix = $(data_prefix)/pike
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | man_prefix = @mandir@
include_prefix = @includedir@/pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
21c1f7 | 1999-10-21 | Henrik Grubbström (Grubba) | | # Arguments for test_pike.pike used by the verify targets.
|
450dd9 | 2004-04-23 | Henrik Grubbström (Grubba) | | # TESTARGS = -F -a
|
21c1f7 | 1999-10-21 | Henrik Grubbström (Grubba) | |
|
a17f0f | 2000-04-30 | Henrik Grubbström (Grubba) | | # Arguments for install.pike used by the install targets.
|
a2e490 | 2009-06-01 | Marcus Comstedt | | INSTALLARGS = --new-style
|
a17f0f | 2000-04-30 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
|
1a8e14 | 1997-02-27 | Fredrik Hübinette (Hubbe) | | # use bison please, yacc isn't good enough.
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
YACC=@YACC@
YFLAGS=-d -v
#
|
91006b | 2000-03-21 | Fredrik Hübinette (Hubbe) | | # This may be -pg
#
PROFIL=@PROFIL@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | | #
# OS dependant flags
#
|
3e3543 | 2006-09-29 | Henrik Grubbström (Grubba) | | OSFLAGS=@OSFLAGS@
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
#Enable warnings from the compiler, if wanted.
#
WARN=@WARN@
#add extra defines here
|
a48aec | 2010-05-30 | Martin Stjernholm | | DEFINES=@CPPFLAGS@ -DPIKE_CORE
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# -O should work with all compilers
OPTIMIZE=@OPTIMIZE@
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | # interpret.o can't have -fomit-frame-pointer
INTERPRET_DEOPTIMIZE=@INTERPRET_DEOPTIMIZE@
|
e09c9e | 1999-08-13 | Martin Stjernholm | | # Set to a flag for parallelizing make, e.g. -j2. It's given to make
# at the level where it's most effective.
MAKE_PARALLEL=
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # Preprocessor flags.
|
cbb2be | 2003-02-04 | Martin Stjernholm | | PREFLAGS=-DPIKE_SRC_ROOT="$(BASEDIR)" -I. -I$(SRCDIR) $(DEFINES)
|
e4439c | 1998-09-01 | Fredrik Hübinette (Hubbe) | | OTHERFLAGS=@CFLAGS@ $(OSFLAGS) $(OPTIMIZE) $(WARN) $(PROFIL)
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | | NOOPTFLAGS=@CFLAGS@ @CPPFLAGS@ $(OSFLAGS) $(WARN) $(PROFIL)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | CFLAGS=$(PREFLAGS) $(OTHERFLAGS)
|
902adf | 1998-01-23 | Henrik Grubbström (Grubba) | | SMARTLINK=@SMARTLINK@
REALCC=@REALCC@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | CC=@CC@
|
bf4cdf | 2011-02-14 | Henrik Grubbström (Grubba) | | CXX=@CXX@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | CPP=@CPP@
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | GDB=gdb
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | | CANDLE=@CANDLE@ -nologo
LIGHT=@LIGHT@ -nologo
|
913e36 | 2006-08-04 | Martin Stjernholm | | RCEXE=@RCEXE@
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | |
|
ab46f7 | 2000-08-06 | Henrik Grubbström (Grubba) | | FALLBACK_CC=@FALLBACK_CC@
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | | AR=@AR@
|
080971 | 1998-02-27 | Marcus Comstedt | | LD=@LD@
|
116cf5 | 2008-06-29 | Marcus Agehall | | LINKFORSHARED=@LINKFORSHARED@
LDFLAGS=@LDFLAGS@ $(LINKFORSHARED) $(EXTRALDFLAGS)
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | LDSHARED=@LDSHARED@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
546ce1 | 2006-08-02 | Martin Stjernholm | | DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
USE_TPIKE=$(TMP_BUILDDIR)/precompile.sh
|
c6f4a8 | 2002-01-27 | Martin Stjernholm | | USE_PIKE=pike $(PIKEOPTS)
RUNPIKE=$(@RUNPIKE@)
|
546ce1 | 2006-08-02 | Martin Stjernholm | | RUNTPIKE=$(@RUNTPIKE@)
|
4839dd | 2001-09-02 | Marcus Comstedt | | PIKE_MODULE_RELOC=@PIKE_MODULE_RELOC@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
a92414 | 2002-11-18 | Henrik Grubbström (Grubba) | | # Set to an appropriate invocation of valgrind (or similar)
VALGRIND=@VALGRIND@
|
e040cf | 2002-11-23 | Martin Stjernholm | | VALGRINDARGS=@VALGRINDARGS@
|
a92414 | 2002-11-18 | Henrik Grubbström (Grubba) | |
|
b11182 | 1999-11-18 | Fredrik Hübinette (Hubbe) | | MAKE_FLAGS=
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# Add alloca.o if you don't have alloca() on your machine.
#
|
9eab53 | 2006-02-27 | Martin Stjernholm | | CORE_OBJ= \
|
90c62d | 1997-01-26 | Fredrik Hübinette (Hubbe) | | language.o \
|
fadd1d | 1999-01-21 | Fredrik Hübinette (Hubbe) | | security.o \
|
fda0de | 1999-10-08 | Fredrik Noring | | bignum.o \
|
aad99b | 2001-03-28 | Fredrik Hübinette (Hubbe) | | pike_cpulib.o \
|
d4c021 | 1998-05-05 | Henrik Grubbström (Grubba) | | interpret.o \
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | constants.o \
|
574088 | 1998-01-01 | Fredrik Hübinette (Hubbe) | | cpp.o \
fdlib.o \
|
fc3345 | 1997-10-02 | Fredrik Hübinette (Hubbe) | | cyclic.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | array.o \
backend.o \
callback.o \
|
90c62d | 1997-01-26 | Fredrik Hübinette (Hubbe) | | encode.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | docode.o \
dynamic_buffer.o \
|
ca74dd | 1996-10-08 | Fredrik Hübinette (Hubbe) | | dynamic_load.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | error.o \
fd_control.o \
fsort.o \
gc.o \
hashtable.o \
lex.o \
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | multiset.o \
signal_handler.o \
|
9b1f03 | 2000-10-09 | Fredrik Hübinette (Hubbe) | | pike_search.o \
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | pike_types.o \
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | pike_embed.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | mapping.o \
|
9aa6fa | 1997-05-19 | Fredrik Hübinette (Hubbe) | | pike_memory.o \
|
dfa0b6 | 1997-01-21 | Fredrik Hübinette (Hubbe) | | module_support.o \
|
dd6bca | 2001-07-20 | Henrik Grubbström (Grubba) | | pikecode.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | object.o \
opcodes.o \
operators.o \
|
afc93f | 2010-05-28 | Martin Stjernholm | | pike_float.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | port.o \
program.o \
|
ab5670 | 2001-04-30 | Martin Stjernholm | | rbtree.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | rusage.o \
|
0b8aa5 | 2003-11-14 | Martin Stjernholm | | sscanf.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | stralloc.o \
stuff.o \
|
07513e | 1996-10-04 | Fredrik Hübinette (Hubbe) | | threads.o \
|
6265aa | 1997-01-18 | Fredrik Hübinette (Hubbe) | | version.o \
|
991e5a | 1998-04-28 | Fredrik Hübinette (Hubbe) | | queue.o \
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | | builtin.o \
|
4cdb80 | 2001-02-23 | Fredrik Hübinette (Hubbe) | | iterators.o \
|
528fe1 | 2004-10-23 | Martin Nilsson | | facetgroup.o \
|
8e9464 | 2003-02-20 | Martin Stjernholm | | svalue.o \
las.o \
builtin_functions.o \
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | peep.o @DLOPEN_O@ @EXTRA_OBJS@
|
947971 | 2006-08-02 | Martin Stjernholm | | OBJ=$(CORE_OBJ) @MODULE_O@
|
f3248c | 1996-08-03 | Fredrik Hübinette (Hubbe) | |
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | MODULE_REQUIREMENTS= \
|
8a27d4 | 2006-06-18 | Martin Stjernholm | | headerfiles-stamp \
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | machine.h \
global.h \
|
06e543 | 2001-06-21 | Fredrik Hübinette (Hubbe) | | precompile.sh-stamp \
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | modules/static_module_makefile \
modules/dynamic_module_makefile \
|
ba21aa | 2009-04-25 | Martin Stjernholm | | post_modules/static_module_makefile \
post_modules/dynamic_module_makefile \
|
ee7312 | 2006-07-05 | Martin Stjernholm | | propagated_variables \
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | $(SRCDIR)/language.h \
|
2ecd52 | 2001-01-12 | Martin Stjernholm | | $(SRCDIR)/interpret_protos.h \
|
f67773 | 2001-01-19 | Henrik Grubbström (Grubba) | | lib @EXTRA_MODULE_REQUIREMENTS@
|
ab46f7 | 2000-08-06 | Henrik Grubbström (Grubba) | |
|
c6f4a8 | 2002-01-27 | Martin Stjernholm | | SRC_TARGETS= \
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | | $(SRCDIR)/language.c \
|
c6f4a8 | 2002-01-27 | Martin Stjernholm | | $(SRCDIR)/language.h \
$(SRCDIR)/interpret_protos.h \
|
7626bf | 2002-04-30 | Martin Stjernholm | | $(SRCDIR)/interpret_functions_fixed.h \
|
5f8458 | 2002-03-09 | Martin Stjernholm | | $(SRCDIR)/peep_engine.c \
$(SRCDIR)/case_info.h \
|
652823 | 2010-01-09 | Stephen R. van den Berg | | $(SRCDIR)/whitespace.h \
|
0c308e | 2003-02-20 | Henrik Grubbström (Grubba) | | $(SRCDIR)/treeopt.h @PMOD_TARGETS@
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | |
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
# User callable targets
#
|
e3436f | 2002-04-11 | Martin Stjernholm | | # Update the dumped modules, but only if dump_modules has been used earlier.
|
6a0880 | 2006-06-18 | Martin Stjernholm | | all: module_objects post_module_objects pike-complete-stamp tools
|
47170b | 2006-08-04 | Martin Stjernholm | | @if [ -f dumpversion ]; then \
echo "$(MAKE) $(MAKE_FLAGS) dump_modules"; \
$(MAKE) $(MAKE_FLAGS) dump_modules; \
else :; fi
|
723fdb | 2001-11-26 | Henrik Grubbström (Grubba) | | @if [ "`find . -name '*.fail' -print`" = "" ]; then :; else \
echo; \
echo "Pike compiled and linked ok, but the following file(s) "; \
echo "failed to compile with full optimization.";\
echo "This may affect performance negatively."; \
find . -name '*.fail' -print | sed -e 's/\.fail$$//' -e 's/^/ /'; \
echo; \
fi
|
68e8ab | 1999-11-07 | Per Hedbor | |
|
607ddd | 2004-09-30 | Martin Bähr | | doc: documentation
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | documentation: onepage.xml traditional.xml modref.xml
|
a64c26 | 2003-03-25 | Martin Nilsson | | cd $(DOCDIR) && $(MAKE) $(MAKE_FLAGS) PIKE="$(RUNPIKE)" \
BUILDDIR="$(TMP_BUILDDIR)" $(DOCTARGET)
|
14d624 | 2001-04-21 | Henrik Grubbström (Grubba) | |
|
b69eba | 2006-04-22 | Henrik Grubbström (Grubba) | | # Creation of bundles/include/pike/.
|
8a27d4 | 2006-06-18 | Martin Stjernholm | | headerfiles-stamp: bundles/include/pike machine.h global.h $(SRC_TARGETS) force
|
b69eba | 2006-04-22 | Henrik Grubbström (Grubba) | | @$(MAKE) $(MAKE_FLAGS) headerfiles_low HEADERS="machine.h" HEADERSOURCE="`pwd`"
@$(MAKE) $(MAKE_FLAGS) headerfiles_low HEADERS="`cd $(SRCDIR) && echo *.h`" HEADERSOURCE="$(SRCDIR)"
|
8a27d4 | 2006-06-18 | Martin Stjernholm | | @test -f headerfiles-stamp || echo foo > headerfiles-stamp
|
b69eba | 2006-04-22 | Henrik Grubbström (Grubba) | |
headerfiles_low: force
@for f in $(HEADERS); do \
if [ -h "bundles/include/pike/$$f" ]; then continue; fi; \
if cmp "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" >/dev/null 2>&1 ; then continue; fi; \
rm -f bundles/include/pike/$$f 2>/dev/null; \
echo "Creating bundles/include/pike/$$f"; \
if ln -s "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" && \
ls -L "bundles/include/pike/$$f" >/dev/null 2>&1; then :; else \
echo "Symlink failed."; \
cp "$(HEADERSOURCE)/$$f" "bundles/include/pike/$$f" || exit 1; \
fi; \
|
8a27d4 | 2006-06-18 | Martin Stjernholm | | echo foo > headerfiles-stamp; \
|
b69eba | 2006-04-22 | Henrik Grubbström (Grubba) | | done
bundles/include/pike: bundles/include
test -d bundles/include/pike/. || mkdir bundles/include/pike
bundles/include: bundles
test -d bundles/include/. || mkdir bundles/include
bundles:
test -d bundles/. || mkdir bundles
|
84999f | 1998-08-07 | Henrik Grubbström (Grubba) | | compiler-warnings : clean
@echo Summarizing compiler warnings.
@echo
@if $(MAKE) $(MAKE_FLAGS) all 2>compiler-warnings ; then \
echo; \
echo 'Compilation warning summary:'; \
|
95d313 | 1998-08-07 | Henrik Grubbström (Grubba) | | echo '----------------------------'; \
|
84999f | 1998-08-07 | Henrik Grubbström (Grubba) | | else \
echo; \
echo 'Compilation warning and error summary:'; \
|
95d313 | 1998-08-07 | Henrik Grubbström (Grubba) | | echo '--------------------------------------'; \
|
84999f | 1998-08-07 | Henrik Grubbström (Grubba) | | fi
|
95d313 | 1998-08-07 | Henrik Grubbström (Grubba) | | @echo
|
84999f | 1998-08-07 | Henrik Grubbström (Grubba) | | @cat compiler-warnings
|
95d313 | 1998-08-07 | Henrik Grubbström (Grubba) | | @echo
@echo 'End of summary'
@echo '--------------'
|
84999f | 1998-08-07 | Henrik Grubbström (Grubba) | |
|
1308a8 | 2007-07-31 | H. William Welliver III | | #
# We assume that Pike.framework will be used as an embedded framework within an application bundle.
# if you want to install the framework in a standard location, like /Library/Frameworks, you will
# need to use install_name_tool to change the location. don't blame me, blame dyld.
#
|
93d231 | 2007-01-06 | H. William Welliver III | | framework: OCPikeInterpreter.o $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@
@echo "Linking Pike.framework";\
|
390a5f | 2007-01-24 | H. William Welliver III | | gcc -o Pike OCPikeInterpreter.o $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` -framework Cocoa -dynamiclib -Wl,-single_module \
|
1308a8 | 2007-07-31 | H. William Welliver III | | -undefined dynamic_lookup -mmacosx-version-min=10.4 -current_version 7.7 -install_name @executable_path/../Frameworks/Pike.framework/Pike \
|
93d231 | 2007-01-06 | H. William Welliver III | | -isysroot /Developer/SDKs/MacOSX10.4u.sdk
|
390a5f | 2007-01-24 | H. William Welliver III | | ls -l Pike
if test -x Pike.framework ; then rm -rf Pike.framework; fi
mkdir Pike.framework
mkdir Pike.framework/Versions
|
4cb3e8 | 2007-07-31 | H. William Welliver III | | mkdir Pike.framework/Versions/7.7
mkdir Pike.framework/Versions/7.7/Headers
mkdir Pike.framework/Versions/7.7/Resources
mkdir Pike.framework/Versions/7.7/Resources/lib
mv Pike Pike.framework/Versions/7.7
cd Pike.framework/Versions && ln -s 7.7 Current
|
390a5f | 2007-01-24 | H. William Welliver III | | cd Pike.framework && ln -s Versions/Current/Resources Resources && ln -s Versions/Current/Headers Headers && \
ln -s Versions/Current/Pike Pike
|
4cb3e8 | 2007-07-31 | H. William Welliver III | | cp $(SRCDIR)/*.h Pike.framework/Versions/7.7/Headers
cp *.h Pike.framework/Versions/7.7/Headers
cp $(PACKAGINGDIR)/macosx/framework_Info.plist Pike.framework/Versions/7.7/Resources/Info.plist
MACHINE=`uname -m | tr " " "_"` && mkdir Pike.framework/Versions/7.7/Resources/$$MACHINE && cp -rf lib/* Pike.framework/Versions/7.7/Resources/$$MACHINE
cp -rf $(SRCDIR)/../lib/* Pike.framework/Versions/7.7/Resources/lib
cp master.pike Pike.framework/Versions/7.7/Resources/lib
|
390a5f | 2007-01-24 | H. William Welliver III | | cd Pike.framework && find . -type f -name '*.in' -exec rm -f {} \;
cd Pike.framework && find . -type d -name CVS -prune -exec rm -rf {} \;
|
93d231 | 2007-01-06 | H. William Welliver III | |
|
947971 | 2006-08-02 | Martin Stjernholm | | libpike.so: $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@
|
a9274a | 2005-12-30 | Martin Nilsson | | @echo "Linking libpike.so";\
if $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o libpike.@SO@ \
|
947971 | 2006-08-02 | Martin Stjernholm | | $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | $(LIBS); then \
if test "@SO@" != so ; then mv "module.@SO@" module.so ; \
else :; fi ;\
else \
echo "Linking failed:" >&2; \
|
a9274a | 2005-12-30 | Martin Nilsson | | echo $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o libpike.@SO@ \
|
947971 | 2006-08-02 | Martin Stjernholm | | $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | $(LIBS) >&2 ;\
exit 1; \
fi
# FIXME: Static linked version; this doesn't work yet!
# Since we need to split linker_options into archives and options.
|
947971 | 2006-08-02 | Martin Stjernholm | | libpike.a: $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@
|
a9274a | 2005-12-30 | Martin Nilsson | | -rm -f libpike.a
$(AR) cq libpike.a $(OBJ)
-@RANLIB@ libpike.a
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | |
|
57bbcc | 2006-08-02 | Martin Stjernholm | | # tpike is only used when dynamic modules aren't. It's a pike with no
# post modules linked in which is used during building of the post
# modules.
|
973b71 | 2006-08-04 | Martin Stjernholm | | tpike-real: main.o $(CORE_OBJ) tmodule.o modules/linker_options
|
57bbcc | 2006-08-02 | Martin Stjernholm | | -@rm -f tpike tpike.exe
|
9eab53 | 2006-02-27 | Martin Stjernholm | | $(LD) $(LDFLAGS) main.o $(CORE_OBJ) tmodule.o \
`cat modules/linker_options` \
$(LIBS) -o tpike
|
57bbcc | 2006-08-02 | Martin Stjernholm | | # Only want tpike to exist for use with $(RUNPIKE) in the modules. We
# don't want to require it actually being up-to-date.
|
973b71 | 2006-08-04 | Martin Stjernholm | | tpike: master-stamp
|
57bbcc | 2006-08-02 | Martin Stjernholm | | $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real
|
1ebabb | 2006-06-18 | Martin Stjernholm | |
|
947971 | 2006-08-02 | Martin Stjernholm | | # If we build without dynamic modules then tpike is built first with
# all modules under modules/ linked into it, then tpike is used for
# post_modules source targets, and then pike is linked with both
# modules/ and post_modules/.
#
# If we build with dynamic modules then pike is built first with the
# few always-static modules under modules/, then the dynamic modules
# under modules/ are built, then pike is used for post_modules source
# targets, and then all modules under post_modules/ are built
# dynamically.
#
# This means that a post_module can't be always-static and can't add
# stuff to the pike linkage using LINKER_OPTIONS.
#
|
40cc5a | 2006-08-05 | Martin Stjernholm | | # @LDSHARED_BASE_REQS@ expands to pike.lib if dynamic DLL modules are
# used on NT.
|
913e36 | 2006-08-04 | Martin Stjernholm | | pike pike.lib: main.o $(OBJ) master-stamp pike.syms modules/linker_options @STATIC_POST_MODULES_LINKOPTS@ @PIKE_ICON_RES@
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | -@if [ -f pike.old.exe ] ; then rm -f pike.old.exe || : ; else : ; fi
|
8e8e78 | 2005-01-08 | Henrik Grubbström (Grubba) | | -@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi
-@if [ -f pike.exe ] ; then mv pike.exe pike.old.exe || : ; else : ; fi
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | -@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi
|
d9ea11 | 2004-12-30 | Henrik Grubbström (Grubba) | | # $(LD) $(LDFLAGS) main.o @DLOPEN_O@ -o pike
|
ec337d | 2004-12-29 | Henrik Grubbström (Grubba) | | $(LD) $(LDFLAGS) main.o $(OBJ) \
|
947971 | 2006-08-02 | Martin Stjernholm | | `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \
|
913e36 | 2006-08-04 | Martin Stjernholm | | $(LIBS) @PIKE_ICON_RES@ -o pike
|
d17515 | 2006-08-02 | Martin Stjernholm | | @MT_FIX_PIKE_EXE@
|
5338cd | 2002-06-01 | Martin Stjernholm | | # 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.
|
47170b | 2006-08-04 | Martin Stjernholm | | @if [ -f dumpversion ]; then \
echo "$(MAKE) $(MAKE_FLAGS) delete_dumped_modules"; \
$(MAKE) $(MAKE_FLAGS) delete_dumped_modules; \
else :; fi
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
bb8407 | 2004-01-10 | Henrik Grubbström (Grubba) | | # gcov
gcov:
@for f in `cd "$(SRCDIR)" && find . -type f -name '*.c' -print`; do \
|
64e3de | 2004-01-12 | Henrik Grubbström (Grubba) | | if test -f `echo $$f | sed -e 's/\.$$/.bb/'`; then \
for gf in `gcov $$f | sed -e 's/Creating \(.*\)\.gcov.*/\1.gcov/p' -ed`; do \
echo "Generating $$f-$$gf."; \
test -f "$$f-$$gf" && rm -f "$$f-$$gf"; \
mv "$$gf" "$$f-$$gf"; \
done; \
else \
:; \
fi; \
|
bb8407 | 2004-01-10 | Henrik Grubbström (Grubba) | | done
|
64e3de | 2004-01-12 | Henrik Grubbström (Grubba) | | @echo
@echo "Summary:"
@for f in `find . -name '*.gcov' -print`; do \
|
fdc35a | 2004-01-13 | Henrik Grubbström (Grubba) | | grep '######' $$f | \
grep -v fatal | \
grep -v -i inline | \
grep -v PIKE_MODULE_EXIT | \
egrep -v '######[ ]*{$$' | \
egrep -v '######[ ]*}$$' | \
wc -l | sed -e "s|^|$$f:|" -e 's/:[ ]*/:/' | \
grep -v ':0'; \
|
64e3de | 2004-01-12 | Henrik Grubbström (Grubba) | | done | sort -n -t: -k2
|
bb8407 | 2004-01-10 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # purify
|
8e9464 | 2003-02-20 | Martin Stjernholm | | pure: $(OBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
947971 | 2006-08-02 | Martin Stjernholm | | $(SMARTLINK) purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` $(LIBS) -o pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# purecov
|
8e9464 | 2003-02-20 | Martin Stjernholm | | cover: $(OBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
947971 | 2006-08-02 | Martin Stjernholm | | $(SMARTLINK) purecov purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` $(LIBS) -o pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# quantify
|
8e9464 | 2003-02-20 | Martin Stjernholm | | quant: $(OBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
947971 | 2006-08-02 | Martin Stjernholm | | $(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` $(LIBS) -o pike
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | |
|
80264a | 2004-12-30 | Martin Nilsson | | splint:
splint $(PREFLAGS) -warnposix +charintliteral -realcompare -boolops -predboolint $(FILE)
|
6a0880 | 2006-06-18 | Martin Stjernholm | | atom: pike-complete-stamp
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | atom pike -tool atom -env threads -g -v `find lib/modules -type f -name '*.so' -print | sed -e 's/^/-incobj /g'`
|
c6c712 | 1998-04-08 | Fredrik Hübinette (Hubbe) | | mv pike pike.pre-atom
mv pike.third.threads pike
@echo Make sure you have '.' in your LD_LIBRARY_PATH.
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | pixie: pike-complete-stamp
|
4cb4be | 1998-04-23 | Fredrik Hübinette (Hubbe) | | atom pike -tool pixie -env threads -g -v `find lib/modules -type f -name '*.so' -print | sed -e 's/^/-incobj /g'`
|
5ff0ec | 1998-04-15 | Fredrik Hübinette (Hubbe) | | mv pike pike.pre-pixie
mv pike.pixie.threads pixie
@echo Make sure you have '.' in your LD_LIBRARY_PATH.
|
264727 | 2002-04-07 | Martin Nilsson | | tools: hilfe rsif
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | | hilfe: $(TMP_BINDIR)/hilfe Makefile
|
264727 | 2002-04-07 | Martin Nilsson | | @echo "Creating hilfe..."; \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | ( sed -e 's!/usr/bin/env pike!$(bindir)/pike!' \
|
9c5c6b | 2002-09-05 | Marcus Comstedt | | <$(TMP_BINDIR)/hilfe >./hilfe && chmod 755 ./hilfe) || exit 1 ;
|
264727 | 2002-04-07 | Martin Nilsson | |
rsif: $(TMP_BINDIR)/rsif Makefile
@echo "Creating rsif..."; \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | ( sed -e 's!pike!$(bindir)/pike!' <$(TMP_BINDIR)/rsif \
|
264727 | 2002-04-07 | Martin Nilsson | | >./rsif && chmod 755 ./rsif) || exit 1 ;
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | dump_modules: pike-complete-stamp master-stamp
|
a25fe2 | 2002-09-09 | Martin Stjernholm | | -rm dumpmodule.log
|
e3436f | 2002-04-11 | Martin Stjernholm | | args="$(DUMPARGS)"; \
|
ceacfa | 2002-05-31 | Martin Stjernholm | | args=$${args:-"--log-file --update-only=dumpversion --report-failed"}; \
|
eda59c | 2003-06-03 | Martin Nilsson | | $(RUNPIKE) -x dump $$args \
|
e3436f | 2002-04-11 | Martin Stjernholm | | --recursive --target-dir=lib "$(LIBDIR_SRC)/modules"
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | |
|
67a719 | 2002-03-10 | Martin Stjernholm | | force_dump_modules:
-rm dumpversion 2>/dev/null
$(MAKE) $(MAKE_FLAGS) dump_modules
|
5338cd | 2002-06-01 | Martin Stjernholm | | delete_dumped_modules:
|
a312e5 | 2002-05-01 | Martin Stjernholm | | -find lib -type f -name \*.o | xargs rm -f
|
5338cd | 2002-06-01 | Martin Stjernholm | |
undump_modules: delete_dumped_modules
|
a312e5 | 2002-05-01 | Martin Stjernholm | | -rm dumpversion 2>/dev/null
|
c738b6 | 2003-10-28 | Martin Nilsson | | .SUFFIXES:
|
93d231 | 2007-01-06 | H. William Welliver III | | .SUFFIXES: .c .h .o .m .mmod .cmod .symlist .pp .pph .protos .h_src .wxs .wixobj .msi .msm
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | |
.c.pp:
|
dbecc3 | 2000-10-30 | Henrik Grubbström (Grubba) | | $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \
-DPMOD_PROTO=PMOD_PROTO "$<" >"$@"
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | |
|
8cb549 | 2001-11-12 | Martin Stjernholm | | .c.protos: precompile.sh-stamp
|
c9788b | 2002-03-09 | Martin Stjernholm | | ./precompile.sh --cache fake_dynamic_load.pike >"$@" --cpp --protos \
|
dbecc3 | 2000-10-30 | Henrik Grubbström (Grubba) | | $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \
|
d0f91a | 2001-01-26 | Martin Stjernholm | | -DPMOD_PROTO=PMOD_PROTO -DPIKE_PRECOMPILER=1 "$<" || \
{ rm "$@"; exit 1; }
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | |
.h.pph:
|
dbecc3 | 2000-10-30 | Henrik Grubbström (Grubba) | | $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \
-DPMOD_PROTO=PMOD_PROTO "$<" >"$@"
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | |
|
c1583e | 1999-10-04 | Fredrik Hübinette (Hubbe) | |
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | | # Several optimizers have problems with interpret.c
# First try compiling with optimization and if that doesn't work, without.
|
c1583e | 1999-10-04 | Fredrik Hübinette (Hubbe) | | # GCC dumps core on some files @ OSF1
# This kluge should work around that...
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | # Extra kludge added: interpret.o gets special flags (deoptimization)
|
c1583e | 1999-10-04 | Fredrik Hübinette (Hubbe) | | .c.o:
|
fb3fef | 2006-06-21 | Martin Stjernholm | | @echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | rm -f $@.fail >/dev/null 2>&1; \
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | if test "x$@" = "xinterpret.o"; then EXTRAFLAGS="$(INTERPRET_DEOPTIMIZE)"; else EXTRAFLAGS=; fi; \
if $(CC) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
|
abeefc | 2002-04-30 | Martin Stjernholm | | status=$$?; \
if test x"@noopt_retry@" = xyes ; then \
echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >$@.fail ;\
if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
|
abeefc | 2002-04-30 | Martin Stjernholm | | status=$$?; \
echo "Compilation command was:" >&2;\
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\
|
abeefc | 2002-04-30 | Martin Stjernholm | | exit $$status; \
fi; \
else \
echo "Compilation command was:" >&2;\
|
168c04 | 2003-01-10 | Mirar (Pontus Hagland) | | echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\
|
93d231 | 2007-01-06 | H. William Welliver III | | exit $$status; \
fi; \
fi
.m.o:
@echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \
rm -f $@.fail >/dev/null 2>&1; \
if test "x$@" = "xinterpret.o"; then EXTRAFLAGS="$(INTERPRET_DEOPTIMIZE)"; else EXTRAFLAGS=; fi; \
if $(CC) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@ ; then : ; else \
status=$$?; \
if test x"@noopt_retry@" = xyes ; then \
echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >$@.fail ;\
if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
status=$$?; \
echo "Compilation command was:" >&2;\
echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
exit $$status; \
fi; \
else \
echo "Compilation command was:" >&2;\
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
|
abeefc | 2002-04-30 | Martin Stjernholm | | exit $$status; \
|
79e150 | 2002-04-11 | Martin Stjernholm | | fi; \
|
c1583e | 1999-10-04 | Fredrik Hübinette (Hubbe) | | fi
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | |
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | | #
# 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
#
|
7c61fc | 2002-01-28 | Martin Stjernholm | | .cmod.c: precompile.sh-stamp $(TMP_BINDIR)/precompile.pike
|
14a422 | 2011-03-20 | Henrik Grubbström (Grubba) | | ./precompile.sh --cache precompile.pike $(PRECOMPILER_ARGS) >"$@" "$<" || { rm "$@"; exit 1; }
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | |
|
f6ad6a | 2005-01-03 | Henrik Grubbström (Grubba) | | # The same applies to this.
.symlist.c: precompile.sh-stamp $(SRCDIR)/mklibpike.pike
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | ./precompile.sh --cache $(SRCDIR)/mklibpike.pike -I. -I "$(SRCDIR)" -S "$<" -o "$@" || { rm "$@"; exit 1; }
|
f6ad6a | 2005-01-03 | Henrik Grubbström (Grubba) | |
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | # This rule is used for some header files that are generated from the
|
0a34dc | 2001-01-23 | Martin Stjernholm | | # source, to avoid excessive rebuilding when the source change in ways
# that doesn't affect the header.
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | #
# 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
|
0a34dc | 2001-01-23 | Martin Stjernholm | | # recalculate the dependencies from that. Most make's seems to behave
# like that.
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | .h_src.h:
|
0a34dc | 2001-01-23 | Martin Stjernholm | | @if test -f "$@"; then \
|
c1e41d | 2003-10-13 | Martin Stjernholm | | test -f "$@.nolines" || \
sed -e '/^[ \t]*$$/d;/^[ \t]*#[ \t]*line.*$$/d' < "$@" > "$@.nolines" && \
sed -e '/^[ \t]*$$/d;/^[ \t]*#[ \t]*line.*$$/d' < "$<" > "$<.nolines" && \
cmp -s "$<.nolines" "$@.nolines"; \
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | else \
|
0a34dc | 2001-01-23 | Martin Stjernholm | | false; \
fi || ( \
|
c1e41d | 2003-10-13 | Martin Stjernholm | | rm -f "$@.nolines" 2>/dev/null; \
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | echo "cp $< $@"; \
cp "$<" "$@"; \
|
0a34dc | 2001-01-23 | Martin Stjernholm | | )
|
3a0a53 | 2001-01-13 | Martin Stjernholm | |
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | | .wxs.wixobj:
|
ea426f | 2008-07-16 | Martin Stjernholm | | @if test -f "$@"; then rm -f "$@"; else :; fi # Paranoia
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(CANDLE) "$<" -out "$@" || { rm -f "$@"; exit 1; }
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | |
.wixobj.msm:
@test -d cab_cache || mkdir cab_cache
|
ea426f | 2008-07-16 | Martin Stjernholm | | @if test -f "$@"; then rm -f "$@"; else :; fi # Paranoia
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(LIGHT) "$<" -cc cab_cache -o "$@" || { rm -f "$@"; exit 1; }
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | |
.wixobj.msi:
@test -d cab_cache || mkdir cab_cache
|
ea426f | 2008-07-16 | Martin Stjernholm | | @if test -f "$@"; then rm -f "$@"; else :; fi # Paranoia
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(LIGHT) "$<" -cc cab_cache -o "$@" || { rm -f "$@"; exit 1; }
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | |
|
513f0a | 2004-11-02 | Henrik Grubbström (Grubba) | | Pike_banner.bmp: $(SRCDIR)/make_banner.pike $(SRCDIR)/../refdoc/src_images/pike_logo.gif
$(RUNPIKE) $(SRCDIR)/make_banner.pike $(SRCDIR)/../refdoc/src_images/pike_logo.gif >Pike_banner.bmp || rm Pike_banner.bmp
|
1a3449 | 2006-08-04 | Martin Stjernholm | | UpFldrBtn.ibd: $(PACKAGINGDIR)/windows/UpFldrBtn.ibd
cp "$<" "$@"
NewFldrBtn.ibd: $(PACKAGINGDIR)/windows/NewFldrBtn.ibd
cp "$<" "$@"
|
35f7a0 | 2004-12-04 | Henrik Grubbström (Grubba) | | PikeWin32Installer.vbs: $(PACKAGINGDIR)/windows/installer.vbs
@if [ -f "$@" ] && cmp "$<" "$@" >/dev/null; then \
echo "PikeWin32Installer.vbs is up to date."; \
else \
echo cp '"'"$<"'"' '"'"$@"'"'; \
cp "$<" "$@"; \
fi
Pike_module.msm: PikeWin32Installer.vbs
|
ab0f2d | 2006-08-03 | Martin Stjernholm | | Pike_module.wxs: pike-complete-stamp $(TMP_BINDIR)/install.pike Makefile
|
e7f4bd | 2004-11-08 | Henrik Grubbström (Grubba) | | @no_autodoc="--no-autodoc"; \
if [ -f autodoc.xml ]; then no_autodoc=""; fi; \
$(RUNPIKE) $(TMP_BINDIR)/install.pike --wix-module $$no_autodoc \
|
ab0f2d | 2006-08-03 | Martin Stjernholm | | @INSTALL_EXPORT_ARGS@ \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix="$(bindir)" lib_prefix="$(lib_prefix)" \
|
e7f4bd | 2004-11-08 | Henrik Grubbström (Grubba) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" prefix="$(prefix)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
BASEDIR="$(BASEDIR)" man_prefix="$(man_prefix)" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
e7f4bd | 2004-11-08 | Henrik Grubbström (Grubba) | | pike_name=$(pike_name) PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
8da0d0 | 2006-08-03 | Martin Stjernholm | | Pike.wxs: $(TMP_BINDIR)/install.pike Makefile
|
513f0a | 2004-11-02 | Henrik Grubbström (Grubba) | | @no_autodoc="--no-autodoc"; \
if [ -f autodoc.xml ]; then no_autodoc=""; fi; \
$(RUNPIKE) $(TMP_BINDIR)/install.pike --wix $$no_autodoc \
|
90802b | 2006-08-03 | Martin Stjernholm | | @INSTALL_EXPORT_ARGS@ \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix="$(bindir)" lib_prefix="$(lib_prefix)" \
|
513f0a | 2004-11-02 | Henrik Grubbström (Grubba) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" prefix="$(prefix)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
BASEDIR="$(BASEDIR)" man_prefix="$(man_prefix)" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
513f0a | 2004-11-02 | Henrik Grubbström (Grubba) | | pike_name=$(pike_name) PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
4ecc29 | 2004-11-02 | Henrik Grubbström (Grubba) | |
|
1a3449 | 2006-08-04 | Martin Stjernholm | | Pike.msi: Pike.wixobj Pike_ui.wixobj Pike_module.msm Pike_banner.bmp UpFldrBtn.ibd NewFldrBtn.ibd
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | | @test -d cab_cache || mkdir cab_cache
|
03f1a6 | 2004-11-08 | Henrik Grubbström (Grubba) | | @if test -f Pike.msi; then rm Pike.msi; else :; fi # Paranoia
$(LIGHT) Pike.wixobj Pike_ui.wixobj -o Pike.msi -cc cab_cache
|
c82c73 | 2004-10-20 | Henrik Grubbström (Grubba) | |
|
513f0a | 2004-11-02 | Henrik Grubbström (Grubba) | | wix: Pike.msi
|
4ecc29 | 2004-11-02 | Henrik Grubbström (Grubba) | |
|
4faabe | 2009-09-13 | Peter Bortas | | wix_export: Pike.msi
VER=`$(RUNPIKE) --dumpversion` ;\
cp Pike.msi $(BASEDIR)/Pike-v$(VER)-win32.msi ;\
cp config.info $(BASEDIR)/Pike-v$(VER)-win32.info
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | | force :
|
c1583e | 1999-10-04 | Fredrik Hübinette (Hubbe) | | @:
|
0cd76f | 1998-10-22 | Fredrik Hübinette (Hubbe) | |
|
913e36 | 2006-08-04 | Martin Stjernholm | | pike.ico: $(PACKAGINGDIR)/windows/pike.ico
|
47170b | 2006-08-04 | Martin Stjernholm | | cp "$<" $@
|
913e36 | 2006-08-04 | Martin Stjernholm | |
|
47170b | 2006-08-04 | Martin Stjernholm | | pike_icon.res: pike.ico
|
913e36 | 2006-08-04 | Martin Stjernholm | | echo 'pike ICON pike.ico' > pike_icon.rc
|
47170b | 2006-08-04 | Martin Stjernholm | | $(RCEXE) /fo $@ pike_icon.rc
|
913e36 | 2006-08-04 | Martin Stjernholm | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # install
|
6a0880 | 2006-06-18 | Martin Stjernholm | | install: pike-complete-stamp tools
|
bfcff2 | 2003-10-08 | Martin Stjernholm | | @$(RUNPIKE) $(TMP_BINDIR)/install.pike \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix="$(bindir)" lib_prefix="$(lib_prefix)" \
|
d32be4 | 2009-06-05 | Martin Bähr | | include_prefix="$(include_prefix)" \
|
fadd1d | 1999-01-21 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
|
0df63c | 2003-11-04 | H. William Welliver III | | SRCDIR="$(SRCDIR)" prefix="$(prefix)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
|
26f3da | 2000-07-11 | Fredrik Hübinette (Hubbe) | | man_prefix="$(man_prefix)" pike_name=$(pike_name) \
|
bfcff2 | 2003-10-08 | Martin Stjernholm | | fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
a2e490 | 2009-06-01 | Marcus Comstedt | | $(INSTALLARGS)
|
fadd1d | 1999-01-21 | Fredrik Hübinette (Hubbe) | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | install_interactive: pike-complete-stamp tools
|
18ca1f | 1999-11-11 | Fredrik Hübinette (Hubbe) | | @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix="$(bindir)" prefix=$(prefix) \
|
18ca1f | 1999-11-11 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
|
0df63c | 2003-11-04 | H. William Welliver III | | SRCDIR="$(SRCDIR)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
4839dd | 2001-09-02 | Marcus Comstedt | | fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
18ca1f | 1999-11-11 | Fredrik Hübinette (Hubbe) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # tidy up a bit
tidy:
|
43c551 | 2006-08-02 | Martin Stjernholm | | -rm -f a.out a.out.* *.fail *.pp *.protos core y.output y.tab.c y.tab.h
|
40cc5a | 2006-08-05 | Martin Stjernholm | | -rm -f core core.* *.o *.obj *.i *.i~ dynloadtest* cfl.*
|
5d5f77 | 2006-07-05 | Martin Stjernholm | | -rm -f conftest.* hdrlist.h a.out.exe
|
7479a2 | 2003-11-13 | Martin Stjernholm | | -rm testsuite testsuite.tmp testsuite_test.pike testsuite_test_dir.pmod
|
78ccb5 | 2006-08-04 | Martin Stjernholm | | -rm -f *.wixobj *.wxs Pike_banner.bmp UpFldrBtn.ibd NewFldrBtn.ibd PikeWin32Installer.vbs
|
47170b | 2006-08-04 | Martin Stjernholm | | -rm -f pike.ico pike_icon.rc pike_icon.res
|
5d5f77 | 2006-07-05 | Martin Stjernholm | | -find lib -type f -name \*.o -o -name \*.obj | xargs rm -f
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# make clean
|
7479a2 | 2003-11-13 | Martin Stjernholm | | clean_here: tidy doc_clean
|
332f78 | 2002-11-13 | Martin Nilsson | | -( cd tlib; find . -name testsuite | xargs rm )
|
19ce6b | 2003-12-14 | Martin Nilsson | | -( cd extra_tests; find . -name testsuite | xargs rm )
|
5d5f77 | 2006-07-05 | Martin Stjernholm | | -rm -f confdefs.h
|
43c551 | 2006-08-02 | Martin Stjernholm | | -rm -rf test-install test-pike tpike tpike.* *.pdb
|
7479a2 | 2003-11-13 | Martin Stjernholm | | -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out pike.tmp
-rm -f hilfe rsif master.pike compiler-warnings dumpmodule.log
-rm -f interpreter_debug.h lexer?.h
|
6a0880 | 2006-06-18 | Martin Stjernholm | | -rm -f import-stamp master-stamp headerfiles-stamp
|
947971 | 2006-08-02 | Martin Stjernholm | | -rm -f static-modules-stamp dynamic-modules-stamp post-modules-stamp
|
3e9105 | 2006-08-05 | Martin Stjernholm | | -rm -f post-module-pike-stamp pike-complete-stamp
|
381683 | 2000-09-05 | Martin Stjernholm | | -rm -rf lib/modules/*
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | # -rm -f lib/master.pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
7479a2 | 2003-11-13 | Martin Stjernholm | | clean: clean_here
-( cd modules; $(MAKE) $(MAKE_FLAGS) clean )
-( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean )
|
43c551 | 2006-08-02 | Martin Stjernholm | | clean_pike:
-rm -f pike pike.lib pike.exe pike.exe.manifest pike.exp
# Clean up everything that needs to go if the configure args change.
config_change_clean: clean clean_pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # make _really_ clean
|
43c551 | 2006-08-02 | Martin Stjernholm | | spotless: clean_here clean_pike
|
7479a2 | 2003-11-13 | Martin Stjernholm | | -( cd modules; $(MAKE) $(MAKE_FLAGS) spotless )
-( cd post_modules; $(MAKE) $(MAKE_FLAGS) spotless )
|
3b285d | 1998-08-02 | Henrik Grubbström (Grubba) | | -(cd $(SRCDIR); find . -type f -name '*.h.in' -print) | \
sed -e 's/\.in$$//' | xargs rm -f
|
5d5f77 | 2006-07-05 | Martin Stjernholm | | -rm -f Makefile config.* make_variables specs pike.syms
|
43c551 | 2006-08-02 | Martin Stjernholm | | -rm -f .pure stamp-h
|
7479a2 | 2003-11-13 | Martin Stjernholm | | -rm -f lexical.c mon.out *.ln
|
78ccb5 | 2006-08-04 | Martin Stjernholm | | -rm -f pike pike.exe pike.old pike.old.exe l.outa* num_files_to_install
-rm -f *.msm *.msi
|
7479a2 | 2003-11-13 | Martin Stjernholm | | -rm -f precompile.sh precompile.sh-stamp smartlink
|
19ce6b | 2003-12-14 | Martin Nilsson | | -rm -rf tlib extra_tests lib precompile
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
3b285d | 1998-08-02 | Henrik Grubbström (Grubba) | | distclean: spotless
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | |
|
c94441 | 2010-10-12 | Martin Stjernholm | | # FIXME: Use .gitignore instead.
gitclean: distclean
|
8a046b | 2000-02-22 | Fredrik Hübinette (Hubbe) | | ( for d in `cd $(SRCDIR) && find . -type d -print`; do \
|
2a4950 | 1998-08-02 | Henrik Grubbström (Grubba) | | if test -f "$(SRCDIR)/$$d/.cvsignore" ; then \
(cd "$$d" && rm -f `cat "$(SRCDIR)/$$d/.cvsignore"`); \
(cd "$(SRCDIR)/$$d" && rm -f `cat "$(SRCDIR)/$$d/.cvsignore"`); \
|
83a7a2 | 1998-08-02 | Henrik Grubbström (Grubba) | | else :; fi; \
done)
|
3b285d | 1998-08-02 | Henrik Grubbström (Grubba) | |
|
c94441 | 2010-10-12 | Martin Stjernholm | | cvsclean: gitclean
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # create tags
tags:
ctags *.c
TAGS:
etags -t *.h *.c
# verify / debug
|
8650bd | 2002-12-12 | Martin Nilsson | | testsuites:
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | $(MAKE) $(MAKE_FLAGS) testsuite
|
8a046b | 2000-02-22 | Fredrik Hübinette (Hubbe) | | ( cd modules && $(MAKE) $(MAKE_FLAGS) testsuites )
|
833da2 | 2001-06-28 | Per Hedbor | | ( cd post_modules && $(MAKE) $(MAKE_FLAGS) testsuites )
|
19ce6b | 2003-12-14 | Martin Nilsson | | ( cd $(TMP_BUILDDIR) && $(TMP_BINDIR)/mklibtests.sh \
--srcdir=$(LIBDIR_SRC) \
|
44990d | 2003-08-18 | Martin Stjernholm | | --destdir=tlib --bindir=$(TMP_BINDIR) )
|
19ce6b | 2003-12-14 | Martin Nilsson | | if test -d "$(BASEDIR)/extra_tests" ; then \
(cd "$(TMP_BUILDDIR)" && $(TMP_BINDIR)/mklibtests.sh \
--srcdir="$(BASEDIR)/extra_tests" \
--destdir=extra_tests --bindir=$(TMP_BINDIR) ) ; fi;
|
8d3e03 | 1998-02-27 | Fredrik Hübinette (Hubbe) | |
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | just_verify: testsuites master-stamp
|
450dd9 | 2004-04-23 | Henrik Grubbström (Grubba) | | if test "x$(TESTARGS)" = x ; then args="-F -a -v" ; \
|
5cdb22 | 2003-06-02 | Martin Stjernholm | | else args="$(TESTARGS)" ; fi; \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | $(RUNPIKE) -x test_pike $$args
|
5cdb22 | 2003-06-02 | Martin Stjernholm | |
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | valgrind_just_verify: testsuites master-stamp
|
f7cab1 | 2007-06-17 | Martin Stjernholm | | if test "x$(TESTARGS)" = x ; then args="-a -v" ; \
|
d225b2 | 2002-11-23 | Martin Stjernholm | | else args="$(TESTARGS)" ; fi; \
|
1243a0 | 2007-06-20 | Martin Stjernholm | | $(VALGRIND) $(VALGRINDARGS) $(RUNPIKE) -x test_pike --subproc-start="$(VALGRIND) $(VALGRINDARGS)" $$args
|
394d7d | 1999-04-08 | Fredrik Hübinette (Hubbe) | |
|
cf8434 | 2011-05-19 | Jonas Walldén | | dtrace_probes.h: $(SRCDIR)/dtrace/dtrace_probes.d
dtrace -h -s "$(SRCDIR)/dtrace/dtrace_probes.d" -o "$(TMP_BUILDDIR)/dtrace_probes.h"
|
56f4f4 | 2001-09-18 | Fredrik Hübinette (Hubbe) | | # Testsuite for dynamic loading debugging
test_dlopen: dynloadtest.sh
sh ./dynloadtest.sh
dynloadtest.sh: $(SRCDIR)/test_dynamic_loading.in
|
0f8d8e | 2001-11-08 | Fredrik Hübinette (Hubbe) | | m4 "$(SRCDIR)/test_dynamic_loading.in" >"$@"
|
56f4f4 | 2001-09-18 | Fredrik Hübinette (Hubbe) | |
dynloadtest.c: dynamic_load.c
dynloadtest: dynloadtest.o @EXTRA_OBJS@ fdlib.o port.o
$(LD) $(LDFLAGS) dynloadtest.o @EXTRA_OBJS@ fdlib.o port.o $(LIBS) -o dynloadtest
|
87a322 | 2003-11-07 | Martin Nilsson | | tinstall: master-stamp
|
49b597 | 2000-10-08 | Henrik Grubbström (Grubba) | | -rm -rf test-install
|
de1e40 | 2006-04-22 | Henrik Grubbström (Grubba) | | $(RUNPIKE) $(TMP_BINDIR)/install.pike \
`test -f autodoc.xml || echo --no-autodoc` \
lib_prefix="$(lib_prefix)" \
TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
man_prefix="$(man_prefix)" fakeroot="$(buildroot)" \
PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" pike_name="test-pike" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
de1e40 | 2006-04-22 | Henrik Grubbström (Grubba) | | prefix="./test-install" $(INSTALLARGS)
|
7b1637 | 2001-02-23 | Henrik Grubbström (Grubba) | |
|
87a322 | 2003-11-07 | Martin Nilsson | | just-tinstall: master-stamp
|
de1e40 | 2006-04-22 | Henrik Grubbström (Grubba) | | $(RUNPIKE) $(TMP_BINDIR)/install.pike \
`test -f autodoc.xml || echo --no-autodoc` \
lib_prefix="$(lib_prefix)" \
TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
man_prefix="$(man_prefix)" fakeroot="$(buildroot)" \
PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" pike_name="test-pike" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
de1e40 | 2006-04-22 | Henrik Grubbström (Grubba) | | prefix="./test-install" $(INSTALLARGS)
|
394d7d | 1999-04-08 | Fredrik Hübinette (Hubbe) | |
|
752e10 | 1999-04-30 | Fredrik Hübinette (Hubbe) | |
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | verify: testsuites tinstall
|
27ef02 | 2004-07-04 | Martin Stjernholm | | PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
if test "$(TESTARGS)" = "" ; then args="-F -a -v" ; else \
args="$(TESTARGS)" ; fi; \
if test -f ./test-pike ; then \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \
|
27ef02 | 2004-07-04 | Martin Stjernholm | | else \
|
332c24 | 2005-03-13 | Martin Nilsson | | if test -f some-sprsh-test ; then \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \
|
332c24 | 2005-03-13 | Martin Nilsson | | else \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \
|
332c24 | 2005-03-13 | Martin Nilsson | | fi \
|
27ef02 | 2004-07-04 | Martin Stjernholm | | fi
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | valgrind_verify: testsuites tinstall
|
849c32 | 2001-01-21 | Henrik Grubbström (Grubba) | | PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
|
f7cab1 | 2007-06-17 | Martin Stjernholm | | if test "$(TESTARGS)" = "" ; then args="-a -v" ; else \
|
e815dd | 2002-08-02 | Martin Nilsson | | args="$(TESTARGS)" ; fi; \
|
d5fa6a | 2002-09-24 | Henrik Grubbström (Grubba) | | if test -f ./test-pike ; then \
|
1243a0 | 2007-06-20 | Martin Stjernholm | | $(VALGRIND) $(VALGRINDARGS) ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike --subproc-start="$(VALGRIND) $(VALGRINDARGS)" $$args ; \
|
d5fa6a | 2002-09-24 | Henrik Grubbström (Grubba) | | else \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \
|
d5fa6a | 2002-09-24 | Henrik Grubbström (Grubba) | | fi
|
115ae0 | 1996-09-25 | Fredrik Hübinette (Hubbe) | |
|
f5101e | 2002-12-06 | Martin Nilsson | | bench: tinstall
|
f956b6 | 2002-12-06 | Mirar (Pontus Hagland) | | if test -f ./test-pike ; then \
|
f5101e | 2002-12-06 | Martin Nilsson | | ./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x benchmark; \
|
f956b6 | 2002-12-06 | Mirar (Pontus Hagland) | | else \
|
332c24 | 2005-03-13 | Martin Nilsson | | if test -f some-sprsh-test ; then \
sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x benchmark ; \
else \
`pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKEOPTS) -x benchmark ; \
fi \
|
f956b6 | 2002-12-06 | Mirar (Pontus Hagland) | | fi
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | verify_installed: testsuites master-stamp
|
450dd9 | 2004-04-23 | Henrik Grubbström (Grubba) | | if test "$(TESTARGS)" = "" ; then args="-F -a -v" ; else \
|
e815dd | 2002-08-02 | Martin Nilsson | | args="$(TESTARGS)" ; fi; \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | $(bindir)/pike $(PIKEOPTS) -x test_pike $$args
|
90e978 | 1999-01-31 | Fredrik Hübinette (Hubbe) | |
|
af5647 | 1996-12-03 | Fredrik Hübinette (Hubbe) | | check: verify
|
b298e0 | 1997-04-16 | Fredrik Hübinette (Hubbe) | | sure: verify
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # verify / debug verbose
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | verbose_verify: testsuites master-stamp
|
450dd9 | 2004-04-23 | Henrik Grubbström (Grubba) | | if test "$(TESTARGS)" = "" ; then args="-F -a" ; else args="$(TESTARGS)" ; fi; \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | $(RUNPIKE) -x test_pike -v -v $$args
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# verify & debug VERBOSE
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | gdb_verify: testsuites master-stamp
|
80ef12 | 1997-03-17 | Fredrik Hübinette (Hubbe) | | @echo >.gdbinit handle SIGFPE nostop noprint pass
@echo >>.gdbinit handle SIGUSR1 nostop noprint pass
|
4a8568 | 1998-08-02 | Henrik Grubbström (Grubba) | | @echo >>.gdbinit handle SIGUSR2 nostop noprint pass
|
a1190c | 1999-09-09 | Fredrik Hübinette (Hubbe) | | @echo >>.gdbinit handle SIGLWP nostop noprint pass
|
44917b | 2000-10-13 | Fredrik Hübinette (Hubbe) | | @if kill -l | grep SIGRTMIN >/dev/null ; then \
echo >>.gdbinit handle SIG32 nostop noprint pass ;\
else :; fi
|
8aae6d | 1999-08-19 | Fredrik Hübinette (Hubbe) | | @echo >>.gdbinit break debug_fatal
|
5c6d38 | 2002-09-21 | Martin Stjernholm | | @echo >>.gdbinit break pike_gdb_breakpoint
|
1a701b | 2005-04-09 | Martin Nilsson | | @if test "$(TESTARGS)" = "" ; then args="-a -v -v" ; else \
|
e815dd | 2002-08-02 | Martin Nilsson | | args="$(TESTARGS)" ; fi; \
|
1a701b | 2005-04-09 | Martin Nilsson | | echo >>.gdbinit set args \
-m`echo "$(TMP_BUILDDIR)/master.pike" | ./posix_to_native.sh` \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | $(PIKEOPTS) -x test_pike --no-watchdog $$args
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | $(GDB) $(TMP_BUILDDIR)/pike
|
41a0f4 | 1996-06-09 | Fredrik Hübinette (Hubbe) | | @rm .gdbinit
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
cad3fe | 2004-03-14 | Martin Nilsson | | gdb_hilfe: master.pike
@echo >.gdbinit handle SIGFPE nostop noprint pass
@echo >>.gdbinit handle SIGUSR1 nostop noprint pass
@echo >>.gdbinit handle SIGUSR2 nostop noprint pass
@echo >>.gdbinit handle SIGLWP nostop noprint pass
@if kill -l | grep SIGRTMIN >/dev/null ; then \
echo >>.gdbinit handle SIG32 nostop noprint pass ;\
else :; fi
@echo >>.gdbinit break debug_fatal
@echo >>.gdbinit break pike_gdb_breakpoint
@echo >>.gdbinit set args -m$(TMP_BUILDDIR)/master.pike $$ARGS
|
08b17a | 2006-04-16 | Henrik Grubbström (Grubba) | | $(GDB) $(TMP_BUILDDIR)/pike
|
cad3fe | 2004-03-14 | Martin Nilsson | | @rm .gdbinit
|
2eeada | 2001-10-05 | Mirar (Pontus Hagland) | | # fast test
fast_verify_testsuite: testsuite
PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
|
a0485e | 2005-10-17 | Henrik Grubbström (Grubba) | | if test "$(TESTARGS)" = "" ; then args="-F -a" ; \
else args="$(TESTARGS)" ; fi; \
if test -f ./test-pike ; then \
./test-pike -DNOT_INSTALLED $(PIKEOPTS) -x test_pike $$args ; \
else \
sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED \
$(PIKEOPTS) -x test_pike $$args ; \
fi
|
2eeada | 2001-10-05 | Mirar (Pontus Hagland) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # run hilfe, for interactive testing
|
b944be | 2003-01-19 | Martin Nilsson | | run_hilfe: master.pike
|
882ad4 | 2002-11-03 | Martin Nilsson | | $(RUNPIKE) $(ARGS)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
2c9945 | 2003-08-31 | Martin Nilsson | | valgrind_hilfe: master.pike
$(VALGRIND) $(VALGRINDARGS) $(RUNPIKE) $(ARGS)
|
b298e0 | 1997-04-16 | Fredrik Hübinette (Hubbe) | | feature_list:
|
78e25d | 2008-07-18 | Martin Stjernholm | | $(RUNPIKE) --features
|
b298e0 | 1997-04-16 | Fredrik Hübinette (Hubbe) | |
|
f5101e | 2002-12-06 | Martin Nilsson | | run_bench:
|
3b3392 | 2004-09-18 | Martin Nilsson | | $(RUNPIKE) $(ARGS) -x benchmark $(BENCHARGS)
|
f956b6 | 2002-12-06 | Mirar (Pontus Hagland) | |
|
17eada | 2000-12-02 | Martin Stjernholm | | lib: Makefile
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | | @for d in lib lib/modules lib/include; do \
if [ -d $$d/. ]; then : ; else \
echo "Creating $$d/."; \
(mkdir $$d && chmod u+rwx $$d) || exit 1; \
fi ; \
done
@echo "Done."
-@touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch)
|
1a8e14 | 1997-02-27 | Fredrik Hübinette (Hubbe) | |
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(SRCDIR)/type_checker.c: type_checker-stamp
$(SRCDIR)/type_checker.h: type_checker-stamp
type_checker-stamp: $(SRCDIR)/type_checker.in $(SRCDIR)/make_type_checker.pike
$(RUNPIKE) $(SRCDIR)/make_type_checker.pike "$<" && touch "$@"
|
76b107 | 1998-04-17 | Fredrik Hübinette (Hubbe) | |
|
6ca4de | 1998-07-09 | Henrik Grubbström (Grubba) | | master.pike: $(LIBDIR_SRC)/master.pike.in Makefile
|
7a680f | 2006-08-04 | Martin Stjernholm | | @if test "x$(PIKE_MODULE_RELOC)" = "x"; \
|
aabef3 | 2006-07-18 | Henrik Grubbström (Grubba) | | then u=s,x,x,; \
else u='s/^#undef PIKE_MODULE_RELOC/#define PIKE_MODULE_RELOC 1/'; \
fi; \
|
f00654 | 2009-01-28 | Marcus Agehall | | LC_ALL=C; export LC_ALL; \
|
5667ee | 2009-03-05 | Henrik Grubbström (Grubba) | | cmd="sed -e 's!#lib_prefix#!`echo '$(TMP_LIBDIR)' | ./posix_to_native.sh`!' \
-e 's!#share_prefix#!`echo '$(LIBDIR_SRC)' | ./posix_to_native.sh`!' \
-e 's!#include_prefix#!`echo '$(TMP_BUILDDIR)/bundles/include/pike' | ./posix_to_native.sh`!' \
|
7a680f | 2006-08-04 | Martin Stjernholm | | -e '$$u'"; \
echo "$$cmd <$(LIBDIR_SRC)/master.pike.in >master.pike"; \
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | eval $$cmd <$(LIBDIR_SRC)/master.pike.in >master.pike || { rm "master.pike"; exit 1; }
|
76b107 | 1998-04-17 | Fredrik Hübinette (Hubbe) | |
|
44cd61 | 2001-07-03 | Martin Stjernholm | | # Want master.pike up-to-date, but yet there's no dependency on the
# that file. Works like the .h_src.h target.
master-stamp: master.pike
@test -f master-stamp || echo foo > master-stamp
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | #
# Documentation related stuff.
#
onepage.xml: autodoc.xml $(DOCDIR)/structure/onepage.xml
(cd "$(DOCDIR)" && \
$(RUNPIKE) -x assemble_autodoc structure/onepage.xml \
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(TMP_BUILDDIR)/autodoc.xml) >onepage.xml || { rm "$@"; exit 1; }
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
traditional.xml: autodoc.xml $(DOCDIR)/structure/traditional.xml
( cd "$(DOCDIR)" && \
$(RUNPIKE) -x assemble_autodoc structure/traditional.xml \
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(TMP_BUILDDIR)/autodoc.xml) >traditional.xml || { rm "$@"; exit 1; }
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
modref.xml: autodoc.xml $(DOCDIR)/structure/modref.xml
(cd "$(DOCDIR)" && \
$(RUNPIKE) -x assemble_autodoc structure/modref.xml \
|
307c79 | 2008-09-02 | Henrik Grubbström (Grubba) | | $(TMP_BUILDDIR)/autodoc.xml) >modref.xml || { rm "$@"; exit 1; }
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | autodoc.xml: pike-complete-stamp doc_build/src doc_build/lib doc_build/images images1 images2 force
|
9a8dec | 2003-02-10 | Martin Nilsson | | $(RUNPIKE) -x extract_autodoc -q --srcdir=$(SRCDIR) \
--imgsrc=$(DOCDIR)/src_images --builddir=doc_build/src \
--imgdir=doc_build/images
$(RUNPIKE) -x extract_autodoc -q --srcdir=$(LIBDIR_SRC) \
--imgsrc=$(DOCDIR)/src_images --builddir=doc_build/lib \
--imgdir=doc_build/images
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | $(RUNPIKE) -x join_autodoc --quiet --post-process autodoc.xml doc_build
|
d992cc | 2003-11-08 | Henrik Grubbström (Grubba) | | autodoc-stamp:
|
6d284e | 2004-05-01 | Martin Stjernholm | | @test -f autodoc.xml || $(MAKE) autodoc.xml
|
d992cc | 2003-11-08 | Henrik Grubbström (Grubba) | | @test -f autodoc-stamp || echo foo > autodoc-stamp
|
9be6b5 | 2003-11-05 | Henrik Grubbström (Grubba) | |
|
1cc8fb | 2010-10-19 | Henrik Grubbström (Grubba) | | images1: doc_build/src/post_modules/GTK1/refdoc/images
@cp $(SRCDIR)/post_modules/GTK1/refdoc/images/*.png \
doc_build/src/post_modules/GTK1/refdoc/images/
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
|
31322b | 2006-01-05 | Marcus Comstedt | | images2: doc_build/src/post_modules/GTK2/refdoc/images
@cp $(SRCDIR)/post_modules/GTK2/refdoc/images/*.png \
doc_build/src/post_modules/GTK2/refdoc/images/
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | # Directories
doc_build:
@test -d doc_build || mkdir doc_build
doc_build/src: doc_build
@test -d doc_build/src || mkdir doc_build/src
doc_build/lib: doc_build
@test -d doc_build/lib || mkdir doc_build/lib
doc_build/images: doc_build
@test -d doc_build/images || mkdir doc_build/images
|
5e0ac3 | 2010-11-23 | Per Hedbor | | doc_build/src/post_modules: doc_build/src
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | | @test -d doc_build/src/post_modules || \
mkdir doc_build/src/post_modules
|
5e0ac3 | 2010-11-23 | Per Hedbor | |
doc_build/src/post_modules/GTK1/refdoc/images: doc_build/src/post_modules
|
1cc8fb | 2010-10-19 | Henrik Grubbström (Grubba) | | @test -d doc_build/src/post_modules/GTK1 || \
mkdir doc_build/src/post_modules/GTK1
@test -d doc_build/src/post_modules/GTK1/refdoc || \
mkdir doc_build/src/post_modules/GTK1/refdoc
@test -d doc_build/src/post_modules/GTK1/refdoc/images || \
mkdir doc_build/src/post_modules/GTK1/refdoc/images
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
|
5e0ac3 | 2010-11-23 | Per Hedbor | | doc_build/src/post_modules/GTK2/refdoc/images: doc_build/src/post_modules
|
31322b | 2006-01-05 | Marcus Comstedt | | @test -d doc_build/src/post_modules/GTK2 || \
mkdir doc_build/src/post_modules/GTK2
@test -d doc_build/src/post_modules/GTK2/refdoc || \
mkdir doc_build/src/post_modules/GTK2/refdoc
@test -d doc_build/src/post_modules/GTK2/refdoc/images || \
mkdir doc_build/src/post_modules/GTK2/refdoc/images
|
7479a2 | 2003-11-13 | Martin Stjernholm | | doc_clean:
-rm -f onepage.xml traditional.xml modref.xml autodoc.xml resolution.log
-rm -rf doc_build
|
f5a9c2 | 2003-01-09 | Henrik Grubbström (Grubba) | |
|
d49add | 2001-04-25 | Fredrik Hübinette (Hubbe) | | pike.syms: $(SRCDIR)/interpret.c $(SRCDIR)/interpreter.h $(SRCDIR)/program.c $(SRCDIR)/builtin_functions.c
( cat $(SRCDIR)/*.h *.h | egrep '^[ ]*#[ ]*define[ ][ ]*[a-zA-Z_0-9]*[ ][ ]*[0-9][xabcdefABCDEF0-9]*[ ]*' ; \
echo "#define" `$(CPP) $(PREFLAGS) -DSTEP_BREAK_LINE='STEP_BREAK_LINE __LINE__' $(SRCDIR)/interpreter.h | grep STEP_BREAK_LINE` ) >pike.syms
|
d0f91a | 2001-01-26 | Martin Stjernholm | | # 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.
|
c6f4a8 | 2002-01-27 | Martin Stjernholm | | source: depend
|
61b1c6 | 2003-09-08 | Martin Stjernholm | | if test -f $(SRCDIR)/language.c; then touch $(SRCDIR)/language.c; else :; fi
if test -f $(SRCDIR)/language.h; then touch $(SRCDIR)/language.h; else :; fi
if test -f $(SRCDIR)/interpret_protos.h; then touch $(SRCDIR)/interpret_protos.h; else :; fi
|
d0f91a | 2001-01-26 | Martin Stjernholm | |
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | # make export archive (requires compiled Pike)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # 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.
|
f83832 | 1996-10-09 | Fredrik Hübinette (Hubbe) | |
|
d0f91a | 2001-01-26 | Martin Stjernholm | | full_export: source
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | chmod +x $(SRCDIR)/install-sh
|
040996 | 2002-04-08 | Mikael Brandström | | $(RUNPIKE) $(TMP_BINDIR)/export.pike --srcdir="$(SRCDIR)" \
|
d56769 | 2005-12-04 | Martin Nilsson | | --exportlist="$(SRCDIR)/export_list" --name=Pike-v%maj.%min.%bld \
|
e2fb20 | 2005-12-01 | Martin Nilsson | | --tag $(EXPORTARGS)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
7160d6 | 2002-05-01 | Martin Nilsson | | EXPORT_NAME=Pike-v%maj.%min-%Y%M%D
|
19c8dd | 2002-04-08 | Mikael Brandström | | snapshot_export: source
chmod +x $(SRCDIR)/install-sh
|
040996 | 2002-04-08 | Mikael Brandström | | $(RUNPIKE) $(TMP_BINDIR)/export.pike --srcdir="$(SRCDIR)" \
|
d56769 | 2005-12-04 | Martin Nilsson | | --exportlist="$(SRCDIR)/export_list" --name=$(EXPORT_NAME) \
|
e2fb20 | 2005-12-01 | Martin Nilsson | | $(EXPORTARGS)
|
19c8dd | 2002-04-08 | Mikael Brandström | |
|
8017aa | 2000-04-10 | Fredrik Hübinette (Hubbe) | | export: full_export
|
b83f61 | 2002-09-09 | Marcus Comstedt | | bin_export:
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | @rm -f *.burk
|
7ba898 | 2003-11-08 | Henrik Grubbström (Grubba) | | @no_autodoc="--no-autodoc"; \
if [ -f autodoc.xml ]; then no_autodoc=""; fi; \
|
4a4ff8 | 2003-11-11 | Henrik Grubbström (Grubba) | | $(RUNPIKE) $(TMP_BINDIR)/install.pike --export $$no_autodoc \
|
90802b | 2006-08-03 | Martin Stjernholm | | @INSTALL_EXPORT_ARGS@ \
|
53a2c9 | 2009-09-24 | Henrik Grubbström (Grubba) | | exec_prefix="$(bindir)" lib_prefix="$(lib_prefix)" \
|
99bb2c | 1999-06-09 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
|
0df63c | 2003-11-04 | H. William Welliver III | | SRCDIR="$(SRCDIR)" prefix="$(prefix)" DOCDIR_SRC="$(DOCDIR_SRC)" \
MANDIR_SRC="$(MANDIR_SRC)" \
|
98a11d | 2002-08-01 | Martin Nilsson | | BASEDIR="$(BASEDIR)" man_prefix="$(man_prefix)" \
|
901ce2 | 2008-06-29 | Marcus Agehall | | cflags="@DYNAMIC_MODULE_FLAGS@" ldflags="" \
|
98a11d | 2002-08-01 | Martin Nilsson | | pike_name=$(pike_name) PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | @case " $(CC)" in \
|
8c7ba5 | 2000-12-01 | Henrik Grubbström (Grubba) | | *\ rnt*) \
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | $(MAKE) $(MAKE_FLAGS) uncompress_header ;\
|
ae0f16 | 2000-12-01 | Henrik Grubbström (Grubba) | | echo "Compressing..." ;\
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | filename=`echo *.burk | sed 's@\.burk$$@@g'`.exe ;\
( cat uncompress_header.exe ; gzip -9 -c *.burk ) > $$filename ;\
|
ae0f16 | 2000-12-01 | Henrik Grubbström (Grubba) | | echo "Done." ;\
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | ;; \
esac
|
d0f91a | 2001-01-26 | Martin Stjernholm | | #new_peep_engine:
|
546ce1 | 2006-08-02 | Martin Stjernholm | | # $(RUNTPIKE) $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c
# $(RUNTPIKE) $(TMP_BINDIR)/make_ci.pike <$(SRCDIR)/UnicodeData.txt >$(SRCDIR)/case_info.h
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
8e9464 | 2003-02-20 | Martin Stjernholm | | $(SRCDIR)/peep_engine.c: $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike
./precompile.sh $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c || ( rm $(SRCDIR)/peep_engine.c ; exit 1 )
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
115ae0 | 1996-09-25 | Fredrik Hübinette (Hubbe) | | peep.o: $(SRCDIR)/peep_engine.c
|
d8632c | 1996-05-04 | Fredrik Hübinette (Hubbe) | |
|
652823 | 2010-01-09 | Stephen R. van den Berg | | $(SRCDIR)/whitespace.h: $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/getwhitespace.sh
$(TMP_BINDIR)/getwhitespace.sh >$(SRCDIR)/whitespace.h \
<$(SRCDIR)/UnicodeData.txt
|
8e9464 | 2003-02-20 | Martin Stjernholm | | $(SRCDIR)/case_info.h: $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike
./precompile.sh $(TMP_BINDIR)/make_ci.pike $(SRCDIR)/case_info.h \
|
de4a0c | 2003-02-08 | Henrik Grubbström (Grubba) | | <$(SRCDIR)/UnicodeData.txt
|
94d992 | 1999-03-20 | Henrik Grubbström (Grubba) | |
|
c8eb92 | 2001-06-10 | Henrik Grubbström (Grubba) | | builtin_functions.o: $(SRCDIR)/case_info.h $(SRCDIR)/combine_path.h
|
5b8ea7 | 1999-03-20 | Henrik Grubbström (Grubba) | |
|
8e9464 | 2003-02-20 | Martin Stjernholm | | $(SRCDIR)/treeopt.h: $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike
./precompile.sh $(TMP_BINDIR)/mktreeopt.pike $(SRCDIR)/treeopt.in || ( rm $(SRCDIR)/treeopt.h ; exit 1 )
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | |
las.o: $(SRCDIR)/treeopt.h
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | | # This dependency is here to make sure that lexer[012].h are generated.
|
450dd9 | 2004-04-23 | Henrik Grubbström (Grubba) | | # The reason for the split is that some compilers (read cl) generate
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | | # better code then. Strange, but true.
lex.o: lexer0.h lexer1.h lexer2.h
|
373b29 | 2000-11-30 | Henrik Grubbström (Grubba) | | lex.protos: lexer0.h lexer1.h lexer2.h
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | | lexer0.h: lexer.h
|
d2d110 | 2000-11-27 | Henrik Grubbström (Grubba) | | cp "$(SRCDIR)/lexer.h" "$@"
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | |
lexer1.h: lexer.h
|
d2d110 | 2000-11-27 | Henrik Grubbström (Grubba) | | cp "$(SRCDIR)/lexer.h" "$@"
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | |
lexer2.h: lexer.h
|
d2d110 | 2000-11-27 | Henrik Grubbström (Grubba) | | cp "$(SRCDIR)/lexer.h" "$@"
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | |
|
d49add | 2001-04-25 | Fredrik Hübinette (Hubbe) | |
# unbug needs interpreter_nd.h to be able to
# set separate breakpoints in eval_instruction_with/without_debug
interpreter_debug.h: interpreter.h
cp "$(SRCDIR)/interpreter.h" "$@"
|
7626bf | 2002-04-30 | Martin Stjernholm | | interpret.o: interpreter_debug.h $(SRCDIR)/interpret_functions_fixed.h
|
d49add | 2001-04-25 | Fredrik Hübinette (Hubbe) | |
|
562566 | 1997-04-15 | Fredrik Hübinette (Hubbe) | | # make dependencies
|
8e9464 | 2003-02-20 | Martin Stjernholm | | depend: $(SRC_TARGETS)
|
fdb4d0 | 2002-07-26 | Henrik Grubbström (Grubba) | | gcc -MM -MG $(PREFLAGS) $(SRCDIR)/*.c | $(TMP_BINDIR)/fixdepends.sh "$(SRCDIR)" "$(SRCDIR)" /dev/null
|
d0f91a | 2001-01-26 | Martin Stjernholm | | -@(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.$@
|
5f8458 | 2002-03-09 | Martin Stjernholm | | @( cd modules && { \
rm -f remake; \
$(MAKE) $(MAKE_FLAGS) depend || \
{ test -f remake && $(MAKE) $(MAKE_FLAGS) depend; }; \
})
@if [ "x$(RUNPIKE)" != "x$(DEFAULT_RUNPIKE)" -o -x $(TMP_BUILDDIR)/pike ]; then \
$(MAKE) $(MAKE_FLAGS) post_modules_depend; \
else \
echo "Skipping make depend in post_modules since a fresh pike is"; \
echo "needed to make the autogenerated sources there."; \
:; \
fi
post_modules_depend:
@if [ "x$(RUNPIKE)" != "x$(DEFAULT_RUNPIKE)" -o -x $(TMP_BUILDDIR)/pike ]; then :; \
else $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike; fi
@( cd post_modules && { \
rm -f remake; \
$(MAKE) $(MAKE_FLAGS) depend || \
{ test -f remake && $(MAKE) $(MAKE_FLAGS) depend; }; \
})
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
#
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | # Pike internal targets
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
|
1796d6 | 2000-08-14 | Martin Stjernholm | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | # touch static-modules-stamp here to avoid doing this work again if
# that target is checked later.
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | static_module_objects: $(MODULE_REQUIREMENTS)
@MODULE_BUILD_TYPE=static; \
export MODULE_BUILD_TYPE; \
( cd modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
|
6a0880 | 2006-06-18 | Martin Stjernholm | | @touch static-modules-stamp
|
0a34dc | 2001-01-23 | Martin Stjernholm | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | static-modules-stamp: $(MODULE_REQUIREMENTS)
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | @MODULE_BUILD_TYPE=static; \
export MODULE_BUILD_TYPE; \
( cd modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
|
6a0880 | 2006-06-18 | Martin Stjernholm | | @touch static-modules-stamp
|
0a34dc | 2001-01-23 | Martin Stjernholm | |
|
9e899b | 2006-07-05 | Martin Stjernholm | | dynamic_module_objects: $(MODULE_REQUIREMENTS) @LDSHARED_BASE_REQS@
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | @MODULE_BUILD_TYPE=dynamic; \
export MODULE_BUILD_TYPE; \
( cd modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
|
6a0880 | 2006-06-18 | Martin Stjernholm | | @touch dynamic-modules-stamp
|
9e899b | 2006-07-05 | Martin Stjernholm | | dynamic-modules-stamp: $(MODULE_REQUIREMENTS) @LDSHARED_BASE_REQS@
|
6a0880 | 2006-06-18 | Martin Stjernholm | | @MODULE_BUILD_TYPE=dynamic; \
export MODULE_BUILD_TYPE; \
( cd modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
@touch dynamic-modules-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
# Use submakes here to ensure both correct sequencing and that all
# modules are properly rechecked.
module_objects:
@$(MAKE) $(MAKE_FLAGS) static_module_objects
@$(MAKE) $(MAKE_FLAGS) dynamic_module_objects
|
6a0880 | 2006-06-18 | Martin Stjernholm | | modules/modlist.h: static-modules-stamp
modules/modlist_headers.h: static-modules-stamp
|
0a34dc | 2001-01-23 | Martin Stjernholm | |
|
6a0880 | 2006-06-18 | Martin Stjernholm | | modules/linker_options: static-modules-stamp
|
0a34dc | 2001-01-23 | Martin Stjernholm | |
|
3e9105 | 2006-08-05 | Martin Stjernholm | | post-module-pike-stamp: @BUILD_PIKE@ dynamic-modules-stamp
@touch post-module-pike-stamp
|
0a34dc | 2001-01-23 | Martin Stjernholm | |
|
7d1c1c | 2006-08-04 | Martin Stjernholm | | module.o: modules/modlist_headers.h modules/modlist.h post_modules/modlist_headers.h post_modules/modlist.h
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
9eab53 | 2006-02-27 | Martin Stjernholm | | tmodule.o: modules/modlist_headers.h modules/modlist.h
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | # Backward compat.
post_modules: post_module_objects
|
3e9105 | 2006-08-05 | Martin Stjernholm | | post_module_objects: $(MODULE_REQUIREMENTS) post-module-pike-stamp @LDSHARED_BASE_REQS@
|
947971 | 2006-08-02 | Martin Stjernholm | | @MODULE_BUILD_TYPE=@POST_MODULE_BUILD_TYPE@; \
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | export MODULE_BUILD_TYPE; \
( cd post_modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
|
947971 | 2006-08-02 | Martin Stjernholm | | @touch post-modules-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
|
3e9105 | 2006-08-05 | Martin Stjernholm | | post-modules-stamp: $(MODULE_REQUIREMENTS) post-module-pike-stamp @LDSHARED_BASE_REQS@
|
947971 | 2006-08-02 | Martin Stjernholm | | @MODULE_BUILD_TYPE=@POST_MODULE_BUILD_TYPE@; \
|
a0ad63 | 2006-06-18 | Martin Stjernholm | | export MODULE_BUILD_TYPE; \
( cd post_modules && ( rm remake >/dev/null 2>&1 || : ) && \
( $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) \
) || exit $$?
|
947971 | 2006-08-02 | Martin Stjernholm | | @touch post-modules-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
|
947971 | 2006-08-02 | Martin Stjernholm | | post_modules/modlist_headers.h: post-modules-stamp
|
6a0880 | 2006-06-18 | Martin Stjernholm | |
|
947971 | 2006-08-02 | Martin Stjernholm | | post_modules/modlist.h: post-modules-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
|
947971 | 2006-08-02 | Martin Stjernholm | | post_modules/linker_options: post-modules-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
|
947971 | 2006-08-02 | Martin Stjernholm | | pike-complete-stamp: pike post-modules-stamp
|
6a0880 | 2006-06-18 | Martin Stjernholm | | @touch pike-complete-stamp
|
a0ad63 | 2006-06-18 | Martin Stjernholm | |
|
6ded52 | 2001-07-13 | Henrik Grubbström (Grubba) | | $(SRCDIR)/interpret_protos.h_src: $(SRCDIR)/interpret_functions.h $(SRCDIR)/strip_opcodes
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | $(CPP) $(PREFLAGS) -DGEN_PROTOS $(SRCDIR)/interpret_functions.h | $(SRCDIR)/strip_opcodes >$(SRCDIR)/interpret_protos.h_src || { rm $(SRCDIR)/interpret_protos.h_src; exit 1; }
|
87c759 | 2000-04-18 | Fredrik Hübinette (Hubbe) | |
|
2ecd52 | 2001-01-12 | Martin Stjernholm | | lex.o: $(SRCDIR)/lex.c $(SRCDIR)/interpret_protos.h
|
6e36e5 | 2000-11-30 | Fredrik Hübinette (Hubbe) | |
|
cf8434 | 2011-05-19 | Jonas Walldén | | interpret.o: $(SRCDIR)/lex.c $(SRCDIR)/interpret_protos.h @DTRACE_REQUIREMENTS@
|
2ecd52 | 2001-01-12 | Martin Stjernholm | |
lex_t.o: $(SRCDIR)/lex_t.c $(SRCDIR)/interpret_protos.h
|
ed1a00 | 2000-04-18 | Henrik Grubbström (Grubba) | |
|
97c032 | 1997-01-28 | Fredrik Hübinette (Hubbe) | | language.o: $(SRCDIR)/language.c $(SRCDIR)/object.h $(SRCDIR)/interpret.h $(SRCDIR)/program.h
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
f11de8 | 2005-11-01 | Henrik Grubbström (Grubba) | | $(SRCDIR)/language.c_src $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | @echo "Expect 1 shift/reduce conflict."
|
f11de8 | 2005-11-01 | Henrik Grubbström (Grubba) | | cd $(SRCDIR) && $(YACC) $(YFLAGS) language.yacc
mv $(SRCDIR)/y.tab.c $(SRCDIR)/language.c_src
mv $(SRCDIR)/y.tab.h $(SRCDIR)/language.h_src
|
ab9ab5 | 2004-10-29 | Martin Stjernholm | |
|
f11de8 | 2005-11-01 | Henrik Grubbström (Grubba) | | $(SRCDIR)/language.c: $(SRCDIR)/language.c_src
|
ab9ab5 | 2004-10-29 | Martin Stjernholm | | sed -e 's/YY_COUNT_TYPE/@YY_COUNT_TYPE@/' \
-e 's/YY_FROM_CONST/@YY_FROM_CONST@/' \
|
e9a52f | 2005-02-16 | Henrik Grubbström (Grubba) | | -e 's/short[ ]*int[ ]/\/* short *\/ int /g' \
-e 's/(short[ ]*int)/(\/* short *\/ int)/g' \
|
f11de8 | 2005-11-01 | Henrik Grubbström (Grubba) | | < $(SRCDIR)/language.c_src > $(SRCDIR)/language.c
|
ab9ab5 | 2004-10-29 | Martin Stjernholm | |
|
7626bf | 2002-04-30 | Martin Stjernholm | | $(SRCDIR)/interpret_functions_fixed.h: $(SRCDIR)/interpret_functions.h precompile.sh-stamp
|
c9788b | 2002-03-09 | Martin Stjernholm | | ./precompile.sh --cache make_interpret_functions.pike >"$@" "$(SRCDIR)/interpret_functions.h" || { rm "$@"; exit 1; }
|
f82226 | 2001-07-16 | Fredrik Hübinette (Hubbe) | |
|
b8a604 | 2001-01-19 | Henrik Grubbström (Grubba) | | # UnixWare make needs help to find the source file...
|
652823 | 2010-01-09 | Stephen R. van den Berg | | builtin.o: $(SRCDIR)/builtin.c $(SRCDIR)/whitespace.h
|
b8a604 | 2001-01-19 | Henrik Grubbström (Grubba) | |
|
4cdb80 | 2001-02-23 | Fredrik Hübinette (Hubbe) | | iterators.o: $(SRCDIR)/iterators.c
|
aca4dd | 2001-02-23 | Henrik Grubbström (Grubba) | |
|
528fe1 | 2004-10-23 | Martin Nilsson | | facetgroup.o: $(SRCDIR)/facetgroup.c
|
344c29 | 2001-03-12 | Henrik Grubbström (Grubba) | | backend.o: $(SRCDIR)/backend.c
|
f6ad6a | 2005-01-03 | Henrik Grubbström (Grubba) | | libpike.o: $(SRCDIR)/libpike.c
|
1dcea9 | 1997-04-22 | Fredrik Hübinette (Hubbe) | | # Internal testing target
run_yacc: $(SRCDIR)/language.c
|
a1d364 | 2003-12-07 | Marcus Comstedt | | $(SRCDIR)/configure $(SRCDIR)/stamp-h.in: $(SRCDIR)/configure.in $(SRCDIR)/aclocal.m4 $(SRCDIR)/acconfig.h
cd $(SRCDIR) && ./run_autoconfig --no-recursion .
echo foo > $(SRCDIR)/stamp-h.in
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
f42622 | 2006-07-05 | Martin Stjernholm | | config.status propagated_variables: $(SRCDIR)/configure $(SRCDIR)/make_variables.in
|
ee7312 | 2006-07-05 | Martin Stjernholm | | ./config.status --recheck
@test -f propagated_variables && touch propagated_variables
|
9b8bee | 2003-05-09 | Henrik Grubbström (Grubba) | | modules/common_module_makefile: $(SRCDIR)/modules/common_module_makefile.in config.status
-@(while :; do \
echo foo > cfl.common_module_makefile; test "`echo cfl.*`" = cfl.common_module_makefile && break; \
rm cfl.common_module_makefile; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
arb=17; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
done;)
CONFIG_FILES=modules/common_module_makefile CONFIG_HEADERS="" ./config.status || \
(EXITCODE=$$?; rm cfl.common_module_makefile; exit $$EXITCODE)
-@rm cfl.common_module_makefile
|
ba21aa | 2009-04-25 | Martin Stjernholm | | modules/static_module_makefile post_modules/static_module_makefile: modules/common_module_makefile $(SRCDIR)/modules/static_module_makefile.in config.status
|
9f755f | 2000-10-11 | Martin Stjernholm | | -@(while :; do \
echo foo > cfl.static_module_makefile; test "`echo cfl.*`" = cfl.static_module_makefile && break; \
rm cfl.static_module_makefile; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
|
904241 | 2000-10-17 | Martin Stjernholm | | arb=17; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
|
9f755f | 2000-10-11 | Martin Stjernholm | | done;)
|
ba21aa | 2009-04-25 | Martin Stjernholm | | CONFIG_FILES="modules/static_module_makefile post_modules/static_module_makefile:modules/static_module_makefile.in" CONFIG_HEADERS="" ./config.status || \
|
a843cf | 2000-10-10 | Martin Stjernholm | | (EXITCODE=$$?; rm cfl.static_module_makefile; exit $$EXITCODE)
-@rm cfl.static_module_makefile
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | |
|
ba21aa | 2009-04-25 | Martin Stjernholm | | modules/dynamic_module_makefile post_modules/dynamic_module_makefile: modules/common_module_makefile $(SRCDIR)/@dmmsrc@ config.status
|
9f755f | 2000-10-11 | Martin Stjernholm | | -@(while :; do \
echo foo > cfl.dynamic_module_makefile; test "`echo cfl.*`" = cfl.dynamic_module_makefile && break; \
rm cfl.dynamic_module_makefile; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
|
904241 | 2000-10-17 | Martin Stjernholm | | arb=19; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
|
9f755f | 2000-10-11 | Martin Stjernholm | | done;)
|
ba21aa | 2009-04-25 | Martin Stjernholm | | CONFIG_FILES="modules/dynamic_module_makefile:@dmmsrc@ post_modules/dynamic_module_makefile:@dmmsrc@" CONFIG_HEADERS="" ./config.status || \
|
a843cf | 2000-10-10 | Martin Stjernholm | | (EXITCODE=$$?; rm cfl.dynamic_module_makefile; exit $$EXITCODE)
-@rm cfl.dynamic_module_makefile
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | |
|
6265aa | 1997-01-18 | Fredrik Hübinette (Hubbe) | | Makefile: $(SRCDIR)/Makefile.in $(SRCDIR)/dependencies config.status
|
9f755f | 2000-10-11 | Martin Stjernholm | | -@(while :; do \
echo foo > cfl.$@; test "`echo cfl.*`" = cfl.$@ && break; \
rm cfl.$@; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
|
904241 | 2000-10-17 | Martin Stjernholm | | arb=23; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
|
9f755f | 2000-10-11 | Martin Stjernholm | | done;)
|
a843cf | 2000-10-10 | Martin Stjernholm | | CONFIG_FILES=Makefile CONFIG_HEADERS="" ./config.status || \
(EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE)
-@rm cfl.$@
|
40bb51 | 1999-02-05 | Martin Stjernholm | | touch remake
|
549f8b | 1996-05-02 | Fredrik Hübinette (Hubbe) | | @echo "Run make again"
@exit 1
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | | precompile.sh: $(SRCDIR)/precompile.sh.in ./config.status
|
9f755f | 2000-10-11 | Martin Stjernholm | | -@(while :; do \
echo foo > cfl.$@; test "`echo cfl.*`" = cfl.$@ && break; \
rm cfl.$@; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
|
904241 | 2000-10-17 | Martin Stjernholm | | arb=29; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
|
9f755f | 2000-10-11 | Martin Stjernholm | | done;)
|
a843cf | 2000-10-10 | Martin Stjernholm | | CONFIG_FILES=precompile.sh CONFIG_HEADERS="" ./config.status || \
(EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE)
-@rm cfl.$@
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | |
|
690de6 | 2001-01-23 | Martin Stjernholm | | # A dependency on precompile.sh-stamp only ensures that precompile.sh
# exists, not that it's older than the target. In source dists,
# precompile.sh is almost always newer than the targets that depend on
# it, e.g. builtin.c that comes with the dist.
|
7892b3 | 2002-08-20 | Henrik Grubbström (Grubba) | | #
# The date stamp used to be 0103000070, but that seems to confuse some
# recent OS's, that haven't heard of the 70's...
|
c5465e | 2003-10-09 | Henrik Grubbström (Grubba) | | #
# Note that gnu touch is stupid, and warns about the syntax; thus the
# redirect of stderr.
|
71fb3b | 2009-06-26 | Dan Nelson | | #
# BSD make is stupid, and doesn't restat precompile.sh-stamp and
# recalculate the dependencies after executing the rule, thus the
# recursive use of make.
precompile.sh-stamp:
@if [ -f precompile.sh ]; then :; else $(MAKE) precompile.sh; fi
|
c5465e | 2003-10-09 | Henrik Grubbström (Grubba) | | @touch 0101010185 precompile.sh-stamp 2>/dev/null
|
690de6 | 2001-01-23 | Martin Stjernholm | |
|
97c032 | 1997-01-28 | Fredrik Hübinette (Hubbe) | | $(SRCDIR)/machine.h.in: $(SRCDIR)/stamp-h.in
|
fc085b | 1998-05-29 | Henrik Grubbström (Grubba) | | @if test -f $(SRCDIR)/machine.h.in; then :; else \
|
85222d | 1998-05-29 | Henrik Grubbström (Grubba) | | rm $(SRCDIR)/stamp-h.in; $(MAKE) $(SRCDIR)/stamp-h.in; \
|
fc085b | 1998-05-29 | Henrik Grubbström (Grubba) | | fi
|
563485 | 1999-12-31 | Fredrik Hübinette (Hubbe) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | machine.h: stamp-h
|
aa411b | 1998-05-22 | Henrik Grubbström (Grubba) | | @if test -f machine.h; then :; else \
|
adbb82 | 1998-05-22 | Henrik Grubbström (Grubba) | | rm stamp-h; $(MAKE) stamp-h; \
|
aa411b | 1998-05-22 | Henrik Grubbström (Grubba) | | fi
|
563485 | 1999-12-31 | Fredrik Hübinette (Hubbe) | |
|
fc085b | 1998-05-29 | Henrik Grubbström (Grubba) | | stamp-h: $(SRCDIR)/stamp-h.in $(SRCDIR)/machine.h.in config.status
|
9f755f | 2000-10-11 | Martin Stjernholm | | -@(while :; do \
echo foo > cfl.$@; test "`echo cfl.*`" = cfl.$@ && break; \
rm cfl.$@; echo "Waiting to run config.status serially:" cfl.*; sleep 1; \
|
904241 | 2000-10-17 | Martin Stjernholm | | arb=31; while test $$arb != 0; do arb=`expr $$arb - 1`; done; \
|
9f755f | 2000-10-11 | Martin Stjernholm | | done;)
|
a843cf | 2000-10-10 | Martin Stjernholm | | CONFIG_FILES="" CONFIG_HEADERS=machine.h ./config.status || \
(EXITCODE=$$?; rm cfl.$@; exit $$EXITCODE)
|
6220b6 | 2001-01-22 | Martin Stjernholm | | touch stamp-h
|
a843cf | 2000-10-10 | Martin Stjernholm | | -@rm cfl.$@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
0b3c70 | 2002-05-04 | Martin Stjernholm | | testsuite: $(SRCDIR)/testsuite.in $(TMP_BINDIR)/mktestsuite
|
d4c7ae | 2001-06-11 | Henrik Grubbström (Grubba) | | if test "$$PIKE_PATH_TRANSLATE" = ""; then \
|
5e238c | 2001-06-10 | Henrik Grubbström (Grubba) | | $(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite \
|
53e23e | 2005-03-15 | Martin Nilsson | | -DSRCDIR="`echo $(SRCDIR)|./posix_to_native.sh`"; \
|
5e238c | 2001-06-10 | Henrik Grubbström (Grubba) | | else \
$(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite \
|
53e23e | 2005-03-15 | Martin Nilsson | | -DSRCDIR="`echo $(SRCDIR)|sed -e $$PIKE_PATH_TRANSLATE|./posix_to_native.sh`"; \
|
5e238c | 2001-06-10 | Henrik Grubbström (Grubba) | | fi
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | header_uncompress: $(SRCDIR)/uncompressor.c
|
6f0f77 | 2006-08-03 | Martin Stjernholm | | $(CC) -O2 -static $(SRCDIR)/uncompressor.c -o header_uncompress @UNCOMPRESS_LIBZ@
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | |
uncompress_header: $(SRCDIR)/uncompressor.c header_uncompress
|
6f0f77 | 2006-08-03 | Martin Stjernholm | | $(CC) -O2 -static $(SRCDIR)/uncompressor.c -o uncompress_header @UNCOMPRESS_LIBZ@ -DSEEK_TO=`wc -c header_uncompress|sed 's/[^0-9]//g'`
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | test "`wc -c header_uncompress|sed 's/[^0-9]//g'`" = "`wc -c uncompress_header|sed 's/[^0-9]//g'`"
|
91006b | 2000-03-21 | Fredrik Hübinette (Hubbe) | | HFILES= \
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | operators.protos \
array.protos \
fd_control.protos \
backend.protos \
fdlib.protos \
bignum.protos \
fsort.protos \
pike_memory.protos \
pike_types.protos \
gc.protos \
port.protos \
callback.protos \
hashtable.protos \
program.protos \
interpret.protos \
constants.protos \
language.protos \
queue.protos \
cpp.protos \
rusage.protos \
cyclic.protos \
lex.protos \
security.protos \
signal_handler.protos \
|
689529 | 2000-11-29 | Fredrik Hübinette (Hubbe) | | pike_search.protos \
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | docode.protos \
main.protos \
stralloc.protos \
mapping.protos \
stuff.protos \
dynamic_buffer.protos \
svalue.protos \
dynamic_load.protos \
module_support.protos \
threads.protos \
multiset.protos \
encode.protos \
object.protos \
error.protos \
opcodes.protos \
version.protos \
|
ab5670 | 2001-04-30 | Martin Stjernholm | | builtin.protos \
|
c8f03a | 2002-04-12 | Henrik Grubbström (Grubba) | | iterators.protos \
|
528fe1 | 2004-10-23 | Martin Nilsson | | facetgroup.protos \
|
ab5670 | 2001-04-30 | Martin Stjernholm | | rbtree.protos
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | |
|
690de6 | 2001-01-23 | Martin Stjernholm | | $(HFILES): precompile.sh-stamp
|
9eb008 | 2000-08-02 | Henrik Grubbström (Grubba) | |
|
690de6 | 2001-01-23 | Martin Stjernholm | | import-stamp: $(HFILES) precompile.sh-stamp
|
d0f91a | 2001-01-26 | Martin Stjernholm | | @./precompile.sh fake_dynamic_load.pike >import_functions.tmp $(HFILES)
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | @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
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | |
|
e3436f | 2002-04-11 | Martin Stjernholm | | # Must have manual depends on all the bytecode methods in the code
# dir, since make depend will only include the one that was chosen,
# and that doesn't suffice in source dists.
|
737bde | 2002-04-28 | Martin Stjernholm | | $(SRCDIR)/pikecode.h: \
$(SRCDIR)/code/ia32.h \
|
c47743 | 2006-04-27 | Tor Edvardsson | | $(SRCDIR)/code/amd64.h \
|
737bde | 2002-04-28 | Martin Stjernholm | | $(SRCDIR)/code/sparc.h \
$(SRCDIR)/code/ppc32.h \
|
a00f6f | 2007-04-01 | Marcus Comstedt | | $(SRCDIR)/code/ppc64.h \
|
737bde | 2002-04-28 | Martin Stjernholm | | $(SRCDIR)/code/computedgoto.h \
$(SRCDIR)/code/bytecode.h
touch $(SRCDIR)/pikecode.h
$(SRCDIR)/pikecode.c: \
$(SRCDIR)/code/ia32.c \
|
c47743 | 2006-04-27 | Tor Edvardsson | | $(SRCDIR)/code/amd64.c \
|
737bde | 2002-04-28 | Martin Stjernholm | | $(SRCDIR)/code/sparc.c \
$(SRCDIR)/code/ppc32.c \
|
a00f6f | 2007-04-01 | Marcus Comstedt | | $(SRCDIR)/code/ppc64.c \
|
737bde | 2002-04-28 | Martin Stjernholm | | $(SRCDIR)/code/computedgoto.c \
$(SRCDIR)/code/bytecode.c
touch $(SRCDIR)/pikecode.c
|
e3436f | 2002-04-11 | Martin Stjernholm | |
|
6265aa | 1997-01-18 | Fredrik Hübinette (Hubbe) | | @dependencies@
|