Internals: Cleanup Makefile.in to commented sections. No functional change intended.
This commit is contained in:
parent
19170badd3
commit
48a607cc78
59
Makefile.in
59
Makefile.in
|
|
@ -97,6 +97,7 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
|
|
||||||
#### End of system configuration section. ####
|
#### End of system configuration section. ####
|
||||||
######################################################################
|
######################################################################
|
||||||
|
# Main build targets
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
|
|
@ -147,6 +148,9 @@ verilator_exe verilator_bin$(EXEEXT) verilator_bin_dbg$(EXEEXT) verilator_covera
|
||||||
@echo "making verilator in src"
|
@echo "making verilator in src"
|
||||||
$(MAKE) -C src $(OBJCACHE_JOBS)
|
$(MAKE) -C src $(OBJCACHE_JOBS)
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Tests
|
||||||
|
|
||||||
.PHONY:msg_test
|
.PHONY:msg_test
|
||||||
msg_test: all_nomsg
|
msg_test: all_nomsg
|
||||||
@echo "Build complete!"
|
@echo "Build complete!"
|
||||||
|
|
@ -184,6 +188,9 @@ examples: all_nomsg
|
||||||
$(MAKE) -C $$p VERILATOR_ROOT=`pwd` || exit 10; \
|
$(MAKE) -C $$p VERILATOR_ROOT=`pwd` || exit 10; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Docs
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: info
|
docs: info
|
||||||
|
|
||||||
|
|
@ -205,6 +212,20 @@ verilator.html:
|
||||||
verilator.pdf: Makefile
|
verilator.pdf: Makefile
|
||||||
$(MAKE) -C docs verilator.pdf
|
$(MAKE) -C docs verilator.pdf
|
||||||
|
|
||||||
|
TAGFILES=${srcdir}/*/*.cpp ${srcdir}/*/*.h ${srcdir}/*/*.in \
|
||||||
|
${srcdir}/*.in ${srcdir}/*.pod
|
||||||
|
|
||||||
|
TAGS: $(TAGFILES)
|
||||||
|
etags $(TAGFILES)
|
||||||
|
|
||||||
|
.PHONY: doxygen
|
||||||
|
|
||||||
|
doxygen:
|
||||||
|
$(MAKE) -C docs doxygen
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Install
|
||||||
|
|
||||||
# Public executables intended to be invoked directly by the user
|
# Public executables intended to be invoked directly by the user
|
||||||
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
||||||
VL_INST_PUBLIC_SCRIPT_FILES = verilator \
|
VL_INST_PUBLIC_SCRIPT_FILES = verilator \
|
||||||
|
|
@ -345,6 +366,19 @@ install-all: installbin installredirect installman installdata install-msg
|
||||||
|
|
||||||
install-here: installman info
|
install-here: installman info
|
||||||
|
|
||||||
|
install-msg:
|
||||||
|
@echo
|
||||||
|
@echo "Installed binaries to $(DESTDIR)$(bindir)/verilator"
|
||||||
|
@echo "Installed man to $(DESTDIR)$(mandir)/man1"
|
||||||
|
@echo "Installed examples to $(DESTDIR)$(pkgdatadir)/examples"
|
||||||
|
@echo
|
||||||
|
@echo "For documentation see 'man verilator' or 'verilator --help'"
|
||||||
|
@echo "For forums and to report bugs see https://verilator.org"
|
||||||
|
@echo
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Format/Lint
|
||||||
|
|
||||||
# Use --xml flag to see the cppcheck code to use for suppression
|
# Use --xml flag to see the cppcheck code to use for suppression
|
||||||
CPPCHECK1_CPP = $(wildcard $(srcdir)/include/*.cpp)
|
CPPCHECK1_CPP = $(wildcard $(srcdir)/include/*.cpp)
|
||||||
CPPCHECK2_CPP = $(wildcard $(srcdir)/examples/*/*.cpp)
|
CPPCHECK2_CPP = $(wildcard $(srcdir)/examples/*/*.cpp)
|
||||||
|
|
@ -492,15 +526,8 @@ lint-py-ruff:
|
||||||
format-exec:
|
format-exec:
|
||||||
-chmod a+x test_regress/t/*.py
|
-chmod a+x test_regress/t/*.py
|
||||||
|
|
||||||
install-msg:
|
######################################################################
|
||||||
@echo
|
# Configure
|
||||||
@echo "Installed binaries to $(DESTDIR)$(bindir)/verilator"
|
|
||||||
@echo "Installed man to $(DESTDIR)$(mandir)/man1"
|
|
||||||
@echo "Installed examples to $(DESTDIR)$(pkgdatadir)/examples"
|
|
||||||
@echo
|
|
||||||
@echo "For documentation see 'man verilator' or 'verilator --help'"
|
|
||||||
@echo "For forums and to report bugs see https://verilator.org"
|
|
||||||
@echo
|
|
||||||
|
|
||||||
IN_WILD := ${srcdir}/*.in ${srcdir}/*/*.in
|
IN_WILD := ${srcdir}/*.in ${srcdir}/*/*.in
|
||||||
|
|
||||||
|
|
@ -521,6 +548,9 @@ else
|
||||||
autoconf
|
autoconf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Clean
|
||||||
|
|
||||||
maintainer-clean::
|
maintainer-clean::
|
||||||
@echo "This command is intended for maintainers to use;"
|
@echo "This command is intended for maintainers to use;"
|
||||||
@echo "rebuilding the deleted files requires autoconf."
|
@echo "rebuilding the deleted files requires autoconf."
|
||||||
|
|
@ -551,17 +581,6 @@ distclean maintainer-clean::
|
||||||
rm -f bin/verilator_bin* bin/verilator_coverage_bin*
|
rm -f bin/verilator_bin* bin/verilator_coverage_bin*
|
||||||
rm -f include/verilated.mk include/verilated_config.h
|
rm -f include/verilated.mk include/verilated_config.h
|
||||||
|
|
||||||
TAGFILES=${srcdir}/*/*.cpp ${srcdir}/*/*.h ${srcdir}/*/*.in \
|
|
||||||
${srcdir}/*.in ${srcdir}/*.pod
|
|
||||||
|
|
||||||
TAGS: $(TAGFILES)
|
|
||||||
etags $(TAGFILES)
|
|
||||||
|
|
||||||
.PHONY: doxygen
|
|
||||||
|
|
||||||
doxygen:
|
|
||||||
$(MAKE) -C docs doxygen
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Distributions
|
# Distributions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue