[$(subdir) = elf] (tests): Depend on libc.symlist.
authorRoland McGrath <roland@gnu.org>
Thu, 14 Nov 2002 04:19:34 +0000 (04:19 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 14 Nov 2002 04:19:34 +0000 (04:19 +0000)
(generated, common-generated): Add those files.

ChangeLog
Makerules

index f45670a..f776a7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,8 +4,9 @@
        * Makefile (distribute): Add it.
        * Makerules ($(objpfx)%.dynsym, $(objpfx)%.symlist): New rules.
        (tests): Depend on .symlist file for each $(install-lib.so-versioned).
-       [! subdir] (tests): Depend on libc.symlist.
-       (generated): Add those files.
+       [$(subdir) = elf] (tests): Depend on libc.symlist.
+       (generated, common-generated): Add those files.
+
        * aclocal.m4 (LIBC_PROG_BINUTILS): Check for objdump, set OBJDUMP.
        * configure: Regenerated.
        * config.make.in (OBJDUMP): New variable, substituted by configure.
index 1fab920..65b7f0a 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -1090,9 +1090,9 @@ $(objpfx)%.dynsym: $(objpfx)%.so
 tests: $(patsubst %.so,$(objpfx)%.symlist,$(install-lib.so-versioned))
 generated += $(install-lib.so-versioned:.so=.symlist)
 
-ifndef subdir
-tests: $(objpfx)libc.symlist
-generated += libc.symlist
+ifeq ($(subdir),elf)
+tests: $(common-objpfx)libc.symlist
+common-generated += libc.symlist
 endif
 endif
 \f