aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2004-08-26 12:42:14 +0000
committerherbelin2004-08-26 12:42:14 +0000
commit9ec85da38bedcc4e269ec51d7a0a215fbd21150b (patch)
treeebb03271ec0d72038c743788bdccf530ca4d2f25
parent4d2f8db5e9c01f109be09c6071f9f4eeae2116b7 (diff)
Dépendance en pa_ifdef dans la ligne camlp4deps de q_coqast induit make depend en erreur; déplacement de pa_ifdef dans MMakefile
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6037 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--Makefile6
-rw-r--r--parsing/q_coqast.ml42
2 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 06e8b8ddca..5af7d0b2e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1347,6 +1347,12 @@ ML4FILES +=parsing/g_basevernac.ml4 parsing/g_minicoq.ml4 \
# beforedepend:: parsing/pcoq.ml parsing/extend.ml
+# File using pa_ifdef and only necessary for parsing ml files
+
+parsing/q_coqast.cmo: parsing/q_coqast.ml4
+ $(SHOW)'OCAMLC4 $<'
+ $(HIDE)$(OCAMLC) $(BYTEFLAGS) -pp "$(CAMLP4O) $(CAMLP4EXTENDFLAGS) pa_ifdef.cmo -impl" -c -impl $<
+
# toplevel/mltop.ml4 (ifdef Byte)
toplevel/mltop.cmo: toplevel/mltop.byteml
diff --git a/parsing/q_coqast.ml4 b/parsing/q_coqast.ml4
index b804d4ce1a..5a214cde7f 100644
--- a/parsing/q_coqast.ml4
+++ b/parsing/q_coqast.ml4
@@ -8,8 +8,6 @@
(* $Id$ *)
-(* camlp4deps: "pa_ifdef.cmo" *)
-
open Util
open Names
open Libnames