From 39861a12445742b481496baf2caafeb391773aba Mon Sep 17 00:00:00 2001 From: Pierre Letouzey Date: Tue, 21 Jun 2016 19:34:51 +0200 Subject: Makefile: compat5* moved in grammar/, less -I given to camlp4o --- tools/compat5.ml | 13 ------------- tools/compat5.mlp | 23 ----------------------- tools/compat5b.mlp | 23 ----------------------- tools/coq_makefile.ml | 6 +++--- 4 files changed, 3 insertions(+), 62 deletions(-) delete mode 100644 tools/compat5.ml delete mode 100644 tools/compat5.mlp delete mode 100644 tools/compat5b.mlp (limited to 'tools') diff --git a/tools/compat5.ml b/tools/compat5.ml deleted file mode 100644 index 33c1cd602b..0000000000 --- a/tools/compat5.ml +++ /dev/null @@ -1,13 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* ] -> - [< '(KEYWORD "EXTEND", loc); my_token_filter s >] - | [< 'tokloc; s >] -> [< 'tokloc; my_token_filter s >] - | [< >] -> [< >] - -let _ = - Token.Filter.define_filter (Gram.get_filter()) - (fun prev strm -> prev (my_token_filter strm)) diff --git a/tools/compat5b.mlp b/tools/compat5b.mlp deleted file mode 100644 index 46802a8259..0000000000 --- a/tools/compat5b.mlp +++ /dev/null @@ -1,23 +0,0 @@ -(************************************************************************) -(* v * The Coq Proof Assistant / The Coq Development Team *) -(* ] -> - [< 't; '(UIDENT "Gram", Loc.ghost); my_token_filter s >] - | [< 'tokloc; s >] -> [< 'tokloc; my_token_filter s >] - | [< >] -> [< >] - -let _ = - Token.Filter.define_filter (Gram.get_filter()) - (fun prev strm -> prev (my_token_filter strm)) diff --git a/tools/coq_makefile.ml b/tools/coq_makefile.ml index 45e843e609..65b2441f7d 100644 --- a/tools/coq_makefile.ml +++ b/tools/coq_makefile.ml @@ -532,11 +532,11 @@ let variables is_install opt (args,defs) = print "CAMLLIB?=$(shell $(OCAMLFIND) printconf stdlib)\n"; print "GRAMMARS?=grammar.cma\n"; print "ifeq ($(CAMLP4),camlp5) -CAMLP4EXTEND=pa_extend.cmo q_MLast.cmo pa_macro.cmo unix.cma threads.cma +CAMLP4EXTEND=pa_extend.cmo q_MLast.cmo pa_macro.cmo else -CAMLP4EXTEND=threads.cma +CAMLP4EXTEND= endif\n"; - print "PP?=-pp '$(CAMLP4O) -I $(CAMLLIB) -I $(CAMLLIB)/threads/ $(COQSRCLIBS) compat5.cmo \\ + print "PP?=-pp '$(CAMLP4O) -I $(CAMLLIB) -I $(COQLIB)/grammar compat5.cmo \\ $(CAMLP4EXTEND) $(GRAMMARS) $(CAMLP4OPTIONS) -impl'\n\n"; end; match is_install with -- cgit v1.2.3