[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overriding all commands in Makefile.am
From: |
Ralf Wildenhues |
Subject: |
Re: Overriding all commands in Makefile.am |
Date: |
Thu, 9 Aug 2007 20:32:54 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* NightStrike wrote on Thu, Aug 09, 2007 at 04:49:00PM CEST:
>
> How do I individually override everything that takes place for a given
> target?
I don't think there is a general way to do that. You can use 'make -n'
if you wish to not execute commands, or override the RANLIB or AR or CC
(or COMPILE) macros.
> For instance, I could, if I chose, do this:
>
> lib_LIBRARIES = libmylib.a
> libmylib_a_SOURCES = source1.c source2.c
> libmylib_a_AR = echo \!* > /dev/null
Serious question: why do you want or need to do this? Automake
generally allows flexibility where it's necessary for portability
but if you don't have ar, then libmylib.a can't be built; however
AC_PROG_RANLIB will set @RANLIB@ to ':' for you if not present --
not all systems have/need a ranlib.
Hope that helps.
Cheers,
Ralf
- Overriding all commands in Makefile.am, NightStrike, 2007/08/09
- Re: Overriding all commands in Makefile.am,
Ralf Wildenhues <=
- Re: Overriding all commands in Makefile.am, NightStrike, 2007/08/09
- Re: Overriding all commands in Makefile.am, Ralf Wildenhues, 2007/08/10
- Re: Overriding all commands in Makefile.am, NightStrike, 2007/08/11
- Re: Overriding all commands in Makefile.am, NightStrike, 2007/08/11
- Re: Overriding all commands in Makefile.am, Ralf Wildenhues, 2007/08/12
- Re: Overriding all commands in Makefile.am, NightStrike, 2007/08/12
- Re: Overriding all commands in Makefile.am, Ralf Wildenhues, 2007/08/15
- Re: Overriding all commands in Makefile.am, NightStrike, 2007/08/15