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.
456
2006
/
09
/
29
12
:
43
:
59
grubba
Exp $
+
# $Id: Makefile.in,v 1.
457
2007
/
01
/
06
23
:
37
:
18
bill
Exp $
# # This line is needed on some machines. @SET_MAKE@ # Pike embed target, either libpike.so or libpike.a. PIKE_LIB=@PIKE_LIB@ # Don't change this line. Define EXTRALIBS before this line if you # wish to add any libraries.
pike.git/src/Makefile.in:274:
echo; \ echo 'Compilation warning and error summary:'; \ echo '--------------------------------------'; \ fi @echo @cat compiler-warnings @echo @echo 'End of summary' @echo '--------------'
+
framework: OCPikeInterpreter.o $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@
+
@echo "Linking Pike.framework";\
+
gcc -o Pike OCPikeInterpreter.o $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` -framework Cocoa -Wl,-single_module \
+
-undefined dynamic_lookup -compatibility_version 1 -current_version 1 -dynamiclib -mmacosx-version-min=10.4 \
+
-isysroot /Developer/SDKs/MacOSX10.4u.sdk
+
libpike.so: $(OBJ) modules/linker_options @STATIC_POST_MODULES_LINKOPTS@ @echo "Linking libpike.so";\ if $(TMP_BINDIR)/smartlink "$(LDSHARED)" $(LDFLAGS) -o libpike.@SO@ \ $(OBJ) `cat modules/linker_options @STATIC_POST_MODULES_LINKOPTS@` \ $(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 libpike.@SO@ \
pike.git/src/Makefile.in:431:
-rm dumpversion 2>/dev/null $(MAKE) $(MAKE_FLAGS) dump_modules delete_dumped_modules: -find lib -type f -name \*.o | xargs rm -f undump_modules: delete_dumped_modules -rm dumpversion 2>/dev/null .SUFFIXES:
-
.SUFFIXES: .c .h .o .cmod .symlist .pp .pph .protos .h_src .wxs .wixobj .msi .msm
+
.SUFFIXES: .c .h .o .
m .mmod .
cmod .symlist .pp .pph .protos .h_src .wxs .wixobj .msi .msm
.c.pp: $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -DPMOD_PROTO=PMOD_PROTO "$<" >"$@" .c.protos: precompile.sh-stamp ./precompile.sh --cache fake_dynamic_load.pike >"$@" --cpp --protos \ $(CPP) $(PREFLAGS) -DPMOD_EXPORT=PMOD_EXPORT \ -DPMOD_PROTO=PMOD_PROTO -DPIKE_PRECOMPILER=1 "$<" || \ { rm "$@"; exit 1; }
pike.git/src/Makefile.in:475:
echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\ exit $$status; \ fi; \ else \ echo "Compilation command was:" >&2;\ echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -c $< -o $@" >&2 ;\ exit $$status; \ fi; \ fi
+
.m.o:
+
@echo "Compiling `echo '$<' | sed -e 's|^$(PIKE_SRC_DIR)/||'`" ; \
+
rm -f $@.fail >/dev/null 2>&1; \
+
if test "x$@" = "xinterpret.o"; then EXTRAFLAGS="$(INTERPRET_DEOPTIMIZE)"; else EXTRAFLAGS=; fi; \
+
if $(CC) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@ ; then : ; else \
+
status=$$?; \
+
if test x"@noopt_retry@" = xyes ; then \
+
echo "WARNING: Compiler failure! Trying without optimization!" >&2;\
+
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >$@.fail ;\
+
if NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -c $< -o $@ ; then : ; else \
+
status=$$?; \
+
echo "Compilation command was:" >&2;\
+
echo "$(CC) $(PREFLAGS) $(NOOPTFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
+
exit $$status; \
+
fi; \
+
else \
+
echo "Compilation command was:" >&2;\
+
echo "$(CC) $(PREFLAGS) $(CFLAGS) $$EXTRAFLAGS -fobjc-exceptions -c $< -o $@" >&2 ;\
+
exit $$status; \
+
fi; \
+
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; } # The same applies to this. .symlist.c: precompile.sh-stamp $(SRCDIR)/mklibpike.pike