source: doc/papers/concurrency/Makefile @ adb60242

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since adb60242 was b199e54, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

first complete draft

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