fix make clean
Andreas Jaeger
aj@suse.de
Sat Feb 10 13:45:00 GMT 2001
make clean misses a number of files:
./iconv:
total 308
-rw-r--r-- 1 aj users 45560 Feb 10 17:22 charmap-dir.o
-rw-r--r-- 1 aj users 75408 Feb 10 17:22 charmap.o
-rw-r--r-- 1 aj users 15052 Feb 10 17:22 dummy-repertoire.o
-rw-r--r-- 1 aj users 46432 Feb 10 17:22 iconv_charmap.o
-rw-r--r-- 1 aj users 56384 Feb 10 17:22 linereader.o
-rw-r--r-- 1 aj users 28436 Feb 10 17:22 simple-hash.o
-rw-r--r-- 1 aj users 15688 Feb 10 17:22 xmalloc.o
-rw-r--r-- 1 aj users 11412 Feb 10 17:22 xstrdup.o
./linuxthreads:
total 4
-rw-r--r-- 1 aj users 1352 Feb 10 17:15 crti.o
Here's a patch. Ok to commit?
Andreas
2001-02-10 Andreas Jaeger <aj@suse.de>
* Makefile (extra-objs): New.
For linuxthreads:
2001-02-10 Andreas Jaeger <aj@suse.de>
* Makefile (extra-objs): New.
============================================================
Index: iconv/Makefile
--- iconv/Makefile 2001/02/09 19:49:41 1.16
+++ iconv/Makefile 2001/02/10 21:41:38
@@ -38,6 +38,7 @@
iconv_prog-modules = iconv_charmap charmap charmap-dir linereader \
dummy-repertoire simple-hash xstrdup xmalloc
+extra-objs = $(iconv_prog-modules:=.o)
CFLAGS-iconv_prog.c = -I../locale/programs
CFLAGS-iconv_charmap.c = -I../locale/programs
CFLAGS-dummy-repertoire.c = -I../locale/programs
============================================================
Index: linuxthreads/Makefile
--- linuxthreads/Makefile 2001/02/02 06:20:37 1.33
+++ linuxthreads/Makefile 2001/02/10 21:41:38
@@ -48,6 +48,7 @@
ifeq ($(build-shared),yes)
before-compile := $(objpfx)crti.o
+extra-objs = crti.o
CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions
endif
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list