Fix check-abi implicit rule chaining

Andreas Schwab schwab@suse.de
Mon Jan 13 04:59:00 GMT 2003


The pattern rules for %.symlist and %.dynsym do not work as expected.
When making check-abi the %.symlist files are not updated even if the
corresponding %.so file is newer.  Adding a vpath declaration for
%.dynsym and %.so fixes this.

Andreas.

2003-01-11  Andreas Schwab  <schwab@suse.de>

	* Makerules: Add vpath for %.dynsym and %.so so that the
	implicit rule chaining for check-abi works.

--- Makerules.~1.388.~	2003-01-05 18:07:24.000000000 +0100
+++ Makerules	2003-01-11 18:26:54.000000000 +0100
@@ -1138,6 +1138,8 @@ ifeq ($(versioning),yes)
 	mv -f $@T $@
 
 vpath %.symlist $(objpfx) $(common-objpfx)
+vpath %.dynsym $(objpfx) $(common-objpfx)
+vpath %.so $(objpfx) $(common-objpfx)
 check-abi-%: $(..)scripts/extract-abilist.awk $(common-objpfx)config.make \
 	     %.abilist %.symlist
 	LC_ALL=C \



More information about the Libc-hacker mailing list