aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-10-28 14:46:43 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-10-28 14:46:43 +0000
commit7cd3ac24aedd39c638ae65cc2c220b127e6cb1b8 (patch)
tree1ac0b7ae972bc15823c81dccf5dabf68e55deb61 /Makefile
parent8790f667db66efd92333ddf1e4344e8803ef078d (diff)
Nouveaux fichiers dans Logic; prise en compte de l'option -strongly-classical la compilation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4728 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 69dbf1c10..5216d5516 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,7 @@ OCAMLC_P4O=$(OCAMLC) -pp $(CAMLP4O) $(BYTEFLAGS)
OCAMLOPT_P4O=$(OCAMLOPT) -pp $(CAMLP4O) $(OPTFLAGS)
CAMLP4EXTENDFLAGS=-I . pa_extend.cmo pa_extend_m.cmo pa_ifdef.cmo q_MLast.cmo
CAMLP4DEPS=sed -n -e 's|^(\*.*camlp4deps: "\(.*\)".*\*)$$|\1|p'
+LOGICDEP=sed -n -e 's|^(\*.*logic: "\(.*\)".*\*)$$|\1|p'
COQINCLUDES= # coqtop includes itself the needed paths
GLOB= # is "-dump-glob file" when making the doc
@@ -531,7 +532,9 @@ LOGICVO=\
theories/Logic/Classical_Pred_Type.vo theories/Logic/Classical_Prop.vo \
theories/Logic/ClassicalFacts.vo theories/Logic/ChoiceFacts.vo \
theories/Logic/Berardi.vo theories/Logic/Eqdep_dec.vo \
- theories/Logic/Decidable.vo theories/Logic/JMeq.vo
+ theories/Logic/Decidable.vo theories/Logic/JMeq.vo \
+ theories/Logic/ClassicalDescription.vo theories/Logic/ClassicalChoice.vo \
+ theories/Logic/RelationalChoice.vo
ARITHVO=\
theories/Arith/Arith.vo theories/Arith/Gt.vo \
@@ -793,7 +796,7 @@ newtheories/%.v: theories/%.vo
@cp -f theories/$*.v8 newtheories/$*.v
theories/%.vo: theories/%.v states/initial.coq
- $(BOOTCOQTOP) $(TRANSLATE) -compile theories/$*
+ $(BOOTCOQTOP) $(TRANSLATE) `$(LOGICDEP) $<` -compile theories/$*
newcontrib/%.v: contrib/%.vo
@$(MKDIR) newcontrib/`dirname $*`
@@ -806,7 +809,7 @@ newtheories/Init/%.vo: $(BESTCOQTOP) newtheories/Init/%.v
$(BOOTCOQTOP) -nois -compile $*
newtheories/%.vo: newtheories/%.v states/initialnew.coq
- $(BOOTCOQTOP) -compile newtheories/$*
+ $(BOOTCOQTOP) `$(LOGICDEP) $<` -compile newtheories/$*
newcontrib/%.vo: newcontrib/%.v states/initialnew.coq
$(BOOTCOQTOP) -compile newcontrib/$*