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.
116
1998/09/
05
15
:
20
:
39
grubba
Exp $
+
# $Id: Makefile.in,v 1.
117
1998/09/
20
08
:
30
:
31
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:194:
# 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
+
install: pike hilfe
pike-module aclocal
@echo @echo Installing Pike... @echo @echo "Creating directories..."; \ for d in "$(prefix)" "$(exec_prefix)" "$(prefix)/lib" \ "$(lib_prefix)" "$(data_prefix)" "$(share_prefix)" \ "$(prefix)/include" "$(prefix)/include/pike"; do \ if [ -d "$$d/." ]; then : ; else \ echo "$$d"; \ mkdir "$$d" || exit 1; \
pike.git/src/Makefile.in:253:
else \ if [ -f "$(exec_prefix)/hilfe" ]; then \ mv "$(exec_prefix)/hilfe" "$(exec_prefix)/hilfe.old" || exit 1; \ else : ; fi; \ echo "$(exec_prefix)/hilfe"; \ $(INSTALL) $(TMP_BINDIR)/hilfe "$(exec_prefix)" || exit 1; \ chmod a+rx "$(exec_prefix)/hilfe"; \ chmod u+w "$(exec_prefix)/hilfe"; \ fi; \ else : ; fi
+
@if [ -f ./pike-module ]; then \
+
echo ; echo "Installing pike-module..."; \
+
if cmp "$(exec_prefix)/pike-module" ./pike-module >/dev/null 2>&1 ; \
+
then \
+
echo "$(exec_prefix)/pike-module already installed." ; \
+
else \
+
if [ -f "$(exec_prefix)/pike-module" ]; then \
+
mv "$(exec_prefix)/pike-module" "$(exec_prefix)/pike-module.old" || exit 1; \
+
else : ; fi; \
+
echo "$(exec_prefix)/pike-module"; \
+
$(INSTALL) ./pike-module "$(exec_prefix)" || exit 1; \
+
chmod a+rx "$(exec_prefix)/pike-module"; \
+
chmod u+w "$(exec_prefix)/pike-module"; \
+
fi; \
+
else : ; fi
@echo ; echo "Installing header-files..."; \ for a in $(SRCDIR)/*.h *.h ; do \ $(INSTALL) $$a "$(prefix)/include/pike" || exit 1; \ 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 ; \ then : ; else \ echo "$(share_prefix)/$$f"; \ if [ -f "$(share_prefix)/$$f" ]; then \ mv -f "$(share_prefix)/$$f" "$(share_prefix)/$$f.old"; \ else : ; fi; \ if [ -f "$(lib_prefix)/$$f" ]; then \ if test "x$(lib_prefix)" != "x$(share_prefix)"; then \
pike.git/src/Makefile.in:401:
<$(LIBDIR_SRC)/master.pike.in \ >./lib/master.pike && chmod 644 ./lib/master.pike) || exit 1 @echo "Done." -@touch ./lib 2>/dev/null || (touch lib/.broken_gnu_touch && rm lib/.broken_gnu_touch) master.pike: $(LIBDIR_SRC)/master.pike.in Makefile sed -e 's!¤lib_prefix¤!$(TMP_LIBDIR)!' <$(LIBDIR_SRC)/master.pike.in \ | sed -e 's!¤share_prefix¤!$(LIBDIR_SRC)!' >master.pike
+
pike-module: $(SRCDIR)/pike-module.in Makefile ./pike
+
$(RUNPIKE) $(SRCDIR)/pike-module.in --fixate=$(SRCDIR)/pike-module.in \
+
--set='make=$(MAKE)' --set='make_flags=$(MAKE_FLAGS)' \
+
--set='prefix=$(prefix)' --set='pike=$(exec_prefix)/pike' \
+
--set='include_path=$(prefix)/include/pike' \
+
--set='lib_prefix=$(TMP_LIBDIR)' --set='share_prefix=$(LIBDIR_SRC)' \
+
--output=pike-module
+
-@chmod +x pike-module
+
+
aclocal: $(SRCDIR)/aclocal.m4
+
echo >aclocal "define(PIKE_INCLUDE_PATH,$(prefix)/include/pike)"
+
cat >>aclocal $(SRCDIR)/aclocal.m4
+
# make export archive (requires compiled Pike) # Do not compile in source tree if you want to use this! # Beware that export archive this includes bison/yacc/byacc source # and thus has to follow the rules stated in that code. export: new_peep_engine $(SRCDIR)/language.c $(SRCDIR)/language.h depend chmod +x $(SRCDIR)/install-sh $(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