pike.git / src / Makefile.in

version» Context lines:

pike.git/src/Makefile.in:1:   # - # $Id: Makefile.in,v 1.395 2004/12/04 16:44:46 grubba Exp $ + # $Id: Makefile.in,v 1.396 2004/12/29 12:00:33 grubba Exp $   #      # This line is needed on some machines.   @SET_MAKE@    -  + # Pike embed target, either pike.so or pike.a. + PIKE_LIB=@PIKE_LIB@ +    # 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   INSTALL=@INSTALL@      SRCDIR=@srcdir@   VPATH=@srcdir@   
pike.git/src/Makefile.in:102:      CANDLE=@CANDLE@ -nologo   LIGHT=@LIGHT@ -nologo      FALLBACK_CC=@FALLBACK_CC@      AR=@AR@      LD=@LD@   LDFLAGS=@LDFLAGS@ @LINKFORSHARED@ $(EXTRALDFLAGS) + LDSHARED=@LDSHARED@      DEFAULT_RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -DPRECOMPILED_SEARCH_MORE -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS)   USE_PIKE=pike $(PIKEOPTS)   RUNPIKE=$(@RUNPIKE@)   PIKE_MODULE_RELOC=@PIKE_MODULE_RELOC@      # Set to an appropriate invocation of valgrind (or similar)   VALGRIND=@VALGRIND@   VALGRINDARGS=@VALGRINDARGS@   
pike.git/src/Makefile.in:143:    error.o \    fd_control.o \    fsort.o \    gc.o \    hashtable.o \    lex.o \    multiset.o \    signal_handler.o \    pike_search.o \    pike_types.o \ -  main.o \ +  pike_embed.o \    mapping.o \    pike_memory.o \    module_support.o \    pikecode.o \    object.o \    opcodes.o \    operators.o \    port.o \    program.o \    rbtree.o \
pike.git/src/Makefile.in:252:    echo; \    echo 'Compilation warning and error summary:'; \    echo '--------------------------------------'; \    fi    @echo    @cat compiler-warnings    @echo    @echo 'End of summary'    @echo '--------------'    - pike: $(OBJ) master-stamp pike.syms modules/linker_options post_modules/linker_options + pike.so: $(OBJ) modules/linker_options post_modules/linker_options +  @echo "Linking pike.so";\ +  if $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o pike.@SO@ \ +  $(OBJ) `cat modules/linker_options post_modules/linker_options` \ +  $(LIBS); then \ +  if test "@SO@" != so ; then mv "module.@SO@" module.so ; \ +  else :; fi ;\ +  else \ +  echo "Linking failed:" >&2; \ +  echo $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o pike.@SO@ \ +  $(OBJ) `cat modules/linker_options post_modules/linker_options` \ +  $(LIBS) >&2 ;\ +  exit 1; \ +  fi +  + # FIXME: Static linked version; this doesn't work yet! + # Since we need to split linker_options into archives and options. + pike.a: $(OBJ) modules/linker_options post_modules/linker_options +  -rm -f pike.a +  $(AR) cq pike.a $(OBJ) +  -@RANLIB@ pike.a +  + #pike: main.o $(PIKE_LIB) master-stamp pike.syms + pike: main.o $(OBJ) master-stamp pike.syms modules/linker_options post_modules/linker_options    -@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) `cat modules/linker_options post_modules/linker_options` $(LIBS) -o pike + # $(LD) $(LDFLAGS) main.o -R. -R$(prefix)/lib $(PIKE_LIB) -o pike +  $(LD) $(LDFLAGS) main.o $(OBJ) \ +  `cat modules/linker_options post_modules/linker_options` \ +  $(LIBS) -o pike   # The dumped modules are removed whenever Pike is relinked since some   # of the bytecode methods (e.g. ia32) stores absolute addresses to   # global structs. That should probably be fixed in them so that dumped   # modules aren't link order dependent.    if [ -f dumpversion ]; then $(MAKE) $(MAKE_FLAGS) delete_dumped_modules; else :; fi      # gcov   gcov:    @for f in `cd "$(SRCDIR)" && find . -type f -name '*.c' -print`; do \    if test -f `echo $$f | sed -e 's/\.$$/.bb/'`; then \