[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make distclean fails to remove libltdl/libltdlc.la
From: |
Alexandre Oliva |
Subject: |
Re: make distclean fails to remove libltdl/libltdlc.la |
Date: |
29 Jan 2001 00:00:59 -0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Crater Lake) |
On Jan 25, 2001, Bob Friesenhahn <address@hidden> wrote:
> I notice that the distclean target in the libltdl directory fails to
> remove libltdlc.la. This is a bug.
The problem is that libltdlc.la is conditionally built. Even though
the conditions are not met by default (which causes `make clean' to
not remove it), the libtool testsuite explicitly builds it, and,
because the rules to build it are not conditional, it works.
automake should probably clean files for which build rules are
created regardless of their building conditions being met.
Meanwhile, I'm checking this in in all active branches.
Index: ChangeLog
from Alexandre Oliva <address@hidden>
* libltdl/Makefile.am (CLEANFILES): Clean conditionally-built
libraries.
Index: libltdl/Makefile.am
===================================================================
RCS file: /home/cvs/libtool/libltdl/Makefile.am,v
retrieving revision 1.39
diff -u -p -r1.39 Makefile.am
--- libltdl/Makefile.am 2000/11/21 08:53:34 1.39
+++ libltdl/Makefile.am 2001/01/29 01:58:05
@@ -13,6 +13,10 @@ if CONVENIENCE_LTDL
noinst_LTLIBRARIES = libltdlc.la
endif
+## Make sure these will be cleaned even when they're not built by
+## default.
+CLEANFILES = libltdl.la libltdlc.la
+
libltdl_la_SOURCES = ltdl.c
libltdl_la_LDFLAGS = -no-undefined -version-info 3:0:0
libltdl_la_LIBADD = $(LIBADD_DL)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer address@hidden, redhat.com}
CS PhD student at IC-Unicamp address@hidden, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me