aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-22 17:12:33 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-04-22 17:12:33 +0000
commitb09555cf701bbd02b6cbb8fdf020c0915869d2b8 (patch)
treeb954d0f1454aa9442b2bffa9e215dc756d1c6b5b /etc/coq
parent698367eff91532092cc5efe013adc073367845c2 (diff)
New files.
Diffstat (limited to 'etc/coq')
-rw-r--r--etc/coq/multiple/Makefile172
-rw-r--r--etc/coq/multiple/b1.v4
-rw-r--r--etc/coq/multiple/b2.v1
-rw-r--r--etc/coq/multiple/d.v5
4 files changed, 182 insertions, 0 deletions
diff --git a/etc/coq/multiple/Makefile b/etc/coq/multiple/Makefile
new file mode 100644
index 00000000..3ef19f1a
--- /dev/null
+++ b/etc/coq/multiple/Makefile
@@ -0,0 +1,172 @@
+##############################################################################
+## The Calculus of Inductive Constructions ##
+## ##
+## Projet Coq ##
+## ##
+## INRIA ENS-CNRS ##
+## Rocquencourt Lyon ##
+## ##
+## Coq V7 ##
+## ##
+## ##
+##############################################################################
+
+# WARNING
+#
+# This Makefile has been automagically generated by coq_makefile
+# Edit at your own risks !
+#
+# END OF WARNING
+
+#
+# This Makefile was generated by the command line :
+# coq_makefile a.v b1.v b2.v b.v c.v d.v
+#
+
+##########################
+# #
+# Variables definitions. #
+# #
+##########################
+
+CAMLP4LIB=`camlp4 -where`
+COQSRC=-I $(COQTOP)/kernel -I $(COQTOP)/lib \
+ -I $(COQTOP)/library -I $(COQTOP)/parsing \
+ -I $(COQTOP)/pretyping -I $(COQTOP)/interp \
+ -I $(COQTOP)/proofs -I $(COQTOP)/syntax -I $(COQTOP)/tactics \
+ -I $(COQTOP)/toplevel -I $(COQTOP)/contrib/correctness \
+ -I $(COQTOP)/contrib/extraction -I $(COQTOP)/contrib/field \
+ -I $(COQTOP)/contrib/fourier -I $(COQTOP)/contrib/graphs \
+ -I $(COQTOP)/contrib/interface -I $(COQTOP)/contrib/jprover \
+ -I $(COQTOP)/contrib/omega -I $(COQTOP)/contrib/romega \
+ -I $(COQTOP)/contrib/ring -I $(COQTOP)/contrib/xml \
+ -I $(CAMLP4LIB)
+ZFLAGS=$(OCAMLLIBS) $(COQSRC)
+OPT=
+COQFLAGS=-q $(OPT) $(COQLIBS) $(OTHERFLAGS) $(COQ_XML)
+COQC=$(COQBIN)coqc
+GALLINA=gallina
+COQDOC=coqdoc
+CAMLC=ocamlc -c
+CAMLOPTC=ocamlopt -c
+CAMLLINK=ocamlc
+CAMLOPTLINK=ocamlopt
+COQDEP=$(COQBIN)coqdep -c
+GRAMMARS=grammar.cma
+CAMLP4EXTEND=pa_extend.cmo pa_ifdef.cmo q_MLast.cmo
+PP=-pp "camlp4o -I . -I $(COQTOP)/parsing $(CAMLP4EXTEND) $(GRAMMARS) -impl"
+
+#########################
+# #
+# Libraries definition. #
+# #
+#########################
+
+OCAMLLIBS=-I .
+COQLIBS=-I .
+
+###################################
+# #
+# Definition of the "all" target. #
+# #
+###################################
+
+VFILES=a.v\
+ b1.v\
+ b2.v\
+ b.v\
+ c.v\
+ d.v
+VOFILES=$(VFILES:.v=.vo)
+VIFILES=$(VFILES:.v=.vi)
+GFILES=$(VFILES:.v=.g)
+HTMLFILES=$(VFILES:.v=.html)
+GHTMLFILES=$(VFILES:.v=.g.html)
+
+all: a.vo\
+ b1.vo\
+ b2.vo\
+ b.vo\
+ c.vo\
+ d.vo
+
+spec: $(VIFILES)
+
+gallina: $(GFILES)
+
+html: $(HTMLFILES)
+
+gallinahtml: $(GHTMLFILES)
+
+all.ps: $(VFILES)
+ $(COQDOC) -ps -o $@ `$(COQDEP) -sort -suffix .v $(VFILES)`
+
+all-gal.ps: $(VFILES)
+ $(COQDOC) -ps -g -o $@ `$(COQDEP) -sort -suffix .v $(VFILES)`
+
+
+
+####################
+# #
+# Special targets. #
+# #
+####################
+
+.PHONY: all opt byte archclean clean install depend html
+
+.SUFFIXES: .v .vo .vi .g .html .tex .g.tex .g.html
+
+.v.vo:
+ $(COQC) $(COQDEBUG) $(COQFLAGS) $*
+
+.v.vi:
+ $(COQC) -i $(COQDEBUG) $(COQFLAGS) $*
+
+.v.g:
+ $(GALLINA) $<
+
+.v.tex:
+ $(COQDOC) -latex $< -o $@
+
+.v.html:
+ $(COQDOC) -html $< -o $@
+
+.v.g.tex:
+ $(COQDOC) -latex -g $< -o $@
+
+.v.g.html:
+ $(COQDOC) -html -g $< -o $@
+
+byte:
+ $(MAKE) all "OPT="
+
+opt:
+ $(MAKE) all "OPT=-opt"
+
+include .depend
+
+.depend depend:
+ rm -f .depend
+ $(COQDEP) -i $(COQLIBS) *.v *.ml *.mli >.depend
+ $(COQDEP) $(COQLIBS) -suffix .html *.v >>.depend
+
+install:
+ mkdir -p `$(COQC) -where`/user-contrib
+ cp -f *.vo `$(COQC) -where`/user-contrib
+
+clean:
+ rm -f *.cmo *.cmi *.cmx *.o *.vo *.vi *.g *~
+ rm -f all.ps all-gal.ps $(HTMLFILES) $(GHTMLFILES)
+
+archclean:
+ rm -f *.cmx *.o
+
+html:
+
+# WARNING
+#
+# This Makefile has been automagically generated by coq_makefile
+# Edit at your own risks !
+#
+# END OF WARNING
+
diff --git a/etc/coq/multiple/b1.v b/etc/coq/multiple/b1.v
new file mode 100644
index 00000000..24ec8cff
--- /dev/null
+++ b/etc/coq/multiple/b1.v
@@ -0,0 +1,4 @@
+Require b2.
+
+Parameter b1:Set.
+
diff --git a/etc/coq/multiple/b2.v b/etc/coq/multiple/b2.v
new file mode 100644
index 00000000..b29c5e68
--- /dev/null
+++ b/etc/coq/multiple/b2.v
@@ -0,0 +1 @@
+Parameter b2:Set.
diff --git a/etc/coq/multiple/d.v b/etc/coq/multiple/d.v
new file mode 100644
index 00000000..4789c998
--- /dev/null
+++ b/etc/coq/multiple/d.v
@@ -0,0 +1,5 @@
+Require a.
+
+Parameter d:Set.
+
+