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.
425
2006/06/18
16
:
24
:
12
mast Exp $
+
# $Id: Makefile.in,v 1.
426
2006/06/18
18
:
44
:
05
mast 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:291:
# FIXME: Static linked version; this doesn't work yet! # Since we need to split linker_options into archives and options. libpike.a: $(OBJ) modules/linker_options post_modules/linker_options -rm -f libpike.a $(AR) cq libpike.a $(OBJ) -@RANLIB@ libpike.a # tpike is a pike with no post modules compiled in. It's used during # building of the post modules.
-
tpike: main.o $(CORE_OBJ) tmodule.o master-stamp pike.syms modules/linker_options
+
tpike
-real
: main.o $(CORE_OBJ) tmodule.o master-stamp pike.syms modules/linker_options
+
-@rm -f tpike || :
$(LD) $(LDFLAGS) main.o $(CORE_OBJ) tmodule.o \ `cat modules/linker_options` \ $(LIBS) -o tpike
-
+
# Only want tpike to exist when using $(RUNTPIKE); we don't want to
+
# require it actually being up-to-date.
+
#
+
# If RUNPIKE has been overridden we don't bother to build tpike. The
+
# precompile.sh script will then fall back to use RUNPIKE when it
+
# doesn't find tpike, and we assume that RUNPIKE doesn't point to a
+
# pike from the stone age.
+
tpike: precompile.sh-stamp
+
@if test "x$(RUNPIKE)" = "x$(DEFAULT_RUNPIKE)"; then \
+
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) tpike-real; \
+
else :; fi
+
#pike: main.o @DLOPEN_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.exe ] ; then rm -f pike.old.exe || : ; else : ; fi -@if [ -f pike.old ] ; then rm -f pike.old || : ; else : ; fi -@if [ -f pike.exe ] ; then mv pike.exe pike.old.exe || : ; else : ; fi -@if [ -f pike ] ; then mv pike pike.old || : ; else : ; fi # $(LD) $(LDFLAGS) main.o @DLOPEN_O@ -o pike $(LD) $(LDFLAGS) main.o $(OBJ) \ `cat modules/linker_options post_modules/linker_options` \ $(LIBS) -o pike