3 # C Cross Referencing & Documentation tool. Version 1.5c.
5 # Documentation Makefile.
7 # Written by Andrew M. Bishop
9 # This file Copyright 1995,96,99,2001 Andrew M. Bishop
10 # It may be distributed under the GNU Public License, version 2, or
11 # any higher version. See section COPYING of the GNU Public license
12 # for conditions under which this file may be redistributed.
21 # The LaTeX and dvips programs
65 # Create the cross reference files
67 @cd
$(srcdir) && for file in
$(SRC_SOURCE_FILES
) ; do \
68 echo Cross referencing
$$file ; \
69 ( cd ..
; $(objdir
)/cxref
-xref
-O
$(objdir
)/doc
-Ncxref
$$file -I
$(objdir
) ) ; \
71 @for file in
$(OBJ_SOURCE_FILES
) ; do \
72 echo Cross referencing
$$file ; \
73 ( cd ..
; $(objdir
)/cxref
-xref
-O
$(objdir
)/doc
-Ncxref
$$file -I.
) ; \
76 # Create the source files using cxref
78 @cd
$(srcdir) && for file in
$(SRC_SOURCE_FILES
) ; do \
79 echo Documenting
$$file ; \
80 ( cd ..
; $(objdir
)/cxref
-warn-xref
-xref
-O
$(objdir
)/doc
-Ncxref
-latex2e
-html32-src
-rtf
-sgml
$$file -I
$(objdir
) ) ; \
82 @for file in
$(OBJ_SOURCE_FILES
) ; do \
83 echo Documenting
$$file ; \
84 ( cd ..
; $(objdir
)/cxref
-warn-xref
-xref
-O
$(objdir
)/doc
-Ncxref
-latex2e
-html32-src
-rtf
-sgml
$$file -I.
) ; \
87 # Create the index using cxref
90 @
( cd ..
; $(objdir
)/cxref
-index-all
-O
$(objdir
)/doc
-Ncxref
-latex2e
-html32
-rtf
-sgml
)
96 # Create the final output using latex
98 [ "x$(LATEX)" = "x" ] ||
$(LATEX
) cxref.
tex > /dev
/null
2>&1
100 # Create the cross references using latex
102 [ "x$(LATEX)" = "x" ] ||
$(LATEX
) cxref.
tex
108 *.sty
*.
tex *.html
*.rtf
*.sgml \
109 cxref.function cxref.
include cxref.typedef cxref.variable \
110 cxref.aux cxref.
dvi cxref.log cxref.toc