aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common
index 966829d5a..ceafbf474 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -59,16 +59,21 @@ COQBINARIES:= $(COQMKTOP) $(COQC) \
CSDPCERT:=plugins/micromega/csdpcert$(EXE)
-CORESRCDIRS:=\
- config lib kernel kernel/byterun library \
- proofs tactics pretyping interp toplevel \
- parsing printing grammar intf
+# Minimal set of source directories for building grammar.cma
+# Invariant: the .ml4 there shouldn't use grammar.cma
+# (the grammar-dependent .ml4 are in tactics, toplevel, plugins)
+GRAMSRCDIRS:=\
+ config lib intf kernel kernel/byterun library \
+ pretyping interp proofs parsing grammar
+
+CORESRCDIRS:= $(GRAMSRCDIRS) printing tactics toplevel
PLUGINS:=\
omega romega micromega quote \
setoid_ring xml extraction fourier \
cc funind firstorder Derive \
- rtauto nsatz syntax decl_mode btauto
+ rtauto nsatz syntax decl_mode \
+ btauto
SRCDIRS:=\
$(CORESRCDIRS) \