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.
123
1998
/
10
/
28
11
:
34
:
14
grubba
Exp $
+
# $Id: Makefile.in,v 1.
124
1999
/
01
/
21
09
:
13
:
20
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:77:
RUNPIKE=$(TMP_BUILDDIR)/pike -DNOT_INSTALLED -m$(TMP_BUILDDIR)/master.pike $(PIKEOPTS) MOST_MAKE_FLAGS = "prefix=$(prefix)" "exec_prefix=$(exec_prefix)" "CC=$(CC)" "TMP_BINDIR=$(TMP_BINDIR)" "DEFINES=$(DEFINES)" "TMP_LIBDIR=$(TMP_LIBDIR)" "RUNPIKE=$(RUNPIKE)" "INSTALL=$(INSTALL)" "NOOPTFLAGS=$(NOOPTFLAGS)" "AR=$(AR)" MAKE_FLAGS = $(MOST_MAKE_FLAGS) "OTHERFLAGS=$(OTHERFLAGS)" # Add alloca.o if you don't have alloca() on your machine. # OBJ= \ language.o \
+
security.o \
interpret.o \ constants.o \ cpp.o \ fdlib.o \ cyclic.o \ array.o \ backend.o \ builtin_functions.o \ callback.o \ encode.o \
pike.git/src/Makefile.in:198:
# Several optimizers have problems with interpret.c # First try compiling with optimization and if that doesn't work, without. interpret.o: $(SRCDIR)/interpret.c $(CC) $(CFLAGS) -c $(SRCDIR)/interpret.c -o interpret.o || NO_ULIMIT=yes $(CC) $(PREFLAGS) $(NOOPTFLAGS) -c $(SRCDIR)/interpret.c -o interpret.o force : # install install: pike hilfe pike-module aclocal
+
@exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \
+
TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
+
SRCDIR="$(SRCDIR)" prefix="$(prefix)" MANDIR_SRC="$(MANDIR_SRC)" \
+
man_prefix="$(man_prefix)" \
+
$(RUNPIKE) $(TMP_BINDIR)/install.pike
+
+
old-install: pike hilfe pike-module aclocal
@echo @echo Installing Pike... @echo @echo "Creating directories..."; \ for d in "$(prefix)" "$(exec_prefix)" "$(prefix)/lib" \ "$(man_prefix)" "$(man_prefix)/man1" "$(man_prefix)/man3" \ "$(lib_prefix)" "$(data_prefix)" "$(share_prefix)" \ "$(prefix)/include" "$(prefix)/include/pike"; do \ if [ -d "$$d/." ]; then : ; else \ echo "$$d"; \ mkdir "$$d" || exit 1; \ chmod a+rx "$$d"; \ chmod u+w "$$d"; \ fi; \ done
-
@for d in `cd "$(TMP_LIBDIR)"; find . -type d -print`; do \
+
@for d in `cd "$(TMP_LIBDIR)"; find . -type d -print`
`cd "$(LIBDIR_SRC)"
;
find . ! -name CVS ! -name '.#*' ! -name '#*#' ! -name '*~' -type d -print`;
do \
if [ -d "$(lib_prefix)/$$d/." ]; then : ; else \ echo "$(lib_prefix)/$$d"; \ mkdir "$(lib_prefix)/$$d" || exit 1; \ chmod a+rx "$(lib_prefix)/$$d/."; \ chmod u+w "$(lib_prefix)/$$d/."; \ fi; \ done
-
@for d in `cd "$(LIBDIR_SRC)"; find . ! -name CVS ! -name '.#*' ! -name '#*#' ! -name '*~' -type d -print`; do \
-
if [ -d "$(share_prefix)/$$d/." ]; then : ; else \
-
echo "$(share_prefix)/$$d"; \
-
mkdir "$(share_prefix)/$$d" || exit 1; \
-
chmod a+rx "$(share_prefix)/$$d/."; \
-
chmod u+w "$(share_prefix)/$$d/."; \
-
fi; \
-
done
+
@echo ; echo "Installing pike..."; \ if cmp "$(exec_prefix)/pike" ./pike >/dev/null 2>&1 ; then \ echo "This pike-binary is already installed." ; \ else \ if [ -f "$(exec_prefix)/pike" ]; then \ echo Renaming old "$(exec_prefix)/pike" to "$(exec_prefix)/pike.old"; \ mv -f "$(exec_prefix)/pike" "$(exec_prefix)/pike.old" || exit 1; \ else : ; fi ; \ echo "$(exec_prefix)/pike"; \ $(INSTALL) ./pike "$(exec_prefix)" || exit 1; \
pike.git/src/Makefile.in:283:
for a in $(SRCDIR)/*.h *.h ; do \ $(INSTALL) $$a "$(prefix)/include/pike" || exit 1; \ : Should use the basename here. ; \ : chmod a+r "$(prefix)/include/pike" ; \ : chmod u+w "$(prefix)/include/pike" ; \ done @$(INSTALL) modules/dynamic_module_makefile $(prefix)/include/pike/dynamic_module_makefile @$(INSTALL) ./aclocal $(prefix)/include/pike/aclocal.m4 @echo ; echo "Installing modules written in Pike..."; \ for f in `cd "$(LIBDIR_SRC)"; find . -type f -print | grep -v '/CVS/'`; do \
-
if cmp "$(
share
_prefix)/$$f" "$(LIBDIR_SRC)/$$f" >/dev/null 2>&1 ; \
+
if cmp "$(
lib
_prefix)/$$f" "$(LIBDIR_SRC)/$$f" >/dev/null 2>&1 ; \
then : ; else \
-
echo "$(
share
_prefix)/$$f"; \
-
if [ -f "$(
share
_prefix)/$$f" ]; then \
-
mv -f "$(
share
_prefix)/$$f" "$(
share
_prefix)/$$f.old"; \
+
echo "$(
lib
_prefix)/$$f"; \
+
if [ -f "$(
lib
_prefix)/$$f" ]; then \
+
mv -f "$(
lib
_prefix)/$$f" "$(
lib
_prefix)/$$f.old"; \
else : ; fi; \
-
rm -f "$(
share
_prefix)/$$f.o" >/dev/null 2>/dev/null ; \
-
cp "$(LIBDIR_SRC)/$$f" "$(
share
_prefix)/$$f" || exit 1; \
-
chmod a+r "$(
share
_prefix)/$$f"; \
-
chmod u+w "$(
share
_prefix)/$$f"; \
+
rm -f "$(
lib
_prefix)/$$f.o" >/dev/null 2>/dev/null ; \
+
cp "$(LIBDIR_SRC)/$$f" "$(
lib
_prefix)/$$f" || exit 1; \
+
chmod a+r "$(
lib
_prefix)/$$f"; \
+
chmod u+w "$(
lib
_prefix)/$$f"; \
fi ; \ if [ -f "$(lib_prefix)/$$f" ]; then \
-
if test "x$(lib_prefix)" != "x$(
share
_prefix)"; then \
+
if test "x$(lib_prefix)" != "x$(
lib
_prefix)"; then \
mv -f "$(lib_prefix)/$$f" "$(lib_prefix)/$$f.now_in_share.old"; \ else : ; fi; \ else : ; fi; \ done @echo ; echo "Installing modules written in C..."; \ for f in `cd "$(TMP_LIBDIR)"; find . -type f -print`; do \ if cmp "$(lib_prefix)/$$f" "$(TMP_LIBDIR)/$$f" >/dev/null 2>&1 ; \ then : ; else \ echo "$(lib_prefix)/$$f"; \ if [ -f "$(lib_prefix)/$$f" ]; then \
pike.git/src/Makefile.in:330:
echo "$$dest"; \ if [ -f "$$dest" ]; then \ mv -f "$$dest" "$$dest.old"; \ else : ; fi; \ cp "$(MANDIR_SRC)/$$f" "$$dest" || exit 1; \ chmod a+r "$$dest"; \ chmod u+w "$$dest"; \ fi ; \ done ; \ else : ; fi
-
-
optimize:
+
$(exec_prefix)/pike -m $(SRCDIR)/dumpmaster.pike $(lib_prefix)/master.pike ( \ find $(lib_prefix)/modules -type f \( -name '*.pmod' -o -name '*.pike' \) -print ; \
-
find $(share_prefix)/modules -type f \( -name '*.pmod' -o -name '*.pike' \) -print \
+
) | \ while read file ; do $(exec_prefix)/pike $(SRCDIR)/dumpmodule.pike $$file ; done # tidy up a bit tidy: -rm -f *.o core y.output y.tab.c y.tab.h -rm -f $(TMP_BINDIR)/core *.o *.i *.i~ testsuite # make clean clean: tidy
pike.git/src/Makefile.in:478:
$(RUNPIKE) $(TMP_BINDIR)/export.pike Odbc Oracle _Crypto full_export: new_peep_engine $(SRCDIR)/language.c $(SRCDIR)/language.h depend chmod +x $(SRCDIR)/install-sh $(RUNPIKE) $(TMP_BINDIR)/export.pike all_exports: full_export ( cd .. ; $(TMP_BINDIR)/makedists ) bin_export:
-
PATH=$(TMP_BINDIR)/fakes:$$PATH INSTALL_LOG=`pwd`/log make install INSTALL=install
+
PATH=$(TMP_BINDIR)/fakes:$$PATH INSTALL_LOG=`pwd`/log make
old-
install INSTALL=install
$(RUNPIKE) $(TMP_BINDIR)/parse_install_log <log $(SRCDIR) $(prefix) new_peep_engine: $(RUNPIKE) $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c $(SRCDIR)/peep_engine.c: $(SRCDIR)/peep.in $(TMP_BINDIR)/mkpeep.pike echo "" >$(SRCDIR)/peep_engine.c -$(RUNPIKE) $(TMP_BINDIR)/mkpeep.pike $(SRCDIR)/peep.in >$(SRCDIR)/peep_engine.c peep.o: $(SRCDIR)/peep_engine.c