X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile.am;h=2c196184b91bf9734ad20ffa8e312a75af3aa4b2;hb=85b20fd6ee585f462e012fbcc7f966a81edab2ed;hp=4da1baba6774802ae963f07a6507074de52042ad;hpb=45b1b2d22ed8728702c61ec78ef935077b054772;p=sliver-openvswitch.git diff --git a/Makefile.am b/Makefile.am index 4da1baba6..2c196184b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,16 +43,17 @@ EXTRA_DIST = \ DESIGN \ FAQ \ INSTALL \ + INSTALL.Debian \ INSTALL.Fedora \ INSTALL.KVM \ INSTALL.Libvirt \ INSTALL.RHEL \ INSTALL.SSL \ INSTALL.XenServer \ - INSTALL.bridge \ INSTALL.userspace \ IntegrationGuide \ NOTICE \ + OPENFLOW-1.1+ \ PORTING \ README-gcov \ REPORTING-BUGS \ @@ -169,6 +170,20 @@ CLEANFILES += distfiles endif .PHONY: dist-hook-git +# Check that every .c file includes . +ALL_LOCAL += config-h-check +config-h-check: + @cd $(srcdir); \ + if test -e .git && (git --version) >/dev/null 2>&1 && \ + git --no-pager grep -L '#include ' `git ls-files | grep '\.c$$' | \ + grep -vE '^datapath|^lib/sflow|^third-party'`; \ + then \ + echo "See above for list of violations of the rule that"; \ + echo "every C source file must #include ."; \ + exit 1; \ + fi +.PHONY: config-h-check + # Check that "struct vlog_ratelimit" is always declared "static". ALL_LOCAL += rate-limit-check rate-limit-check: @@ -212,6 +227,11 @@ install-data-local: $(INSTALL_DATA_LOCAL) uninstall-local: $(UNINSTALL_LOCAL) .PHONY: $(DIST_HOOKS) $(CLEAN_LOCAL) $(INSTALL_DATA_LOCAL) $(UNINSTALL_LOCAL) +modules_install: +if LINUX_ENABLED + cd datapath/linux && $(MAKE) modules_install +endif + include lib/automake.mk include ofproto/automake.mk include utilities/automake.mk