about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-11-14 04:19:34 +0000
committerRoland McGrath <roland@gnu.org>2002-11-14 04:19:34 +0000
commitc9e032d55f9f17fd8624d610c0290c9aa3fae42d (patch)
treed8a4aa1f04345b9fe2cacb7a5d962f673dace534
parent6e3d59bc0581399e0d8218f7b7fb10961735a82b (diff)
downloadglibc-c9e032d55f9f17fd8624d610c0290c9aa3fae42d.tar.gz
glibc-c9e032d55f9f17fd8624d610c0290c9aa3fae42d.tar.xz
glibc-c9e032d55f9f17fd8624d610c0290c9aa3fae42d.zip
[$(subdir) = elf] (tests): Depend on libc.symlist.
	(generated, common-generated): Add those files.
-rw-r--r--ChangeLog5
-rw-r--r--Makerules6
2 files changed, 6 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index f45670ab0b..f776a7af9a 100644
--- 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.
diff --git a/Makerules b/Makerules
index 1fab920a0a..65b7f0a1bc 100644
--- 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