[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUILT_SOURCES too clumsy
From: |
Harald Dunkel |
Subject: |
Re: BUILT_SOURCES too clumsy |
Date: |
Wed, 25 May 2005 02:40:42 +0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050331) |
In the meantime I have patched automake, e.g.
diff -ur automake-1.9.5/lib/am/library.am automake-1.9.5.new/lib/am/library.am
--- automake-1.9.5/lib/am/library.am 2003-06-02 09:08:40.000000000 +0200
+++ automake-1.9.5.new/lib/am/library.am 2005-05-22 20:22:51.000000000 +0200
@@ -15,6 +15,7 @@
## along with this program; if not, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.
+$(%XLIBRARY%_OBJECTS): $(%XLIBRARY%_PREDEPEND)
%LIBRARY%: $(%XLIBRARY%_OBJECTS) $(%XLIBRARY%_DEPENDENCIES) %DIRSTAMP%
-rm -f %LIBRARY%
$(%XLIBRARY%_AR) %LIBRARY% $(%XLIBRARY%_OBJECTS) $(%XLIBRARY%_LIBADD)
It makes sure that the stuff in $(libmy_a_PREDEPEND) gets built
before the library objects. The patches for *_LTLIBRARIES and
*_PROGRAMS look the same.
What do you think? Would you expect any problems with this?
Regards
Harri