source: doc/papers/concurrency/Makefile @ 04396aa

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 04396aa was 7261e3c, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

add new diagrams

  • 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
[3b1825b]6TeXLIB = .:../../LaTeXmacros:${Macros}:${Build}:
[5ff188f]7LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
[3b1825b]8BibTeX = BIBINPUTS=annex:../../bibliography: && export BIBINPUTS && bibtex
[a43dd54]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, \
[7261e3c]26FullProdConsStack \
27FullCoroutinePhases \
28corlayout \
[6d43cc57]29monitor \
30ext_monitor \
[a43dd54]31system \
32monitor_structs \
33}
34
35PROGRAMS = ${addsuffix .tex, \
36}
37
38GRAPHS = ${addsuffix .tex, \
39}
40
41## Define the documents that need to be made.
42
43DOCUMENT = Paper.pdf
[d5ccbe9]44BASE = ${basename ${DOCUMENT}}
[a43dd54]45
46# Directives #
47
[5ff188f]48.PHONY : all clean                                      # not file names
[a43dd54]49
50all : ${DOCUMENT}
51
52clean :
[d5ccbe9]53        @rm -frv ${DOCUMENT} ${BASE}.ps WileyNJD-AMA.bst ${BASE}.out.ps ${Build}
[a43dd54]54
55# File Dependencies #
56
[d5ccbe9]57${DOCUMENT} : ${BASE}.ps
[a43dd54]58        ps2pdf $<
59
[d5ccbe9]60${BASE}.ps : ${BASE}.dvi
[a43dd54]61        dvips ${Build}/$< -o $@
62
[6d43cc57]63${BASE}.dvi : Makefile ${BASE}.out.ps WileyNJD-AMA.bst ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
64                annex/local.bib ../../bibliography/pl.bib | ${Build}
[5ff188f]65        # Must have *.aux file containing citations for bibtex
66        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
[6d43cc57]67        -${BibTeX} ${Build}/${basename $@}
[5ff188f]68        # Some citations reference others so run again to resolve these citations
[a43dd54]69        ${LaTeX} ${basename $@}.tex
[6d43cc57]70        -${BibTeX} ${Build}/${basename $@}
[5ff188f]71        # Run again to finish citations
72        ${LaTeX} ${basename $@}.tex
[a43dd54]73
74## Define the default recipes.
75
[6d43cc57]76${Build} :
[a43dd54]77        mkdir -p ${Build}
78
[6d43cc57]79${BASE}.out.ps : | ${Build}
[fb16d5c]80        ln -fs ${Build}/Paper.out.ps .
[d5ccbe9]81
[6d43cc57]82WileyNJD-AMA.bst :
[d046db2]83        ln -fs ../AMA/AMA-stix/ama/WileyNJD-AMA.bst .
[d5ccbe9]84
[6d43cc57]85%.tex : %.fig | ${Build}
[a43dd54]86        fig2dev -L eepic $< > ${Build}/$@
87
[6d43cc57]88%.ps : %.fig | ${Build}
[a43dd54]89        fig2dev -L ps $< > ${Build}/$@
90
[6d43cc57]91%.pstex : %.fig | ${Build}
[a43dd54]92        fig2dev -L pstex $< > ${Build}/$@
93        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
94
95# Local Variables: #
96# compile-command: "make" #
97# End: #
Note: See TracBrowser for help on using the repository browser.