Index: doc/papers/concurrency/Makefile
===================================================================
--- doc/papers/concurrency/Makefile	(revision a43dd549e90bdc806c0d76e79211059557128362)
+++ doc/papers/concurrency/Makefile	(revision a43dd549e90bdc806c0d76e79211059557128362)
@@ -0,0 +1,87 @@
+## Define the configuration variables.
+
+Build = build
+Macros = ../../LaTeXmacros
+TeXLIB = .:style:annex:${Macros}:${Build}:/usr/local/bibliographies:
+LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} -interaction=nonstopmode
+BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
+
+MAKEFLAGS = --no-print-directory --silent #
+
+## Define the text source files.
+
+SOURCES = ${addsuffix .tex, \
+Paper \
+style/style \
+style/cfa-format \
+}
+
+FIGURES = ${addsuffix .tex, \
+monitor \
+ext_monitor \
+int_monitor \
+dependency \
+}
+
+PICTURES = ${addsuffix .pstex, \
+system \
+monitor_structs \
+}
+
+PROGRAMS = ${addsuffix .tex, \
+}
+
+GRAPHS = ${addsuffix .tex, \
+}
+
+## Define the documents that need to be made.
+
+DOCUMENT = Paper.pdf
+
+# Directives #
+
+.PHONY : all clean										# not file names
+
+all : ${DOCUMENT}
+
+clean :
+	@rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
+
+# File Dependencies #
+
+${DOCUMENT} : ${basename ${DOCUMENT}}.ps
+	ps2pdf $<
+
+${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
+	dvips ${Build}/$< -o $@
+
+${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
+			${Macros}/common.tex ${Macros}/indexstyle annex/local.bib /usr/local/bibliographies/pl.bib
+	if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi # Must have *.aux file containing citations for bibtex
+	-${BibTeX} ${Build}/${basename $@}					# Some citations reference others so run again to resolve these citations
+	${LaTeX} ${basename $@}.tex
+	-${BibTeX} ${Build}/${basename $@}
+	${LaTeX} ${basename $@}.tex							# Finish citations
+
+## Define the default recipes.
+
+vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}	# add prefix for source
+vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}	# add prefix for source
+
+${Build}:
+	mkdir -p ${Build}
+
+%.tex : figures/%.fig
+	fig2dev -L eepic $< > ${Build}/$@
+
+%.ps : figures/%.fig
+	fig2dev -L ps $< > ${Build}/$@
+
+%.pstex : figures/%.fig
+	fig2dev -L pstex $< > ${Build}/$@
+	fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
+
+# Local Variables: #
+# tab-width : 4 #
+# compile-command: "make" #
+# End: #
