1 # Copyright (c) 2002 Trustees of Indiana University
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
17 .SUFFIXES
: .
tex .
dvi .ps .pdf .c .lg .eps .fig .gif .dot .w .
cpp .o .exe
20 @ if
test ! -f
$*.ind
; then echo
"" > $*.ind
; fi
22 @ if
( grep
'LaTeX Warning: Label(s) may' $*.log
> /dev
/null
); \
24 @ if
( grep
'LaTeX Warning: Citation' $*.log
> /dev
/null
); \
25 then bibtex
$* ; $(LATEX
) $* ; fi
26 @ if
( grep
'LaTeX Warning: Label(s) may' $*.log
> /dev
/null
); \
28 @ if
( grep
'LaTeX Warning: Label(s) may' $*.log
> /dev
/null
); \
30 @ if
( grep
'Writing index file' $*.log
> /dev
/null
); \
31 then makeindex
$* ; $(LATEX
) $* ; fi
32 @ if
( grep
'LaTeX Warning: Label(s) may' $*.log
> /dev
/null
); \
34 @ if
( grep
'LaTeX Warning: Label(s) may' $*.log
> /dev
/null
); \
38 $(DVIPS
) -t letter
-o
$*.ps
$*
44 dot
-Tps
-o
$*.eps
$*.dot
46 .w.
tex: /afs
/nd.edu
/user11
/jsiek
/.jweb
50 BOOST_ALGO
= $(HOME
)/boost.algorithm
52 INCLUDES
= -I
$(BOOST
) -I
$(BOOST_ALGO
)
53 #OPT = +K2 --display_error_number --diag_suppress=186
54 OPT
= -Wall
-Wno-long-double
-ftemplate-depth-30
55 CXXFLAGS
= $(OPT
) $(INCLUDES
)
58 $(CXX
) $(CXXFLAGS
) $< -c
61 JWEB
= isomorphism-impl.w isomorphism-impl-v3.w
62 DOT
= out.dot in.dot iso-eg.dot iso-eg2.dot
63 EPS_GEN
= $(DOT
:.dot
=.eps
)
64 WEBTEX
= $(JWEB
:.w
=.
tex)
65 PDFPICT
= $(EPS_GEN
:.eps
=.pdf
)
67 default
: isomorphism-impl-v3.
$(RESULT
)
69 final
: isomorphism-impl-v3.
$(RESULT
)
70 $(LATEX
) isomorphism-impl-v3
71 csh .
/mungeaux.csh
*.aux
72 $(LATEX
) isomorphism-impl-v3
74 #isomorphism-impl.dvi: $(EPS_GEN) $(WEBTEX)
75 #isomorphism-impl.ps: isomorphism-impl.dvi
76 #isomorphism-impl.pdf: $(EPS_GEN) $(PDFPICT) $(WEBTEX)
77 #isomorphism.hpp: isomorphism-impl.w isomorphism-impl.tex
79 isomorphism-impl-v3.
dvi: $(DOT
) $(EPS_GEN
) $(WEBTEX
)
80 isomorphism-impl-v3.ps
: isomorphism-impl-v3.
dvi
81 isomorphism-impl-v3.pdf
: $(EPS_GEN
) $(PDFPICT
) $(WEBTEX
)
83 isomorphism-v3.hpp
: isomorphism-impl-v3.w isomorphism-impl-v3.
tex
85 out.dot
: isomorphism-impl.
tex
86 in.dot
: isomorphism-impl.
tex
88 isomorphism.o
: isomorphism-v3.hpp isomorphism-impl-v3.w
90 isomorphism
: isomorphism.o
91 $(CXX
) $(CXXFLAGS
) $< -o
$@
$(LIBS
)
93 isomorphism-v3.hpp
: isomorphism-impl-v3.
tex isomorphism-impl-v3.w
94 eg1-iso.o
: isomorphism-impl-v3.
tex isomorphism-impl-v3.w
97 $(CXX
) $(CXXFLAGS
) $< -o
$@
$(LIBS
)
101 rm *.aux
*.
dvi $(EPS_GEN
) $(PDFPICT
)