diff options
| author | lmamane | 2007-01-10 15:44:44 +0000 |
|---|---|---|
| committer | lmamane | 2007-01-10 15:44:44 +0000 |
| commit | bce104e3bb510fb10df2ecddebb47514328f2b8d (patch) | |
| tree | 69b2d6f827128ec3a769f3af9e58ffd8a6670b22 /Makefile | |
| parent | fa49da538d1d65f34d7b7fd3c32e51ef7ff578a3 (diff) | |
Merge from Lionel Elie Mamane's private branch:
- Makefile: Option (environment variable NO_RECOMPILE_LIB) to not
recompile the whole standard library just because the coq binaries
got rebuilt.
- Infrastructure to change the object pretty-printers at runtime.
- Use that infrastructure to make coqtop-protocol with Pcoq trees and
Pcoq-protocol with pretty-printed terms possible in coq-interface.
- Make "Back(track)" into closed sections, modules and module types
"Just Workâ˘".
- Modernise/generalise Pcoq protocol a bit, make some of its warts
optional.
- Implement "Show." in Pcoq mode.
- Add Rpow_def.vo to REALSBASEVO so that its dependencies are
computed (and used).
- "make revision" now handles GNU Arch / tla in addition to svn.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9476 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 40 |
1 files changed, 32 insertions, 8 deletions
@@ -620,7 +620,11 @@ beforedepend:: ide/utf8_convert.ml COQIDEVO=ide/utf8.vo -$(COQIDEVO): states/initial.coq +ifdef NO_RECOMPILE_LIB + $(COQIDEVO): | states/initial.coq +else + $(COQIDEVO): states/initial.coq +endif $(BOOTCOQTOP) -compile $* IDEFILES=$(COQIDEVO) ide/utf8.v ide/coq.png ide/.coqide-gtk2rc @@ -961,7 +965,7 @@ REALSBASEVO=\ theories/Reals/Rdefinitions.vo \ theories/Reals/Raxioms.vo theories/Reals/RIneq.vo \ theories/Reals/DiscrR.vo theories/Reals/Rbase.vo \ - theories/Reals/LegacyRfield.vo + theories/Reals/LegacyRfield.vo theories/Reals/Rpow_def.vo REALS_basic= @@ -1086,7 +1090,11 @@ CONTRIBVO = $(OMEGAVO) $(ROMEGAVO) $(RINGVO) $(FIELDVO) $(XMLVO) \ $(FOURIERVO) $(JPROVERVO) $(CCVO) $(FUNINDVO) $(SUBTACVO) \ $(RTAUTOVO) $(RECDEFVO) $(NEWRINGVO) -$(CONTRIBVO): states/initial.coq +ifdef NO_RECOMPILE_LIB + $(CONTRIBVO): | states/initial.coq +else + $(CONTRIBVO): states/initial.coq +endif contrib: $(CONTRIBVO) $(CONTRIBCMO) omega: $(OMEGAVO) $(OMEGACMO) $(ROMEGAVO) $(ROMEGACMO) @@ -1114,10 +1122,18 @@ SYNTAXPP=syntax/PPConstr.v syntax/PPCases.v states/initial.coq: states/MakeInitial.v $(INITVO) $(BOOTCOQTOP) -batch -notop -silent -nois -load-vernac-source states/MakeInitial.v -outputstate states/initial.coq -theories/Init/%.vo: $(BESTCOQTOP) theories/Init/%.v +ifdef NO_RECOMPILE_LIB + theories/Init/%.vo: theories/Init/%.v | $(BESTCOQTOP) +else + theories/Init/%.vo: $(BESTCOQTOP) theories/Init/%.v +endif $(BOOTCOQTOP) -nois -compile theories/Init/$* -theories/%.vo: theories/%.v states/initial.coq +ifdef NO_RECOMPILE_LIB + theories/%.vo: theories/%.v | states/initial.coq +else + theories/%.vo: theories/%.v states/initial.coq +endif $(BOOTCOQTOP) -compile theories/$* contrib/%.vo: contrib/%.v @@ -1595,14 +1611,22 @@ parsing/lexer.cmo: parsing/lexer.ml4 .PHONY: revision revision: -ifeq ($(CHECKEDOUT),1) +ifeq ($(CHECKEDOUT),svn) - /bin/rm -f revision - if test -x `which svn`; then \ - export LANG=C; \ + if test -x "`which svn`"; then \ + LANG=C; export LANG; \ svn info . | sed -ne '/URL/s/.*\/\([^\/]\{1,\}\)/\1/p' > revision; \ svn info . | sed -ne '/Revision/s/Revision: \([0-9]\{1,\}\)/\1/p'>> revision; \ fi endif +ifeq ($(CHECKEDOUT),gnuarch) + - /bin/rm -f revision + if test -x "`which tla`"; then \ + LANG=C; export LANG; \ + tla tree-version > revision ; \ + tla tree-revision | sed -ne 's|.*--||p' >> revision ; \ + fi +endif archclean:: /bin/rm -f revision |
