Fixes for make clean
Andreas Jaeger
aj@suse.de
Wed Dec 31 11:34:00 GMT 2003
make clean left some extra files. The appended patch fixes this.
Ok to commit?
Andreas
2003-12-31 Andreas Jaeger <aj@suse.de>
* resolv/Makefile (generated): New.
For linuxthreads:
2003-12-31 Andreas Jaeger <aj@suse.de>
* Makefile (generated): Add missing files.
============================================================
Index: linuxthreads/Makefile
--- linuxthreads/Makefile 17 Dec 2003 23:47:29 -0000 1.85
+++ linuxthreads/Makefile 31 Dec 2003 11:25:12 -0000
@@ -131,6 +131,7 @@ modules-names = tst-_res1mod1 tst-_res1m
tst-tls1mod tst-tls1moda tst-tls1modb tst-tls1modc \
tst-tls1modd tst-tls1mode tst-tls1modf
extra-objs += $(addsuffix .os,$(strip $(modules-names)))
+generated += $(addsuffix .so,$(strip $(modules-names)))
test-extras += $(modules-names)
test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(modules-names)))
@@ -236,7 +237,7 @@ $(objpfx)libc.so: $(elfobjdir)/soinit.os
$(elfobjdir)/interp.os $(elfobjdir)/ld.so
$(build-shlib)
-generated += libc_pic_lite.a libc_pic_lite.os libc.so
+generated += libc_pic_lite.a libc_pic_lite.os libc.so libc-tsd.os
else
libc-link.so = $(common-objpfx)libc.so
endif
@@ -317,7 +318,7 @@ $(objpfx)$(multidir)/crtn.o: $(objpfx)cr
ln -f $< $@
endif
-generated += crti.S crtn.S defs.h pt-initfini.s
+generated += crti.S crtn.S defs.h pt-initfini.s libpthread_nonshared.a
endif
ifeq (yes,$(build-static-nss))
@@ -338,6 +339,7 @@ $(objpfx)tst-tls2.out: tst-tls2.sh $(obj
$(objpfx)tst-tls1mode.so $(objpfx)tst-tls1modf.so
$(SHELL) -e tst-tls2.sh $(common-objpfx) $(elf-objpfx) \
$(rtld-installed-name)
+generated += tst-tls2.out
endif
ifeq (no,$(cross-compiling))
@@ -350,5 +352,6 @@ $(objpfx)tst-cancel-wrappers.out: tst-ca
$(common-objpfx)/libc.a \
$(objpfx)/libpthread_pic.a \
$(objpfx)/libpthread.a > $@
+generated += tst-signal.out tst-cancel-wrappers.out
endif
endif
============================================================
Index: resolv/Makefile
--- resolv/Makefile 30 Aug 2003 18:47:37 -0000 1.44
+++ resolv/Makefile 31 Dec 2003 11:25:12 -0000
@@ -65,6 +65,8 @@ ifeq (yesyes,$(build-shared)$(have-threa
tests: $(objpfx)ga_test
endif
+generated := mtrace-tst-leaks tst-leaks.mtrace
+
include ../Rules
CPPFLAGS += -Dgethostbyname=res_gethostbyname \
--
Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20031231/362c7d7a/attachment.sig>
More information about the Libc-hacker
mailing list