This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: [patch] new depcomp "sxc" method


> -----Original Message-----
> From: Alexandre Oliva [mailto:oliva@lsd.ic.unicamp.br]
> Sent: Wednesday, September 06, 2000 7:23 PM
> To: Bernard Dautrevaux
> Cc: automake@gnu.org
> Subject: Re: [patch] new depcomp "sxc" method
> 
> 
> On Sep  6, 2000, Bernard Dautrevaux 
> <Dautrevaux@microprocess.com> wrote:
> 
> > This patch is quite simple as the preprocessor is able to 
> generate directly
> > the correct dependency file with dummy dependencies for all 
> included files
> > to avoid the "deleted header file" syndrom.
> 
> It would be nice to note this fact as a comment in the script,
> otherwise someone unaware of this fact might think of ``fixing'' it
> later on :-).
> 

So what about:

The Changelog:

2000-09-07  Bernard Dautrevaux  <dautrevaux@objectlive.com>
	* depcomp: Add an "sxc" method for dependencies generation

The patch:

*** depcomp.old 2000/09/04 17:48:20 
--- depcomp 2000/09/06 15:20:57
***************
*** 65,68 ****
--- 65,73 ----
    ;;
  
+ sxc)
+   # sxc already takes care of the 'deleted header file' problem by itself
+   exec "$@" -:pied="$depfile"
+   ;;
+ 
  sgi)
    if "$@" -MDupdate "$tmpdepfile"; then :


--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]