Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Nick Bowler
On 2011-06-23 16:25 -0400, Jie Zhang wrote: > > With Posix make Makefiles, it would be doable with some more work, but > > automake doesn't.  With GNU make extensions used in the Makefile.am, it > > is almost impossible without implementing a large set of GNU make > > extension parsing in automake

Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Jie Zhang
On Thu, Jun 23, 2011 at 4:51 PM, Nick Bowler wrote: > On 2011-06-23 16:25 -0400, Jie Zhang wrote: >> > With Posix make Makefiles, it would be doable with some more work, but >> > automake doesn't.  With GNU make extensions used in the Makefile.am, it >> > is almost impossible without implementing

Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Jie Zhang
Hi Ralf, On Thu, Jun 23, 2011 at 4:02 PM, Ralf Wildenhues wrote: > Hi Jie, > > * Jie Zhang wrote on Thu, Jun 23, 2011 at 03:30:43PM CEST: >> On Thu, Jun 23, 2011 at 1:52 AM, Ralf Wildenhues wrote: >> > The only thing that keeps me from setting current behavior in stone is >> > that it is sooo uni

Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Ralf Wildenhues
Hi Jie, * Jie Zhang wrote on Thu, Jun 23, 2011 at 03:30:43PM CEST: > On Thu, Jun 23, 2011 at 1:52 AM, Ralf Wildenhues wrote: > > The only thing that keeps me from setting current behavior in stone is > > that it is sooo unintuitive and ugly. > > > There is another ugly way to achieve the same purp

Re: side stepping automake limitations with custom dependencies

2011-06-23 Thread Jie Zhang
Hi Ralf, On Thu, Jun 23, 2011 at 1:52 AM, Ralf Wildenhues wrote: > Hi Mike, > > * Mike Frysinger wrote on Thu, Jun 23, 2011 at 02:08:50AM CEST: >>       http://sources.redhat.com/automake/automake.html#Extending >>       [quote] >>       Note that Automake does not make any distinction between ru

Re: side stepping automake limitations with custom dependencies

2011-06-22 Thread Ralf Wildenhues
Hi Mike, * Mike Frysinger wrote on Thu, Jun 23, 2011 at 02:08:50AM CEST: > http://sources.redhat.com/automake/automake.html#Extending > [quote] > Note that Automake does not make any distinction between rules with > commands and rules that only specify dependencies. So it i

side stepping automake limitations with custom dependencies

2011-06-22 Thread Mike Frysinger
i'm working on a project (urjtag) that has yacc/lex files in it. and other files in the directory depend on the generated output from yacc/lex. so the automake file looks something like: libbsdl_la_SOURCES = \ vhdl_bison.y \ bsdl_bison.y \ bsdl.c \ bsdl_se