swh:1:snp:f54a27e650a8acca38b6d19c9bf2c307c6c07756
Tip revision: 6c45bfc340132005739493a9b4e4a12a1a40cf2e authored by Matthieu Sozeau on 07 June 2019, 15:01:16 UTC
WIP fixing compilation of plugins
WIP fixing compilation of plugins
Tip revision: 6c45bfc
Makefile
# Local dependencies for local builds.
# When building the packages separately, DEPS is not used as everything
# should already be available in $(COQMF_LIB)/user-contrib/MetaCoq/*
# checker is treated specially: due to code generation, we rebuild the template-coq module locally
# when building the checker package
DEPS ?= -I ../template-coq/src \
-R ../template-coq/theories MetaCoq.Template \
-I ../checker/src \
-R ../checker/theories MetaCoq.Checker \
-I ../pcuic/src \
-R ../pcuic/theories MetaCoq.PCUIC
all: template-coq checker pcuic extraction
.PHONY: all template-coq checker install html clean mrproper .merlin test-suite translations
install:
$(MAKE) -C template-coq install
$(MAKE) -C checker install
$(MAKE) -C pcuic install
$(MAKE) -C extraction install
html: all
$(MAKE) -C template-coq html
$(MAKE) -C pcuic html
$(MAKE) -C extraction html
mv template-coq/html/*.html html
rm template-coq/html/coqdoc.css
rm -d template-coq/html
clean:
$(MAKE) -C template-coq clean
$(MAKE) -C pcuic clean
$(MAKE) -C extraction clean
$(MAKE) -C checker clean
$(MAKE) -C test-suite clean
$(MAKE) -C translations clean
mrproper:
$(MAKE) -C template-coq mrproper
$(MAKE) -C pcuic mrproper
$(MAKE) -C extraction mrproper
$(MAKE) -C checker mrproper
.merlin:
$(MAKE) -C template-coq .merlin
$(MAKE) -C pcuic .merlin
$(MAKE) -C extraction .merlin
$(MAKE) -C checker .merlin
template-coq:
$(MAKE) -C template-coq
pcuic: template-coq
$(MAKE) -C pcuic DEPS="$(DEPS)"
extraction: checker template-coq pcuic
$(MAKE) -C extraction DEPS="$(DEPS)"
checker: template-coq
./movefiles.sh
$(MAKE) -C checker
test-suite: template-coq checker
$(MAKE) -C test-suite
translations: template-coq
$(MAKE) -C translations