[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Automake,cygwin: 'make clean' with libtool wrappers...
From: |
Robert Collins |
Subject: |
RE: Automake,cygwin: 'make clean' with libtool wrappers... |
Date: |
Fri, 3 May 2002 15:13:35 +1000 |
What you need to patch is libtool - see mode=clean.
Rob
> -----Original Message-----
> From: Charles Wilson [mailto:address@hidden
> Sent: Friday, May 03, 2002 2:59 PM
> To: address@hidden
> Cc: Robert Collins
> Subject: Automake,cygwin: 'make clean' with libtool wrappers...
>
>
> On cygwin, by the time you reach the 'clean-binPROGRAMS:' target,
> bin_PROGRAMS has been transmogrified to have .exe endings. But, when
> building dynamically linked executables on cygwin, you end up with:
>
> <workdir>/myprogram << wrapper script <workdir>/.libs/myprogram.exe
>
> In any case, it takes more than just 'rm -f ${bin_PROGRAMS)' to
> completely clean up this mess. So, the following patch to
> lib/am/progs.am.
>
> When ?LIBTOOL?, loop thru bin_PROGRAMS, and hunt for and
> delete each of
> the following:
>
> myprogram.exe << static linked .exe's go here (cygwin, DOS?)
> myprogram << wrappers for dynamically linked .exe's (cygwin),
> and statically linked unix executables
> .libs/myprogram.exe << dynamically linked exe's (cygwin)
> .libs/myprogram << dynamically linked unix executables
> _libs/myprogram.exe << dynamically linked exe's (DOS?)
> _libs/myprogram << ??? didn't want to leave anything out...
>
> That covers all the possible "droppings" that libtool could
> create, on
> windows-ish platforms, dos-ish platforms (_libs) and unixoid ones.
>
> (This patch also helps fix massive testsuite failures in the libtool
> package, when gets really confused by the random presence of
> old wrapper
> scripts -- when the current testbuild is static only ...)
>
> --Chuck
>
> 2002-05-03 Charles Wilson <address@hidden>
>
> * lib/am/progs.am: make sure to clean up all the
> libtool droppings when doing 'make clean'
>
>
>
>
- Automake,cygwin: 'make clean' with libtool wrappers..., Charles Wilson, 2002/05/03
- RE: Automake,cygwin: 'make clean' with libtool wrappers...,
Robert Collins <=
- RE: Automake,cygwin: 'make clean' with libtool wrappers..., Robert Collins, 2002/05/03
- RE: Automake,cygwin: 'make clean' with libtool wrappers..., Robert Collins, 2002/05/03
- RE: Automake,cygwin: 'make clean' with libtool wrappers..., Robert Collins, 2002/05/04