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.
341
2002
/
12
/
12
21
:
20
:
46
nilsson
Exp $
+
# $Id: Makefile.in,v 1.
342
2003
/
01
/
09
19
:
52
:
22
grubba
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:14:
SRCDIR=@srcdir@ VPATH=@srcdir@ # These are used while compiling LIBDIR_SRC = @LIBDIR@ TMP_BINDIR = @BINDIR@ TMP_BUILDDIR = @BUILDDIR@ TMP_LIBDIR = $(TMP_BUILDDIR)/lib
+
# This is used during autodoc extraction.
+
DOCDIR = @DOCDIR@
+
# These are used during binary exports and installation. MANDIR_SRC = @MANDIR@ BASEDIR = @BASEDIR@ # These are used by the files generated by fixdepends.sh PIKE_SRC_DIR=$(SRCDIR) BUILD_BASE= # # RPM and package builders, listen up, because this is your only
pike.git/src/Makefile.in:206:
$(MAKE) $(MAKE_FLAGS) $(MAKE_PARALLEL) pike @if [ "`find . -name '*.fail' -print`" = "" ]; then :; else \ echo; \ echo "Pike compiled and linked ok, but the following file(s) "; \ echo "failed to compile with full optimization.";\ echo "This may affect performance negatively."; \ find . -name '*.fail' -print | sed -e 's/\.fail$$//' -e 's/^/ /'; \ echo; \ fi
-
documentation:
pike
-
cd $(
SRCDIR
)
/../refdoc
&& $(MAKE) $(MAKE_FLAGS) PIKE="$(RUNPIKE)" $(DOCTARGET)
+
documentation:
onepage.xml traditional.xml modref.xml
+
cd $(
DOCDIR
) && $(MAKE) $(MAKE_FLAGS) PIKE="$(RUNPIKE)" $(DOCTARGET)
# Backward compat. post_modules: post_module_objects post_module_objects: pike @( cd post_modules ; rm remake >/dev/null 2>&1 || : ; \ $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) || \ ( test -f remake && $(MAKE) $(MAKE_PARALLEL) $(MAKE_FLAGS) ) ) || exit $$? post_modules/modlist_headers.h:
pike.git/src/Makefile.in:596:
sed -e 's!¤lib_prefix¤!'"`echo "$(TMP_LIBDIR)" | sed -e "$$t"`"'!' <$(LIBDIR_SRC)/master.pike.in \ | sed -e 's!¤share_prefix¤!'"`echo "$(LIBDIR_SRC)" | sed -e "$$t"`"'!' \ | sed -e 's!¤include_prefix¤!'"`echo "$(TMP_BUILDDIR)" | sed -e "$$t"`"'!' \ | sed -e "$$u" >master.pike # Want master.pike up-to-date, but yet there's no dependency on the # that file. Works like the .h_src.h target. master-stamp: master.pike @test -f master-stamp || echo foo > master-stamp
+
#
+
# Documentation related stuff.
+
#
+
+
onepage.xml: autodoc.xml $(DOCDIR)/structure/onepage.xml
+
(cd "$(DOCDIR)" && \
+
$(RUNPIKE) -x assemble_autodoc structure/onepage.xml \
+
$(TMP_BUILDDIR)/autodoc.xml) >onepage.xml
+
+
traditional.xml: autodoc.xml $(DOCDIR)/structure/traditional.xml
+
( cd "$(DOCDIR)" && \
+
$(RUNPIKE) -x assemble_autodoc structure/traditional.xml \
+
$(TMP_BUILDDIR)/autodoc.xml) >traditional.xml
+
+
modref.xml: autodoc.xml $(DOCDIR)/structure/modref.xml
+
(cd "$(DOCDIR)" && \
+
$(RUNPIKE) -x assemble_autodoc structure/modref.xml \
+
$(TMP_BUILDDIR)/autodoc.xml) >modref.xml
+
+
autodoc.xml: pike doc_build/src doc_build/lib doc_build/images images force
+
$(RUNPIKE) -x extract_autodoc -q $(SRCDIR) $(DOCDIR)/src_images \
+
doc_build/src doc_build/images
+
$(RUNPIKE) -x extract_autodoc -q $(LIBDIR_SRC) $(DOCDIR)/src_images \
+
doc_build/lib doc_build/images
+
$(RUNPIKE) -x join_autodoc --quiet --post-process autodoc.xml doc_build
+
+
images: doc_build/src/post_modules/GTK/refdoc/images
+
@cp $(SRCDIR)/post_modules/GTK/refdoc/images/*.png \
+
doc_build/src/post_modules/GTK/refdoc/images/
+
+
# Directories
+
+
doc_build:
+
@test -d doc_build || mkdir doc_build
+
+
doc_build/src: doc_build
+
@test -d doc_build/src || mkdir doc_build/src
+
+
doc_build/lib: doc_build
+
@test -d doc_build/lib || mkdir doc_build/lib
+
+
doc_build/images: doc_build
+
@test -d doc_build/images || mkdir doc_build/images
+
+
doc_build/src/post_modules/GTK/refdoc/images: doc_build/src
+
@test -d doc_build/src/post_modules || \
+
mkdir doc_build/src/post_modules
+
@test -d doc_build/src/post_modules/GTK || \
+
mkdir doc_build/src/post_modules/GTK
+
@test -d doc_build/src/post_modules/GTK/refdoc || \
+
mkdir doc_build/src/post_modules/GTK/refdoc
+
@test -d doc_build/src/post_modules/GTK/refdoc/images || \
+
mkdir doc_build/src/post_modules/GTK/refdoc/images
+
+
pike.syms: $(SRCDIR)/interpret.c $(SRCDIR)/interpreter.h $(SRCDIR)/program.c $(SRCDIR)/builtin_functions.c ( cat $(SRCDIR)/*.h *.h | egrep '^[ ]*#[ ]*define[ ][ ]*[a-zA-Z_0-9]*[ ][ ]*[0-9][xabcdefABCDEF0-9]*[ ]*' ; \ echo "#define" `$(CPP) $(PREFLAGS) -DSTEP_BREAK_LINE='STEP_BREAK_LINE __LINE__' $(SRCDIR)/interpreter.h | grep STEP_BREAK_LINE` ) >pike.syms 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)' \