pike.git/
src/
Makefile.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-14
2000-08-14 05:31:34 by Martin Stjernholm <mast@lysator.liu.se>
1796d6a6d3c12ace4ae7ab2b8a2329b788854e4e (
27
lines) (+
15
/-
12
)
[
Show
|
Annotate
]
Branch:
7.9
Nope, that was bogus. This will hopefully work better.
Rev: src/Makefile.in:1.205
1:
#
-
# $Id: Makefile.in,v 1.
204
2000/08/
12
19
:
52
:
44
mast Exp $
+
# $Id: Makefile.in,v 1.
205
2000/08/
14
05
:
31
:
34
mast Exp $
# # This line is needed on some machines.
103:
# Add alloca.o if you don't have alloca() on your machine. #
-
NOMODULE_
OBJ= \
+
OBJ= \
language.o \ security.o \ bignum.o \
131:
main.o \ mapping.o \ pike_memory.o \
+
module.o \
module_support.o \ object.o \ opcodes.o \
146:
builtin.o \ svalue.o @EXTRA_OBJS@
-
OBJ= module.o $(NOMODULE_OBJ)
-
+
MODULE_REQUIREMENTS= \ machine.h \ global.h \
185:
# static modules, and thus have to be linked into pike. # # No rest for the wicked.
-
all: module
.o
hilfe
+
all: module
_objects
hilfe
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike @rm -f dummy_engine >/dev/null 2>&1; echo "" >dummy_engine && \ if cmp $(SRCDIR)/peep_engine.c dummy_engine >/dev/null 2>&1; then \
220:
@echo 'End of summary' @echo '--------------'
-
tpike-real: $(
NOMODULE_
OBJ) $(TOBJ) modules/linker_options
+
tpike-real: $(OBJ) $(TOBJ) modules/linker_options
-@rm -f tpike || :
-
if [ -f module.o ] ; then : ; else $(MAKE) $(MAKE_FLAGS) module.o ; fi
+
$(LD) $(LDFLAGS) $(OBJ) $(TOBJ) `cat modules/linker_options` $(LIBS) -o tpike # Only want tpike to exist when using $(RUNTPIKE); we don't want to
236:
# the recursive make of tpike-real above, that one will never start to # make the $(OBJ)s concurrently with this one. stamp-tpike-predep # records the $(POBJ) dependencies without tpike.
-
pike: $(
NOMODULE_
OBJ) modules/linker_options stamp-tpike-predep
+
pike: $(OBJ) modules/linker_options stamp-tpike-predep
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) $(POBJ)
-
if [ -f module.o ] ; then : ; else $(MAKE) $(MAKE_FLAGS) module.o ; fi
+
-@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 $(LD) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options` $(LIBS) -o pike # purify
-
pure: $(OBJ) $(POBJ) module
.o
+
pure: $(OBJ) $(POBJ) module
_objects
-@mv pike pike.old 2>/dev/null || true $(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` $(LIBS) -o pike # purecov
-
cover: $(OBJ) $(POBJ) module
.o
+
cover: $(OBJ) $(POBJ) module
_objects
-@mv pike pike.old 2>/dev/null || true $(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` $(LIBS) -o pike # quantify
-
quant: $(OBJ) $(POBJ) module
.o
+
quant: $(OBJ) $(POBJ) module
_objects
-@mv pike pike.old 2>/dev/null || true $(SMARTLINK) quantify $(REALCC) $(LDFLAGS) $(OBJ) $(POBJ) `cat modules/linker_options` $(LIBS) -o pike
579:
# # Pike internal targets #
+
+
# touch modlist.h here to avoid doing this work again if the
+
# modules/modlist.h target is checked later.
module_objects: $(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/modlist.h
interpret_protos.h: $(SRCDIR)/interpret_functions.h egrep '^OPCODE' <$(SRCDIR)/interpret_functions.h >interpret_protos.h
616:
@( cd modules ; rm remake >/dev/null 2>&1 || : ; \ $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \ ( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$?
+
touch modules/modlist.h
modules/modlist_headers.h: modules/modlist.h touch modules/modlist_headers.h