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.
197
2000/07/
26
16:
59:11
nilsson
Exp $
+
# $Id: Makefile.in,v 1.
198
2000/07/
28
17:
16:
54
hubbe
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:136:
program.o \ rusage.o \ stralloc.o \ stuff.o \ threads.o \ version.o \ queue.o \ builtin.o \ svalue.o @EXTRA_OBJS@
+
MODULE_REQUIREMENTS= \
+
machine.h \
+
global.h \
+
modules/static_module_makefile \
+
modules/dynamic_module_makefile \
+
$(SRCDIR)/language.h \
+
lib \
+
master.pike @EXTRA_MODULE_REQUIREMENTS@
-
+
DEPEND= \ $(SRCDIR)/language.c \ $(SRCDIR)/builtin.c # # The following objectfiles differ between tpike & pike: # TOBJ = las_t.o builtin_functions_t.o peep_t.o POBJ = las.o builtin_functions.o peep.o
pike.git/src/Makefile.in:260:
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 \ $(INSTALL) $(TMP_BINDIR)/hilfe `pwd`/hilfe || exit 1; \ fi @echo "Done."
-
.SUFFIXES: .c .o .cmod
+
.SUFFIXES: .c .o .cmod
.pp .protos
-
+
.c.pp:
+
$(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"
+
+
.c.protos:
+
./precompile.sh fake_dynamic_load.pike "$@" --cpp --protos $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT -DPMOD_PROTO=PMOD_PROTO "$<"
+
+
.h.pph:
+
$(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT -DPMOD_PROTO=PMOD_PROTO "$<" >"$@"
+
+
# 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 $<" ;\ if $(CC) $(CFLAGS) -c $< -o $@ ; then : ;\ else \ echo "WARNING: Compiler failure! Trying without optimization!" >&2;\ echo "echo $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@" >&2 ;\ NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $< -o $@ ;\ 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 "
$<
" "
$@
"
+
./precompile.sh
precompile.pike
"
$@
" "
$<
"
force : @: # install install: pike hilfe pike-module aclocal @$(RUNPIKE) $(TMP_BINDIR)/install.pike $(INSTALLARGS) \ exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \ TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \
pike.git/src/Makefile.in:305:
install_interactive: pike hilfe pike-module aclocal @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \ exec_prefix="$(exec_prefix)" prefix=$(prefix) \ TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ SRCDIR="$(SRCDIR)" MANDIR_SRC="$(MANDIR_SRC)" \ fakeroot="$(buildroot)" # tidy up a bit tidy:
-
-rm -f *.o core y.output y.tab.c y.tab.h
+
-rm -f *.o
*.pp *.protos
core y.output y.tab.c y.tab.h
-rm -f $(TMP_BINDIR)/core *.o *.i *.i~ testsuite # make clean clean: tidy -( cd modules; $(MAKE) $(MAKE_FLAGS) clean ) -( cd post_modules; $(MAKE) $(MAKE_FLAGS) clean ) -rm -rf test-install test-pike -rm -f TAGS tags yacc.acts yacc.debug yacc.tmp *.debug.log a.out -rm -f hilfe master.pike compiler-warnings
-
-rm -f tpike stamp-tpike-predep
+
-rm -f tpike stamp-tpike-predep
import-stamp
-find lib/modules/ -type f -name '*.so_pure*' -exec rm -f \{\} \; # -rm -f lib/master.pike # make _really_ clean spotless: clean -(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 \ -name 'conftest.*' -o -name 'stamp-h' ')' -exec rm -f \{\} \;
pike.git/src/Makefile.in:536:
# Lobotomization... lobotomize_crypto: ( cd $(SRCDIR)/modules/_Crypto && ./.build_lobotomized_crypto ) ( cd $(SRCDIR)/modules/_Lobotomized_Crypto && autoconf ) # # Pike internal targets #
-
module_objects:
machine.h global.h modules/static_module_makefile modules/dynamic_module_makefile
$(
SRCDIR
)
/language.h lib master.pike
+
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 $$? interpret_protos.h: $(SRCDIR)/interpret_functions.h egrep '^OPCODE' <$(SRCDIR)/interpret_functions.h >interpret_protos.h lex.o: $(SRCDIR)/lex.c interpret_protos.h lex_t.o: $(SRCDIR)/lex_t.c interpret_protos.h
pike.git/src/Makefile.in:569:
# # This rule makes sure that builtin.c is created in the source dir. # $(SRCDIR)/builtin.c: $(SRCDIR)/builtin.cmod ./precompile.sh $(TMP_BINDIR)/precompile.pike # Internal testing target run_yacc: $(SRCDIR)/language.c
-
modules/modlist.h:
+
modules/modlist.h:
$(MODULE_REQUIREMENTS)
( cd modules && $(MAKE) $(MAKE_FLAGS) ) modules/modlist_headers.h: modules/modlist.h touch modules/modlist_headers.h module.o: modules/modlist_headers.h modules/modlist.h $(SRCDIR)/configure: $(SRCDIR)/configure.in cd $(SRCDIR) && autoconf
pike.git/src/Makefile.in:626:
$(TMP_BINDIR)/mktestsuite $(SRCDIR)/testsuite.in >testsuite -DSRCDIR="$(SRCDIR)" 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'`" HFILES= \
-
operators.
h
\
-
array.
h
\
-
fd_control.
h
\
-
peep.h
\
-
backend.
h
\
-
fdlib.h
\
-
pike_macros
.
h
\
-
bignum.
h
\
-
fsort.
h
\
-
pike_memory.
h
\
-
block_alloc.h
\
-
pike_types.
h
\
-
block_alloc_h.h
\
-
gc.
h
\
-
port.
h
\
-
builtin_functions.
h
\
-
global
.
h
\
-
callback
.
h
\
-
hashtable.h
\
-
program.
h
\
-
interpret.
h
\
-
program_id.h
\
-
constants.
h
\
-
language.
h
\
-
queue.
h
\
-
cpp.
h
\
-
las.
h
\
-
rusage
.
h
\
-
cyclic
.
h
\
-
lex
.
h
\
-
security.h
\
-
dmalloc
.
h
\
-
signal_handler.
h
\
-
docode.
h
\
-
main.
h
\
-
stralloc.
h
\
-
mapping.
h
\
-
stuff.
h
\
-
dynamic_buffer.
h
\
-
module.h \
-
svalue.
h
\
-
dynamic_load.
h
\
-
module_support.
h
\
-
threads.
h
\
-
efun.h
\
-
multiset.
h
\
-
time_stuff
.
h
\
-
encode
.
h
\
-
object
.
h
\
-
error
.
h
\
-
opcodes
.
h
\
-
version
.
h
+
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
\
+
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
\
+
builtin
.
protos
-
+
import-stamp: $(HFILES) precompile.sh
+
@./precompile.sh fake_dynamic_load.pike import_functions.tmp $(HFILES)
+
@cmp import_functions.tmp import_functions.h >/dev/null || mv import_functions.tmp import_functions.h
+
@echo hej >import-stamp
-
export
_functions.
c
:
$(HFILES)
-
$(TMP_BINDIR)/fake_dynamic_load.pike
--
cpp='$
(
CPP)'
$(
HFILES
)
+
import
_functions.
h
:
import-stamp
+
test
-
f import
-
stamp ||
(
rm import-stamp ;
$(
MAKE
)
import-stamp )
-
import
_functions.
h
:
export
_functions.h
-
@touch
import
_functions.
h
+
export
_functions.
c
:
import
_functions.h
+
touch
export
_functions.
c
@dependencies@