source: doc/papers/concurrency/Makefile @ 1449d83

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 1449d83 was a43dd54, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

remove version and add Makefiles

  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[a43dd54]1## Define the configuration variables.
2
3Build = build
4Macros = ../../LaTeXmacros
5TeXLIB = .:style:annex:${Macros}:${Build}:/usr/local/bibliographies:
6LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} -interaction=nonstopmode
7BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
8
9MAKEFLAGS = --no-print-directory --silent #
10
11## Define the text source files.
12
13SOURCES = ${addsuffix .tex, \
14Paper \
15style/style \
16style/cfa-format \
17}
18
19FIGURES = ${addsuffix .tex, \
20monitor \
21ext_monitor \
22int_monitor \
23dependency \
24}
25
26PICTURES = ${addsuffix .pstex, \
27system \
28monitor_structs \
29}
30
31PROGRAMS = ${addsuffix .tex, \
32}
33
34GRAPHS = ${addsuffix .tex, \
35}
36
37## Define the documents that need to be made.
38
39DOCUMENT = Paper.pdf
40
41# Directives #
42
43.PHONY : all clean                                                                              # not file names
44
45all : ${DOCUMENT}
46
47clean :
48        @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
49
50# File Dependencies #
51
52${DOCUMENT} : ${basename ${DOCUMENT}}.ps
53        ps2pdf $<
54
55${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
56        dvips ${Build}/$< -o $@
57
58${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
59                        ${Macros}/common.tex ${Macros}/indexstyle annex/local.bib /usr/local/bibliographies/pl.bib
60        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi # Must have *.aux file containing citations for bibtex
61        -${BibTeX} ${Build}/${basename $@}                                      # Some citations reference others so run again to resolve these citations
62        ${LaTeX} ${basename $@}.tex
63        -${BibTeX} ${Build}/${basename $@}
64        ${LaTeX} ${basename $@}.tex                                                     # Finish citations
65
66## Define the default recipes.
67
68vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
69vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
70
71${Build}:
72        mkdir -p ${Build}
73
74%.tex : figures/%.fig
75        fig2dev -L eepic $< > ${Build}/$@
76
77%.ps : figures/%.fig
78        fig2dev -L ps $< > ${Build}/$@
79
80%.pstex : figures/%.fig
81        fig2dev -L pstex $< > ${Build}/$@
82        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
83
84# Local Variables: #
85# tab-width : 4 #
86# compile-command: "make" #
87# End: #
Note: See TracBrowser for help on using the repository browser.