@@ -21,7 +21,7 @@ COQLIB=$(shell $(COQC) -where | tr -d '\r' | tr '\\' '/')
2121
2222# Check Coq version
2323
24- COQVERSION = 8.19.1 or-else 8.19.2 or-else 8.20.0 or-else 8.20.1
24+ COQVERSION = 8.19.1 or-else 8.19.2 or-else 8.20.0 or-else 8.20.1 or-else 9.0.0 orelse 9.1.0 or-else 9.2+alpha
2525
2626COQV =$(shell $(COQC ) -v)
2727ifneq ($(IGNORECOQVERSION ) ,true)
@@ -303,6 +303,7 @@ CGFLAGS = -DCOMPCERT -short-idents
303303
304304# ##### Interaction Trees Flags #####
305305
306+ # as of 1 July 2025, coq-itree package seems not compatible with rocq 9.2+alpha, so still using submodule
306307ifneq ($(wildcard InteractionTrees/theories) ,)
307308EXTFLAGS: =$(EXTFLAGS ) -Q InteractionTrees/theories ITree
308309endif
@@ -315,9 +316,10 @@ endif#
315316
316317# ##### PaCo (Parameterized Coinduction) Flags #####
317318
318- ifneq ($(wildcard paco/src) ,)
319- EXTFLAGS: =$(EXTFLAGS ) -Q paco/src Paco
320- endif
319+ # the following commented out, because we get from opam instead of submodules
320+ # ifneq ($(wildcard paco/src),)
321+ # EXTFLAGS:=$(EXTFLAGS) -Q paco/src Paco
322+ # endif
321323
322324# ##### SSReflect Flags #####
323325
@@ -327,7 +329,10 @@ endif
327329
328330# ##### Flag summary #####
329331
330- COQFLAGS =$(foreach d, $(VSTDIRS ) , $(if $(wildcard $(d ) ) , -Q $(d ) VST.$(d ) ) ) $(foreach d, $(OTHERDIRS ) , $(if $(wildcard $(d ) ) , -Q $(d ) $(d ) ) ) $(EXTFLAGS ) $(SHIM ) # -Q ../stdpp/theories stdpp -Q ../iris/iris iris -Q ../InteractionTrees/theories ITree -Q ../paco/src Paco -Q ../coq-ext-lib/theories ExtLib -Q ../fcf/src/fcf FCF
332+ COQFLAGS =$(foreach d, $(VSTDIRS ) , $(if $(wildcard $(d ) ) , -Q $(d ) VST.$(d ) ) ) $(foreach d, $(OTHERDIRS ) , $(if $(wildcard $(d ) ) , -Q $(d ) $(d ) ) ) $(EXTFLAGS ) $(SHIM ) # -Q ../stdpp/theories stdpp -Q ../iris/iris iris -Q ../InteractionTrees/theories ITree -Q ../fcf/src/fcf FCF
333+
334+ # old version with paco, coq-ext-lib; we now obtain these from opam environment instead of submodules
335+ # COQFLAGS=$(foreach d, $(VSTDIRS), $(if $(wildcard $(d)), -Q $(d) VST.$(d))) $(foreach d, $(OTHERDIRS), $(if $(wildcard $(d)), -Q $(d) $(d))) $(EXTFLAGS) $(SHIM) # -Q ../stdpp/theories stdpp -Q ../iris/iris iris -Q ../InteractionTrees/theories ITree -Q ../paco/src Paco -Q ../coq-ext-lib/theories ExtLib -Q ../fcf/src/fcf FCF
331336
332337
333338DEPFLAGS: =$(COQFLAGS )
@@ -829,7 +834,7 @@ VST.config:
829834
830835# Note: doc files are installed into the coq destination folder.
831836# This is not ideal but otherwise it gets tricky to handle variants
832- install : VST.config
837+ install : VST.config vst
833838 install -d " $( INSTALLDIR) "
834839 for d in $( sort $( dir $( INSTALL_FILES) $( EXTRA_INSTALL_FILES) ) ) ; do install -d " $( INSTALLDIR) /$$ d" ; done
835840 for f in $( INSTALL_FILES) ; do install -m 0644 $$ f " $( INSTALLDIR) /$$ (dirname $$ f)" ; done
@@ -923,15 +928,16 @@ endif
923928# ifneq ($(wildcard coq-ext-lib/theories),)
924929# $(COQDEP) -Q coq-ext-lib/theories ExtLib coq-ext-lib/theories >>.depend
925930# endif
931+
926932ifneq ($(wildcard InteractionTrees/theories) ,)
927- # $(COQDEP) -Q coq-ext-lib/theories ExtLib -Q paco/src Paco -Q InteractionTrees/theories ITree InteractionTrees/theories >>.depend
928- $(COQDEP) -Q paco/src Paco -Q InteractionTrees/theories ITree InteractionTrees/theories >>.depend
933+ $(COQDEP) -Q InteractionTrees/theories ITree InteractionTrees/theories >>.depend
929934endif
935+ # the following commented out, because we get from opam instead of submodules
936+ # ifneq ($(wildcard paco/src),)
937+ # $(COQDEP) -Q paco/src Paco paco/src/*.v >>.depend
938+ # endif
930939ifneq ($(wildcard fcf/src/FCF) ,)
931940 $(COQDEP) -Q fcf/src/FCF FCF fcf/src/FCF/*.v >>.depend
932- endif
933- ifneq ($(wildcard paco/src) ,)
934- $(COQDEP) -Q paco/src Paco paco/src/*.v >>.depend
935941endif
936942 wc .depend
937943
0 commit comments