summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-19 08:27:55 +0000
committerRoland McGrath <roland@gnu.org>2003-03-19 08:27:55 +0000
commit9465949559fde25c36ce7116e92c8f256b08ad53 (patch)
treeeeed3393ca2d8bb8a043f5ee8da405cbaa1b8cf3 /Makerules
parent043ad426e7927a49a872e915c3cde88b682aea71 (diff)
* abilist: New directory of libfoo.abilist files maintained using
scripts/merge-abilist.awk and "make update-abi" rules. * Makefile (distribute): Add abilist/*.abilist. * Makerules [$(build-shared) = yes] [$(subdir)] (tests): Depend on check-abi.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 1b57e29553..17d93f8674 100644
--- a/Makerules
+++ b/Makerules
@@ -1235,15 +1235,18 @@ check-abi: subdir_check-abi
update-abi: subdir_update-abi
endif
-# Enable this when all the .abilist files are in place.
-#tests: check-abi
-
ifeq ($(subdir),elf)
check-abi: check-abi-libc
update-abi: update-abi-libc
common-generated += libc.symlist
endif
+ifeq ($(build-shared),yes)
+ifdef subdir
+tests: check-abi
+endif
+endif
+
endif
# There's no good place to put this - here will do.