pike.git
/
src
/
Makefile.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/Makefile.in:1:
#
-
# $Id: Makefile.in,v 1.
297
2002/04/
08
21
:
46
:
08
mikael%unix.pp.se
Exp $
+
# $Id: Makefile.in,v 1.
298
2002/04/
11
15
:
53
:
40
mast
Exp $
# # 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. LIBS=@LIBS@ $(EXTRALIBS) # This is normall the install program in the source directory
pike.git/src/Makefile.in:58:
# OS dependant flags # OSFLAGS= # #Enable warnings from the compiler, if wanted. # WARN=@WARN@ #add extra defines here
+
# Be sure to use -g when looking for bugs
DEFINES=@CPPFLAGS@ # -O should work with all compilers OPTIMIZE=@OPTIMIZE@ # 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= # Preprocessor flags.
pike.git/src/Makefile.in:177:
# TOBJ = las_t.o builtin_functions_t.o peep_t.o module_t.o POBJ = las.o builtin_functions.o peep.o module.o # # User callable targets #
+
# Update the dumped modules, but only if dump_modules has been used earlier.
+
#
# Since post_modules might be static, we must remake pike after them # to make sure they are linked in. all: module_objects tools
-
+
if [ -f dumpversion ]; then $(MAKE) $(MAKE_FLAGS) dump_modules; else :; fi
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) post_modules $(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike @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
pike.git/src/Makefile.in:295:
@echo "Creating hilfe..."; \ ( sed -e 's!/usr/bin/env pike!$(exec_prefix)!' <$(TMP_BINDIR)/hilfe \ >./hilfe && chmod 755 ./hilfe) || exit 1 ; rsif: $(TMP_BINDIR)/rsif Makefile @echo "Creating rsif..."; \ ( sed -e 's!/usr/bin/env pike!$(exec_prefix)!' <$(TMP_BINDIR)/rsif \ >./rsif && chmod 755 ./rsif) || exit 1 ; dump_modules: pike master-stamp $(SRCDIR)/dumpmodule.pike
-
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"
+
args=
"
$
(DUMPARGS)"
;
\
+
$(RUNPIKE) $(SRCDIR)/dumpmodule.pike \
+
$${args:
-
-
-
log-file --update-only=dumpversion --report-
failed}
\
+
--recursive --target-dir=lib "$(LIBDIR_SRC)/modules"
force_dump_modules: -rm dumpversion 2>/dev/null $(MAKE) $(MAKE_FLAGS) dump_modules .SUFFIXES: .c .h .o .cmod .pp .pph .protos .h_src .c.pp: $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"
pike.git/src/Makefile.in:328:
# Several optimizers have problems with interpret.c # First try compiling with optimization and if that doesn't work, without. # GCC dumps core on some files @ OSF1 # This kluge should work around that... # FIXME: Make this a configure option .c.o: @echo "Compiling $<" ;\ rm -f $@.fail >/dev/null 2>&1; \ if $(CC) $(CFLAGS) -c $< -o $@ ; then : ; else \
-
echo "
WARNING:
Compiler
failure! Trying without optimization!
" >&2;\
-
echo "$(CC) $(PREFLAGS) $(
NOOPTFLAGS
) -c $< -o $@" >&2 ;\
+
echo "
Compilation
command
was:
" >&2;\
+
echo "$(CC) $(PREFLAGS) $(
CFLAGS
) -c $< -o $@" >&2 ;\
echo "$(CC) $(PREFLAGS) $(CFLAGS) -c $< -o $@" >$@.fail ;\
-
NO_ULIMIT=yes
; \
-
export NO_ULIMIT; \
-
if $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ; then : ; else \
-
exit $$?; \
-
fi; \
+
false
; \
fi # # 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 # .cmod.c: precompile.sh-stamp $(TMP_BINDIR)/precompile.pike ./precompile.sh --cache precompile.pike >"$@" "$<" || { rm "$@"; exit 1; }
pike.git/src/Makefile.in:440:
TAGS: etags -t *.h *.c # verify / debug module_testsuites: ( cd modules && $(MAKE) $(MAKE_FLAGS) testsuites ) ( cd post_modules && $(MAKE) $(MAKE_FLAGS) testsuites ) just_verify: module_testsuites testsuite master-stamp
-
if test "
x$
(TESTARGS)" =
x
; then args="-a" ; else args="$(TESTARGS)" ; fi; \
+
if test "
$
(TESTARGS)" =
""
; then args="-a" ; else args="$(TESTARGS)" ; fi; \
$(RUNPIKE) $(TMP_BINDIR)/test_pike.pike $$args # Testsuite for dynamic loading debugging test_dlopen: dynloadtest.sh sh ./dynloadtest.sh dynloadtest.sh: $(SRCDIR)/test_dynamic_loading.in m4 "$(SRCDIR)/test_dynamic_loading.in" >"$@" dynloadtest.c: dynamic_load.c
pike.git/src/Makefile.in:906:
@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 module.o: post_modules/modlist.h post_modules/modlist_headers.h
+
# 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.
+
+
pikecode.h: code/ia32.h code/sparc.h code/ppc32.h code/computedgoto.h code/bytecode.h
+
+
pikecode.c: code/ia32.c code/sparc.c code/ppc32.c code/computedgoto.c code/bytecode.c
+
@dependencies@