summaryrefslogtreecommitdiff
path: root/Make-dist
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-14 01:01:44 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-14 01:01:44 +0000
commit002ab0343498d415f87a14c91e5484aa708f8203 (patch)
treef394f6cf0db73bf59c6774f69b92db72943a1126 /Make-dist
parentafa0569f3ba820fe6baf60e72d8c1d6e923e4e98 (diff)
Update.
* Make-dist: Search for tests also in sysdeps hierachy.
Diffstat (limited to 'Make-dist')
-rw-r--r--Make-dist4
1 files changed, 3 insertions, 1 deletions
diff --git a/Make-dist b/Make-dist
index a16ead7165..241db4cd3e 100644
--- a/Make-dist
+++ b/Make-dist
@@ -85,6 +85,8 @@ foo:=$(shell echo 'IS THIS WORKING??? all-headers=$(all-headers)' >&2)
sources += $(addsuffix .c,$(elided-routines) \
$(foreach l,$(extra-libs),$($l-routines)))
+sources += $(addsuffix .c, $(filter-out $(elided-routines), $(tests)))
+
# Find all sysdep sources and headers.
+maybe-sysdeps := $(sources) $(sources:.c=.s) $(sources:.c=.S) $(all-headers) \
$(filter %.c %.S %.s %.h %.sub,$(distribute))
@@ -153,7 +155,7 @@ ifdef subdir
foo:=$(shell echo subdir foo >&2)
+tsrcs := Makefile $(wildcard Versions) $(wildcard Depend) $(+tsrcs) \
- $(addsuffix .c,$(others) $(tests) $(test-srcs)) \
+ $(addsuffix .c,$(others) $(test-srcs)) \
$(wildcard $(addsuffix .input,$(tests) $(test-srcs)))
+tardeps := $(strip $(+tsrcs))