aboutsummaryrefslogtreecommitdiff
path: root/Makefile.build
diff options
context:
space:
mode:
authorgareuselesinge2013-10-10 11:22:52 +0000
committergareuselesinge2013-10-10 11:22:52 +0000
commite0f8d741b933361fc33a4ccd683b0137c869c468 (patch)
tree04a0eb2cf4a90bca2bf9c9220cdb87bbedfabeff /Makefile.build
parent81cddc53da47e26bb43771e46e9a1ce03de60d60 (diff)
CoqIDE: move cmd_stack to a separate module: Document
The idea is to move the logic related to document handling to a separate module that can be tested by fake_ide too. CoqOps should "only" interface Document with the GtkTextBuffer. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16870 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build
index 99ef062b90..964a4694fd 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -541,9 +541,13 @@ $(COQDOC): $(patsubst %.cma,%$(BESTLIB),$(COQDOCCMO:.cmo=$(BESTOBJ)))
# fake_ide : for debugging or test-suite purpose, a fake ide simulating
# a connection to coqtop -ideslave
-$(FAKEIDE): lib/clib$(BESTLIB) lib/xml_lexer$(BESTOBJ) lib/xml_parser$(BESTOBJ) lib/xml_printer$(BESTOBJ) tools/fake_ide$(BESTOBJ)
+tools/fake_ide.cmo: COND_BYTEFLAGS+=-I ide
+
+tools/fake_ide.cmx: COND_OPTFLAGS+=-I ide
+
+$(FAKEIDE): lib/clib$(BESTLIB) lib/xml_lexer$(BESTOBJ) lib/xml_parser$(BESTOBJ) lib/xml_printer$(BESTOBJ) ide/document$(BESTOBJ) tools/fake_ide$(BESTOBJ)
$(SHOW)'OCAMLBEST -o $@'
- $(HIDE)$(call bestocaml,,str unix)
+ $(HIDE)$(call bestocaml,-I ide,str unix)
# votour: a small vo explorer (based on the checker)