libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use of $(OBJECTS) in test suite


From: Ralf Wildenhues
Subject: Use of $(OBJECTS) in test suite
Date: Thu, 5 Jan 2006 14:25:22 +0100
User-agent: Mutt/1.5.11

$(OBJECTS) is not published Automake interface, and in fact, has been
removed from Automake output several versions ago.

HPUX `make' barfs over this rule -- I really wonder why every other make
accepts this, with OBJECTS being empty:

| $(OBJECTS): libtool

I really don't think that in general it would be a good idea to rebuild
all objects after libtool is updated.  For real projects this is a huge
waste, with little gain; an outright `make clean' would be more
appropriate at that time.  We could consider just letting the libraries
depend on libtool, but then again, within our .test files we clean
anyway.

OK to remove all these, like below, but for all of
tests/*demo*/Makefile.am?  OK for branch-1-5 as well?

Cheers,
Ralf

        * tests/demo/Makefile.am: Remove broken use of undocumented
        Automake variable `$(OBJECTS)'.

Index: tests/demo/Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/demo/Makefile.am,v
retrieving revision 1.8
diff -u -r1.8 Makefile.am
--- tests/demo/Makefile.am      23 Aug 2005 01:49:37 -0000      1.8
+++ tests/demo/Makefile.am      3 Jan 2006 22:22:27 -0000
@@ -64,7 +64,6 @@
        chmod +x $@
 endif
 
-$(OBJECTS): libtool
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]