Branch: Tag:

2000-07-28

2000-07-28 17:16:56 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

JUMBOPATCH: dynamic loading now works on Win* !!!! (somewhat experimental :)

Rev: src/.cvsignore:1.24
Rev: src/Makefile.in:1.198
Rev: src/aclocal.m4:1.17
Rev: src/array.c:1.79
Rev: src/array.h:1.22
Rev: src/backend.c:1.53
Rev: src/backend.h:1.9
Rev: src/bignum.c:1.17
Rev: src/bignum.h:1.14
Rev: src/builtin_functions.c:1.293
Rev: src/builtin_functions.h:1.14
Rev: src/callback.c:1.20
Rev: src/configure.in:1.387
Rev: src/constants.c:1.22
Rev: src/dynamic_buffer.c:1.10
Rev: src/dynamic_load.c:1.41
Rev: src/error.c:1.56
Rev: src/error.h:1.46
Rev: src/fd_control.c:1.32
Rev: src/fdlib.c:1.37
Rev: src/fdlib.h:1.34
Rev: src/fsort.c:1.13
Rev: src/fsort_template.h:1.7
Rev: src/gc.c:1.110
Rev: src/gc.h:1.57
Rev: src/global.h:1.44
Rev: src/interpret.c:1.158
Rev: src/interpret.h:1.52
Rev: src/main.c:1.94
Rev: src/mapping.c:1.94
Rev: src/mapping.h:1.28
Rev: src/module_magic.h:1.1
Rev: src/module_support.c:1.34
Rev: src/module_support.h:1.7
Rev: src/multiset.c:1.26
Rev: src/object.c:1.137
Rev: src/object.h:1.50
Rev: src/opcodes.c:1.78
Rev: src/operators.c:1.93
Rev: src/operators.h:1.8
Rev: src/pike_macros.h:1.17
Rev: src/pike_memory.c:1.71
Rev: src/pike_memory.h:1.14
Rev: src/pike_types.c:1.132
Rev: src/port.c:1.28
Rev: src/precompile.sh.in:1.2
Rev: src/program.c:1.252
Rev: src/program.h:1.97
Rev: src/signal_handler.c:1.173
Rev: src/stralloc.c:1.85
Rev: src/stralloc.h:1.42
Rev: src/stuff.c:1.11
Rev: src/svalue.c:1.85
Rev: src/svalue.h:1.62
Rev: src/testsuite.in:1.316
Rev: src/threads.c:1.133
Rev: src/threads.h:1.99

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.
143:    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
267:    @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
289:   # -Hubbe   #   .cmod.c: -  ./precompile.sh "$<" "$@" +  ./precompile.sh precompile.pike "$@" "$<"      force :    @:
312:      # 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
322:    -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   
543:   #   # 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 $$?
576:   # 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
633:    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@