diff --git a/Makefile.am b/Makefile.am index 4e7e29589f..0607296425 100644 --- a/Makefile.am +++ b/Makefile.am @@ -129,10 +129,20 @@ SHELLCHECKDIRS = cmd contrib etc scripts tests SHELLCHECKSCRIPTS = autogen.sh PHONY += checkabi storeabi -checkabi: lib + +checklibabiversion: + libabiversion=`abidw -v | $(SED) 's/[^0-9]//g'`; \ + if test $$libabiversion -lt "180"; then \ + /bin/echo -e "\n" \ + "*** Please use libabigail 1.8.0 version or newer;\n" \ + "*** otherwise results are not consistent!\n"; \ + exit 1; \ + fi; + +checkabi: checklibabiversion lib $(MAKE) -C lib checkabi -storeabi: lib +storeabi: checklibabiversion lib $(MAKE) -C lib storeabi PHONY += mancheck