diff options
| author | Dan Rostovtsev <dan@rostovtsev.org> | 2026-04-02 12:15:09 -0400 |
|---|---|---|
| committer | Dan Rostovtsev <dan@rostovtsev.org> | 2026-04-02 12:15:09 -0400 |
| commit | 5bc5e17dc6981ef19ad213984929aed931d98651 (patch) | |
| tree | 630a07e8ba8293ae425607d0feb5a3d3573571b9 /Makefile.in | |
| parent | 260fd7480c613205ab779b69e354ecf8f8b9a131 (diff) | |
Lambda v0.0.0v0.0.0
Diffstat (limited to 'Makefile.in')
| -rw-r--r-- | Makefile.in | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..d43e8f1 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,70 @@ +CONTRIB=$(DESTDIR)/@prefix@/lib/coq/user-contrib +COQC=@COQC@ +COQBIN=@COQBIN@ + +srcs=theories \ + ChangeLog \ + Makefile.in \ + configure.ac \ + configure \ + _CoqProject \ + NEWS \ + AUTHORS \ + INSTALL \ + README.md \ + COPYING + +# PACKAGE_NAME / PACKAGE_VERSION from AC_INIT +rel=@PACKAGE_NAME@-@PACKAGE_VERSION@ + +KNOWNFILES := Makefile _CoqProject configure.ac configure +.DEFAULT_GOAL := invoke-coqmakefile + +configure: configure.ac + autoconf + +CoqMakefile: Makefile _CoqProject + $(COQBIN)/coq_makefile -f _CoqProject -o CoqMakefile + +invoke-coqmakefile: CoqMakefile + make COQBIN=$(COQBIN) COQLIBINSTALL=$(CONTRIB) \ + -f CoqMakefile \ + $(filter-out $(KNOWNTARGETS), $(MAKECMDGOALS)) + +check: + make -f COQBIN=$(COQBIN) CoqMakefile validate + +AUTOCONF_FILES=aclocal.m4 \ + autom4te.cache \ + config.log \ + config.status \ + configure \ + install-sh \ + missing +AUTOMAKE_FILES=Makefile +BUILD_FILES=$$(find . -name "*.tar.gz") $$(find . -name "*~") +distclean: + rm -rf $(AUTOCONF_FILES) $(AUTOMAKE_FILES) +clean: + rm -rf $(BUILD_FILES) + rm -rf theories/*.vo theories/*.vok theories/*.glob theories/*.vos theories/*.aux + rm -rf CoqMakefile CoqMakefile.conf + rm -rf $(rel) + +dist: configure + rm -rf $(rel) + mkdir -p $(rel) + rm -rf theories/*.vo theories/*.vok theories/*.glob theories/*.vos theories/.*.aux + cp -r $(srcs) $(rel) + tar -czf $(rel).tar.gz $(rel) + rm -rf $(rel) + +distcheck: dist + tar -xzf $(rel).tar.gz + cd $(rel); ./configure; make + rm -rf $(rel) + +.PHONY: invoke-coqmakefile $(KNOWNFILES) + +%: invoke-coqmakefile + @true |
