fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | | #
|
dcdb58 | 2002-03-12 | Martin Stjernholm | | # $Id: Makefile.in,v 1.292 2002/03/12 09:27:32 mast Exp $
|
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@
# 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@
|
c6f3ee | 1998-09-29 | Henrik Grubbström (Grubba) | | MANDIR_SRC = $(SRCDIR)/../man
|
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) | |
|
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@
exec_prefix = $(prefix)/bin
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | lib_prefix = $(prefix)/lib/pike
|
9defa2 | 1998-04-21 | Henrik Grubbström (Grubba) | | data_prefix = @datadir@
share_prefix = $(data_prefix)/pike
|
c6f3ee | 1998-09-29 | Henrik Grubbström (Grubba) | | man_prefix = $(prefix)/man
|
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.
|
4414fc | 2000-07-26 | Martin Nilsson | | # TESTARGS = -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.
INSTALLARGS = --new-style
|
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
#
OSFLAGS=
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
#Enable warnings from the compiler, if wanted.
#
WARN=@WARN@
#add extra defines here
|
af5647 | 1996-12-03 | Fredrik Hübinette (Hubbe) | | DEFINES=@CPPFLAGS@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# -O should work with all compilers
OPTIMIZE=@OPTIMIZE@
|
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.
PREFLAGS=-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@
CPP=@CPP@
|
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@
|
6ca4de | 1998-07-09 | Henrik Grubbström (Grubba) | | LDFLAGS=@LDFLAGS@ @LINKFORSHARED@ $(EXTRALDFLAGS)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
67a719 | 2002-03-10 | Martin Stjernholm | | DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)
|
d0f91a | 2001-01-26 | Martin Stjernholm | | USE_TPIKE=$(TMP_BUILDDIR)/precompile.sh
|
c6f4a8 | 2002-01-27 | Martin Stjernholm | | USE_PIKE=pike $(PIKEOPTS)
RUNPIKE=$(@RUNPIKE@)
|
bdbd74 | 2000-08-07 | Henrik Grubbström (Grubba) | | RUNTPIKE=$(@RUNTPIKE@)
|
4839dd | 2001-09-02 | Marcus Comstedt | | PIKE_MODULE_RELOC=@PIKE_MODULE_RELOC@
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
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.
#
|
1796d6 | 2000-08-14 | Martin Stjernholm | | 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 \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | main.o \
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 \
port.o \
program.o \
|
ab5670 | 2001-04-30 | Martin Stjernholm | | rbtree.o \
|
f3bce6 | 1996-06-21 | Fredrik Hübinette (Hubbe) | | rusage.o \
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 \
|
f3248c | 1996-08-03 | Fredrik Hübinette (Hubbe) | | svalue.o @EXTRA_OBJS@
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | MODULE_REQUIREMENTS= \
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 \
$(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 \
@PMOD_TARGETS@
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | |
|
5f8458 | 2002-03-09 | Martin Stjernholm | | TPIKE_TARGETS= \
$(SRCDIR)/peep_engine.c \
$(SRCDIR)/case_info.h \
$(SRCDIR)/treeopt.h \
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | #
# The following objectfiles differ between tpike & pike:
#
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | TOBJ = las_t.o builtin_functions_t.o peep_t.o module_t.o
POBJ = las.o builtin_functions.o peep.o module.o
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | #
# User callable targets
#
|
d0f91a | 2001-01-26 | Martin Stjernholm | | # Since post_modules might be static, we must remake pike after them
# to make sure they are linked in.
all: module_objects hilfe
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) post_modules
|
68e8ab | 1999-11-07 | Per Hedbor | | $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike
|
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 | |
|
67a719 | 2002-03-10 | Martin Stjernholm | | documentation: pike dump_modules
cd $(SRCDIR)/../refdoc && $(MAKE) $(MAKE_FLAGS) PIKE="$(RUNPIKE)" $(DOCTARGET)
|
14d624 | 2001-04-21 | Henrik Grubbström (Grubba) | |
|
d0f91a | 2001-01-26 | Martin Stjernholm | | post_modules: pike
|
68e8ab | 1999-11-07 | Per Hedbor | | @( cd post_modules ; rm remake >/dev/null 2>&1 || : ; \
$(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | post_modules/modlist_headers.h:
|
19cacd | 2001-02-01 | Henrik Grubbström (Grubba) | | @test -f post_modules/modlist_headers.h || touch post_modules/modlist_headers.h
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | |
post_modules/modlist.h:
|
19cacd | 2001-02-01 | Henrik Grubbström (Grubba) | | @test -f post_modules/modlist.h || touch post_modules/modlist.h
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | |
post_modules/linker_options:
|
19cacd | 2001-02-01 | Henrik Grubbström (Grubba) | | @test -f post_modules/linker_options || touch post_modules/linker_options
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | |
|
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) | |
|
5f8458 | 2002-03-09 | Martin Stjernholm | | tpike-real: $(SRC_TARGETS) $(OBJ) $(TOBJ) modules/linker_options
|
e7126e | 1999-11-08 | Henrik Grubbström (Grubba) | | -@rm -f tpike || :
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | $(LD) $(LDFLAGS) $(OBJ) $(TOBJ) `cat modules/linker_options` $(LIBS) -o tpike
|
0491be | 1999-11-24 | Martin Stjernholm | | # Only want tpike to exist when using $(RUNTPIKE); we don't want to
# require it actually being up-to-date.
|
d0f91a | 2001-01-26 | Martin Stjernholm | | #
# If RUNPIKE has been overridden we don't bother to build tpike. The
# precompile.sh script will then fall back to use RUNPIKE when it
# doesn't find tpike, and we assume that RUNPIKE doesn't point to a
# pike from the stone age.
$(TMP_BUILDDIR)/tpike: precompile.sh-stamp
@if test "x$(RUNPIKE)" = "x$(DEFAULT_RUNPIKE)"; then \
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real; \
else :; fi
|
0491be | 1999-11-24 | Martin Stjernholm | |
# Make $(POBJ)s with a recursive make instead of depending on them.
# This way, we make sure that all other objects shared with tpike are
# up-to-date first. So if the $(POBJ)s, which depend on tpike, trigs
# the recursive make of tpike-real above, that one will never start to
|
bca195 | 1999-11-26 | Martin Stjernholm | | # make the $(OBJ)s concurrently with this one. stamp-tpike-predep
# records the $(POBJ) dependencies without tpike.
|
44cd61 | 2001-07-03 | Martin Stjernholm | | pike: $(OBJ) master-stamp pike.syms modules/linker_options stamp-tpike-predep post_modules/linker_options
|
0491be | 1999-11-24 | Martin Stjernholm | | $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) $(POBJ)
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | -@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi
-@if [ -f pike.old.exe ] ; then rm -f pike.old.exe || : ; else : ; fi
-@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | $(LD) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# purify
|
44cd61 | 2001-07-03 | Martin Stjernholm | | pure: $(OBJ) $(POBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | $(SMARTLINK) purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# purecov
|
44cd61 | 2001-07-03 | Martin Stjernholm | | cover: $(OBJ) $(POBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | $(SMARTLINK) purecov purify -max-threads=128 -thread_stack_change=8192 -free-queue-length=500 -inuse-at-exit=yes -chain-length=12 $(REALCC) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# quantify
|
44cd61 | 2001-07-03 | Martin Stjernholm | | quant: $(OBJ) $(POBJ) master-stamp module_objects
|
d0a564 | 1997-10-15 | Henrik Grubbström (Grubba) | | -@mv pike pike.old 2>/dev/null || true
|
f17308 | 2001-02-01 | Fredrik Hübinette (Hubbe) | | $(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike
|
1a5be1 | 1997-11-03 | Henrik Grubbström (Grubba) | |
|
c6c712 | 1998-04-08 | Fredrik Hübinette (Hubbe) | | atom: pike
|
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) | |
|
5ff0ec | 1998-04-15 | Fredrik Hübinette (Hubbe) | | pixie: pike
|
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.
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | | hilfe: $(TMP_BINDIR)/hilfe Makefile
@echo "Creating ./hilfe..."; \
if [ "$(exec_prefix)" != "/usr/local/bin" -a \
"$(exec_prefix)" != "/usr/local/bin/" ]; then \
( sed -e 's!/usr/local/bin!$(exec_prefix)!' <$(TMP_BINDIR)/hilfe \
>./hilfe && chmod 755 ./hilfe) || exit 1 ; \
else \
|
f38044 | 1998-05-17 | Henrik Grubbström (Grubba) | | $(INSTALL) $(TMP_BINDIR)/hilfe `pwd`/hilfe || exit 1; \
|
fccd4c | 1998-03-28 | Henrik Grubbström (Grubba) | | fi
@echo "Done."
|
5933bb | 2002-03-08 | Martin Stjernholm | | dump_modules: pike master-stamp $(SRCDIR)/dumpmodule.pike
|
dcdb58 | 2002-03-12 | Martin Stjernholm | | if [ "x$(DUMPARGS)" = x ] ; then args="--log-file --update-only=dumpversion --report-failed" ; else args="$(DUMPARGS)" ; fi; \
$(RUNPIKE) $(SRCDIR)/dumpmodule.pike $$args --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
|
4d51d6 | 2001-11-08 | Martin Nilsson | | .SUFFIXES: .c .h .o .cmod .pp .pph .protos .h_src
|
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...
# FIXME: Make this a configure option
.c.o:
@echo "Compiling $<" ;\
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | rm -f $@.fail >/dev/null 2>&1; \
|
ab46f7 | 2000-08-06 | Henrik Grubbström (Grubba) | | if $(CC) $(CFLAGS) -c $< -o $@ ; then : ; else \
|
a79ff5 | 2001-01-23 | Martin Stjernholm | | echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\
echo "$(CC) $(PREFLAGS) $(CFLAGS) -c $< -o $@" >$@.fail ;\
|
a79ff5 | 2001-01-23 | Martin Stjernholm | | NO_ULIMIT=yes; \
export NO_ULIMIT; \
if $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ; then : ; else \
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | exit $$?; \
|
a79ff5 | 2001-01-23 | 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
|
c9788b | 2002-03-09 | Martin Stjernholm | | ./precompile.sh --cache precompile.pike >"$@" "$<" || { rm "$@"; exit 1; }
|
3a5b1d | 2000-05-24 | Fredrik Hübinette (Hubbe) | |
|
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 \
cmp -s "$<" "$@"; \
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | else \
|
0a34dc | 2001-01-23 | Martin Stjernholm | | false; \
fi || ( \
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | echo "cp $< $@"; \
cp "$<" "$@"; \
|
0a34dc | 2001-01-23 | Martin Stjernholm | | )
|
3a0a53 | 2001-01-13 | Martin Stjernholm | |
|
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) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # install
|
40bb51 | 1999-02-05 | Martin Stjernholm | | install: pike hilfe pike-module aclocal
|
a17f0f | 2000-04-30 | Henrik Grubbström (Grubba) | | @$(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) \
|
c37c7e | 1999-03-26 | Fredrik Hübinette (Hubbe) | | exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \
|
fadd1d | 1999-01-21 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \
|
26f3da | 2000-07-11 | Fredrik Hübinette (Hubbe) | | man_prefix="$(man_prefix)" pike_name=$(pike_name) \
|
4839dd | 2001-09-02 | Marcus Comstedt | | fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
fadd1d | 1999-01-21 | Fredrik Hübinette (Hubbe) | |
|
18ca1f | 1999-11-11 | Fredrik Hübinette (Hubbe) | | install_interactive: pike hilfe pike-module aclocal
@$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | exec_prefix="$(exec_prefix)" prefix=$(prefix) \
|
18ca1f | 1999-11-11 | Fredrik Hübinette (Hubbe) | | TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
|
26f3da | 2000-07-11 | Fredrik Hübinette (Hubbe) | | SRCDIR="$(SRCDIR)" MANDIR_SRC="$(MANDIR_SRC)" \
|
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:
|
610d05 | 2001-07-06 | Henrik Grubbström (Grubba) | | -rm -f *.fail *.o *.obj *.pp *.protos core y.output y.tab.c y.tab.h
|
56f4f4 | 2001-09-18 | Fredrik Hübinette (Hubbe) | | -rm -f $(TMP_BINDIR)/core *.o *.i *.i~ testsuite dynloadtest*
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# make clean
clean: tidy
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | -( cd modules; $(MAKE) $(MAKE_FLAGS) clean )
|
563485 | 1999-12-31 | Fredrik Hübinette (Hubbe) | | -( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean )
|
bca195 | 1999-11-26 | Martin Stjernholm | | -rm -rf test-install test-pike
|
394d7d | 1999-04-08 | Fredrik Hübinette (Hubbe) | | -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out
-rm -f hilfe master.pike compiler-warnings
|
44cd61 | 2001-07-03 | Martin Stjernholm | | -rm -f tpike stamp-tpike-predep import-stamp modules-stamp master-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) | |
# make _really_ clean
spotless: clean
|
3b285d | 1998-08-02 | Henrik Grubbström (Grubba) | | -(cd $(SRCDIR); find . -type f -name '*.h.in' -print) | \
sed -e 's/\.in$$//' | xargs rm -f
find . -type f '(' -name 'Makefile' -o -name '*~' -o -name '.*~' -o \
-name core -o -name '.nfs*' -name '#*#' -o -name '.pure' -o \
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | -name 'conftest.*' -o -name 'stamp-h' ')' -exec rm -f \{\} \;
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | -rm -f lexical.c mon.out *.ln config.status
|
623c2a | 1998-08-02 | Henrik Grubbström (Grubba) | | -rm -f $(TMP_BINDIR)/*~ $(TMP_BINDIR)/\#*\#
|
334e3d | 1997-04-16 | Fredrik Hübinette (Hubbe) | | -rm -f pike pike.old l.outa*
|
e5bb7d | 1996-09-23 | Fredrik Hübinette (Hubbe) | | -rm -f modules/*/testsuite
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | -rm -f modules/static_module_makefile modules/dynamic_module_makefile
|
690de6 | 2001-01-23 | Martin Stjernholm | | -rm -f precompile.sh precompile.sh-stamp
|
334e3d | 1997-04-16 | Fredrik Hübinette (Hubbe) | | -rm -rf lib
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
3b285d | 1998-08-02 | Henrik Grubbström (Grubba) | | distclean: spotless
find . -type f '(' -name 'config.log' -o -name 'config.status' -o \
|
2a34ce | 1998-08-02 | Henrik Grubbström (Grubba) | | -name 'config.cache' ')' -exec rm -f \{\} \;
cvsclean: 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) | |
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # create tags
tags:
ctags *.c
TAGS:
etags -t *.h *.c
# verify / debug
|
8d3e03 | 1998-02-27 | Fredrik Hübinette (Hubbe) | | module_testsuites:
|
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 )
|
8d3e03 | 1998-02-27 | Fredrik Hübinette (Hubbe) | |
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | just_verify: module_testsuites testsuite master-stamp
|
dcdb58 | 2002-03-12 | Martin Stjernholm | | if test "x$(TESTARGS)" = x ; then args="-a" ; else args="$(TESTARGS)" ; fi; \
|
b4df33 | 1999-10-16 | Martin Stjernholm | | $(RUNPIKE) $(TMP_BINDIR)/test_pike.pike $$args
|
394d7d | 1999-04-08 | Fredrik Hübinette (Hubbe) | |
|
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
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | tinstall: aclocal master-stamp aclocal
|
49b597 | 2000-10-08 | Henrik Grubbström (Grubba) | | -rm -rf test-install
|
4839dd | 2001-09-02 | Marcus Comstedt | | $(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) pike_name="test-pike" lib_prefix="$(lib_prefix)" TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" SRCDIR="$(SRCDIR)" prefix="./test-install" MANDIR_SRC="$(MANDIR_SRC)" man_prefix="$(man_prefix)" fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
7b1637 | 2001-02-23 | Henrik Grubbström (Grubba) | |
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | just-tinstall: aclocal master-stamp aclocal
|
4839dd | 2001-09-02 | Marcus Comstedt | | $(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) pike_name="test-pike" lib_prefix="$(lib_prefix)" TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" SRCDIR="$(SRCDIR)" prefix="./test-install" MANDIR_SRC="$(MANDIR_SRC)" man_prefix="$(man_prefix)" fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"
|
394d7d | 1999-04-08 | Fredrik Hübinette (Hubbe) | |
|
752e10 | 1999-04-30 | Fredrik Hübinette (Hubbe) | |
verify: module_testsuites testsuite tinstall
|
849c32 | 2001-01-21 | Henrik Grubbström (Grubba) | | PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
|
1a783f | 1999-08-11 | Martin Stjernholm | | if test "$(TESTARGS)" = "" ; then args="-a" ; else args="$(TESTARGS)" ; fi; \
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | if test -f ./test-pike ; then ./test-pike -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; else sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKE_OPTS) $(TMP_BINDIR)/test_pike.pike $$args ; fi
|
115ae0 | 1996-09-25 | Fredrik Hübinette (Hubbe) | |
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | verify_installed: module_testsuites testsuite master-stamp
|
1a783f | 1999-08-11 | Martin Stjernholm | | if test "$(TESTARGS)" = "" ; then args="-a" ; else args="$(TESTARGS)" ; fi; \
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | $(exec_prefix)/pike $(PIKEOPTS) $(TMP_BINDIR)/test_pike.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
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | verbose_verify: module_testsuites testsuite master-stamp
|
94d396 | 1999-10-27 | Henrik Grubbström (Grubba) | | if test "$(TESTARGS)" = "" ; then args="-a" ; else args="$(TESTARGS)" ; fi; \
|
1a783f | 1999-08-11 | Martin Stjernholm | | $(RUNPIKE) $(TMP_BINDIR)/test_pike.pike --verbose $$args
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
# verify & debug VERBOSE
|
177f51 | 2001-07-03 | Fredrik Hübinette (Hubbe) | | gdb_verify: module_testsuites testsuite 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
|
a2123e | 2001-12-09 | Martin Stjernholm | | @if test "$(TESTARGS)" = "" ; then args="-a -v -v" ; else args="$(TESTARGS)" ; fi; \
echo >>.gdbinit run -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike --no-watchdog $$args
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | gdb ./pike
|
41a0f4 | 1996-06-09 | Fredrik Hübinette (Hubbe) | | @rm .gdbinit
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
2eeada | 2001-10-05 | Mirar (Pontus Hagland) | | # fast test
fast_verify_testsuite: testsuite
PIKE_MODULE_PATH=""; PIKE_INCLUDE_PATH=""; \
if test "$(TESTARGS)" = "" ; then args="-a" ; else args="$(TESTARGS)" ; fi; \
if test -f ./test-pike ; then ./test-pike -DNOT_INSTALLED $(PIKEOPTS) $(TMP_BINDIR)/test_pike.pike $$args ; else sprsh `pwd`/test-install/pike/*/bin/pike.exe -DNOT_INSTALLED $(PIKE_OPTS) $(TMP_BINDIR)/test_pike.pike $$args ; fi
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | # run hilfe, for interactive testing
run_hilfe:
|
06983f | 1996-09-22 | Fredrik Hübinette (Hubbe) | | $(RUNPIKE) $(TMP_BINDIR)/hilfe
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
b298e0 | 1997-04-16 | Fredrik Hübinette (Hubbe) | | feature_list:
$(RUNPIKE) $(TMP_BINDIR)/feature_list
|
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) | |
|
76b107 | 1998-04-17 | Fredrik Hübinette (Hubbe) | |
|
6ca4de | 1998-07-09 | Henrik Grubbström (Grubba) | | master.pike: $(LIBDIR_SRC)/master.pike.in Makefile
|
6d4137 | 2000-02-05 | Marcus Comstedt | | t="$$PIKE_PATH_TRANSLATE"; if test "x$$t" = "x"; then t=s,x,x,; else :; fi; \
|
4839dd | 2001-09-02 | Marcus Comstedt | | if test "x$(PIKE_MODULE_RELOC)" = "x"; then u=s,x,x,; else u='s/^#undef PIKE_MODULE_RELOC/#define PIKE_MODULE_RELOC 1/'; fi; \
|
808445 | 2000-12-19 | Marcus Comstedt | | sed -e 's!¤lib_prefix¤!'"`echo "$(TMP_LIBDIR)" | sed -e "$$t"`"'!' <$(LIBDIR_SRC)/master.pike.in \
|
4839dd | 2001-09-02 | Marcus Comstedt | | | sed -e 's!¤share_prefix¤!'"`echo "$(LIBDIR_SRC)" | sed -e "$$t"`"'!' \
| sed -e "$$u" >master.pike
|
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
|
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
|
e26981 | 1998-09-20 | Fredrik Hübinette (Hubbe) | | pike-module: $(SRCDIR)/pike-module.in Makefile ./pike
$(RUNPIKE) $(SRCDIR)/pike-module.in --fixate=$(SRCDIR)/pike-module.in \
--set='make=$(MAKE)' --set='make_flags=$(MAKE_FLAGS)' \
--set='prefix=$(prefix)' --set='pike=$(exec_prefix)/pike' \
--set='include_path=$(prefix)/include/pike' \
--set='lib_prefix=$(TMP_LIBDIR)' --set='share_prefix=$(LIBDIR_SRC)' \
--output=pike-module
-@chmod +x pike-module
aclocal: $(SRCDIR)/aclocal.m4
echo >aclocal "define(PIKE_INCLUDE_PATH,$(prefix)/include/pike)"
cat >>aclocal $(SRCDIR)/aclocal.m4
|
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
|
d0f91a | 2001-01-26 | Martin Stjernholm | | touch $(SRCDIR)/language.c $(SRCDIR)/language.h $(SRCDIR)/interpret_protos.h
|
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) | |
|
2f08b3 | 2002-02-03 | Martin Nilsson | | small_export: source
chmod +x $(SRCDIR)/install-sh
$(RUNPIKE) $(TMP_BINDIR)/export.pike --srcdir="$(SRCDIR)" --notag
|
d0f91a | 2001-01-26 | Martin Stjernholm | | full_export: source
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | chmod +x $(SRCDIR)/install-sh
|
503bcf | 1999-09-08 | Fredrik Hübinette (Hubbe) | | $(RUNPIKE) $(TMP_BINDIR)/export.pike --srcdir="$(SRCDIR)"
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
8017aa | 2000-04-10 | Fredrik Hübinette (Hubbe) | | export: full_export
|
76b107 | 1998-04-17 | Fredrik Hübinette (Hubbe) | | all_exports: full_export
|
8a046b | 2000-02-22 | Fredrik Hübinette (Hubbe) | | ( cd .. && $(TMP_BINDIR)/makedists )
|
76b107 | 1998-04-17 | Fredrik Hübinette (Hubbe) | |
|
2dd4b2 | 1999-08-24 | Fredrik Hübinette (Hubbe) | | bin_export: aclocal
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | @rm -f *.burk
|
99bb2c | 1999-06-09 | Fredrik Hübinette (Hubbe) | | @$(RUNPIKE) $(TMP_BINDIR)/install.pike --export \
exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \
TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \
|
4839dd | 2001-09-02 | Marcus Comstedt | | man_prefix="$(man_prefix)" 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:
# $(RUNPIKE) $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c
# $(RUNPIKE) $(TMP_BINDIR)/make_ci.pike <$(SRCDIR)/UnicodeData.txt >$(SRCDIR)/case_info.h
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
e07d00 | 1999-12-19 | Martin Stjernholm | | $(SRCDIR)/peep_engine.c: $(TMP_BUILDDIR)/tpike $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike
|
9c4db5 | 2001-01-27 | Henrik Grubbström (Grubba) | | $(RUNTPIKE) $(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) | |
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | | peep_t.o: peep.c
|
e07d00 | 1999-12-19 | Martin Stjernholm | | $(SRCDIR)/case_info.h: $(TMP_BUILDDIR)/tpike $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike
|
9c4db5 | 2001-01-27 | Henrik Grubbström (Grubba) | | $(RUNTPIKE) $(TMP_BINDIR)/make_ci.pike <$(SRCDIR)/UnicodeData.txt >$(SRCDIR)/case_info.h || ( rm $(SRCDIR)/case_info.h ; exit 1 )
|
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) | |
|
c8eb92 | 2001-06-10 | Henrik Grubbström (Grubba) | | builtin_functions_t.o: builtin_functions.c $(SRCDIR)/combine_path.h
|
632b19 | 1999-11-08 | Henrik Grubbström (Grubba) | |
|
e07d00 | 1999-12-19 | Martin Stjernholm | | $(SRCDIR)/treeopt.h: $(TMP_BUILDDIR)/tpike $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike
|
9c4db5 | 2001-01-27 | Henrik Grubbström (Grubba) | | $(RUNTPIKE) $(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
las_t.o: las.c
|
fe104b | 2000-11-25 | Henrik Grubbström (Grubba) | | # This dependency is here to make sure that lexer[012].h are generated.
# The reason for the split is that some compilers (read lc) generate
# 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" "$@"
|
7b2c00 | 2001-07-18 | Henrik Grubbström (Grubba) | | interpret.o: interpreter_debug.h interpret_functions_fixed.h
|
d49add | 2001-04-25 | Fredrik Hübinette (Hubbe) | |
|
bca195 | 1999-11-26 | Martin Stjernholm | | # All the $(POBJ) dependencies, except tpike. See blurb at pike target.
stamp-tpike-predep: $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike peep.c $(SRCDIR)/UnicodeData.txt $(TMP_BINDIR)/make_ci.pike builtin_functions.c $(SRCDIR)/treeopt.in $(TMP_BINDIR)/mktreeopt.pike las.c
@echo foo > stamp-tpike-predep
|
562566 | 1997-04-15 | Fredrik Hübinette (Hubbe) | | # make dependencies
|
5f8458 | 2002-03-09 | Martin Stjernholm | | depend: $(SRC_TARGETS) $(TPIKE_TARGETS)
|
5952a4 | 1999-11-11 | Henrik Grubbström (Grubba) | | gcc -MM -MG $(PREFLAGS) $(SRCDIR)/*.c | $(TMP_BINDIR)/fixdepends.sh $(SRCDIR)
|
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 | |
|
0a34dc | 2001-01-23 | Martin Stjernholm | | # touch modules-stamp here to avoid doing this work again if that
# target is checked later.
|
1f2133 | 2000-07-28 | Fredrik Hübinette (Hubbe) | | module_objects: $(MODULE_REQUIREMENTS)
|
b66f02 | 1998-04-13 | Henrik Grubbström (Grubba) | | @( cd modules ; rm remake >/dev/null 2>&1 || : ; \
|
e09c9e | 1999-08-13 | Martin Stjernholm | | $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
|
0a34dc | 2001-01-23 | Martin Stjernholm | | @touch modules-stamp
modules-stamp: $(MODULE_REQUIREMENTS)
@( cd modules ; rm remake >/dev/null 2>&1 || : ; \
$(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \
( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
@touch modules-stamp
modules/modlist.h: modules-stamp
modules/modlist_headers.h: modules-stamp
modules/linker_options: modules-stamp
module.o: modules/modlist_headers.h modules/modlist.h
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
5f8458 | 2002-03-09 | Martin Stjernholm | | module_t.o: modules/modlist_headers.h modules/modlist.h
|
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) | |
|
2ecd52 | 2001-01-12 | Martin Stjernholm | | interpret.o: $(SRCDIR)/lex.c $(SRCDIR)/interpret_protos.h
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) | |
|
3a0a53 | 2001-01-13 | Martin Stjernholm | | $(SRCDIR)/language.h_src: $(SRCDIR)/language.yacc
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | @echo "Expect 1 shift/reduce conflict."
|
8a046b | 2000-02-22 | Fredrik Hübinette (Hubbe) | | ( cd $(SRCDIR) &&\
$(YACC) $(YFLAGS) language.yacc &&\
|
6ded52 | 2001-07-13 | Henrik Grubbström (Grubba) | | sed -e 's/YY_COUNT_TYPE/@YY_COUNT_TYPE@/' <y.tab.c >language.c &&\
mv y.tab.h language.h_src && rm y.tab.c)
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
f82226 | 2001-07-16 | Fredrik Hübinette (Hubbe) | |
|
8cb549 | 2001-11-12 | Martin Stjernholm | | 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...
builtin.o: $(SRCDIR)/builtin.c
|
4cdb80 | 2001-02-23 | Fredrik Hübinette (Hubbe) | | iterators.o: $(SRCDIR)/iterators.c
|
aca4dd | 2001-02-23 | Henrik Grubbström (Grubba) | |
|
344c29 | 2001-03-12 | Henrik Grubbström (Grubba) | | backend.o: $(SRCDIR)/backend.c
|
1dcea9 | 1997-04-22 | Fredrik Hübinette (Hubbe) | | # Internal testing target
run_yacc: $(SRCDIR)/language.c
|
97c032 | 1997-01-28 | Fredrik Hübinette (Hubbe) | | $(SRCDIR)/configure: $(SRCDIR)/configure.in
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | cd $(SRCDIR) && autoconf
|
549f8b | 1996-05-02 | Fredrik Hübinette (Hubbe) | | config.status: $(SRCDIR)/configure
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | | ./config.status --recheck
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | | modules/static_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;)
|
a843cf | 2000-10-10 | Martin Stjernholm | | CONFIG_FILES=modules/static_module_makefile CONFIG_HEADERS="" ./config.status || \
(EXITCODE=$$?; rm cfl.static_module_makefile; exit $$EXITCODE)
-@rm cfl.static_module_makefile
|
190994 | 1997-11-04 | Henrik Grubbström (Grubba) | |
modules/dynamic_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;)
|
a843cf | 2000-10-10 | Martin Stjernholm | | CONFIG_FILES=modules/dynamic_module_makefile:@dmmsrc@ CONFIG_HEADERS="" ./config.status || \
(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.
precompile.sh-stamp: precompile.sh
|
3887ab | 2001-01-23 | Martin Stjernholm | | @touch 0103000070 precompile.sh-stamp
|
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) | |
|
97c032 | 1997-01-28 | Fredrik Hübinette (Hubbe) | | $(SRCDIR)/stamp-h.in: $(SRCDIR)/configure.in $(SRCDIR)/acconfig.h
|
0d36f0 | 1997-01-28 | Fredrik Hübinette (Hubbe) | | cd $(SRCDIR) && autoheader
echo foo > $(SRCDIR)/stamp-h.in
|
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) | |
|
e5bb7d | 1996-09-23 | Fredrik Hübinette (Hubbe) | | testsuite: $(SRCDIR)/testsuite.in
|
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 \
-DSRCDIR="$(SRCDIR)"; \
else \
$(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite \
-DSRCDIR="`echo $(SRCDIR)|sed -e $$PIKE_PATH_TRANSLATE`"; \
fi
|
933d36 | 1996-04-29 | Fredrik Hübinette (Hubbe) | |
|
9f7b7e | 2000-01-09 | Fredrik Hübinette (Hubbe) | | header_uncompress: $(SRCDIR)/uncompressor.c
$(CC) -O2 -static $(SRCDIR)/uncompressor.c -o header_uncompress -lz
uncompress_header: $(SRCDIR)/uncompressor.c header_uncompress
$(CC) -O2 -static $(SRCDIR)/uncompressor.c -o uncompress_header -lz -DSEEK_TO=`wc -c header_uncompress|sed 's/[^0-9]//g'`
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 \
builtin_functions_t.protos \
callback.protos \
hashtable.protos \
program.protos \
interpret.protos \
constants.protos \
language.protos \
queue.protos \
cpp.protos \
las_t.protos \
peep_t.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 \
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) | |
|
19cacd | 2001-02-01 | Henrik Grubbström (Grubba) | | module.o: post_modules/modlist.h post_modules/modlist_headers.h
|
6265aa | 1997-01-18 | Fredrik Hübinette (Hubbe) | | @dependencies@
|
15c300 | 1999-12-29 | Henrik Grubbström (Grubba) | |
|