Re: PATCH: C++ source files in sub directory

2000-04-11 Thread Tom Tromey
Alex> After looking at the automake source I realised that object Alex> files are generated in sub directories for C, so here is a patch Alex> to enable it for C++. I agree with Alexandre: we don't need to do a "-c -o" check for C++ compilers. I looked at automake.in. I don't understand why it

Re: PATCH: C++ source files in sub directory

2000-04-11 Thread Alexandre Oliva
On Apr 11, 2000, Alex Hornby <[EMAIL PROTECTED]> wrote: > After looking at the automake source I realised that object files are > generated in sub directories for C, so here is a patch to enable it > for C++. I think it's safe to assume that C++ doesn't need a `-c -o' test; all known (to me :-)

Re: automake-cvs

2000-04-11 Thread Tom Tromey
Johan> Which version of autoconf should I use with the CVS Johan> version of automake? Currently, 2.13. Automake hasn't been updated to handle the cvs autoconf yet. Tom

Re: Exporting variables

2000-04-11 Thread Tom Tromey
> "Fred" == F Labrosse <[EMAIL PROTECTED]> writes: Fred> DEFINESDOC=`echo @DEFS@ | sed -e "y/-D/ /"` && \ Fred> export VERSION DEFINESDOC DOC_H_FILES && \ Fred> makeDoc && \ Fred> touch doc Fred> Only DEFINESDOC is available in makeDoc!!! i.e. the variables Fred> not defined in the

automake-cvs

2000-04-11 Thread Johan Rydberg
Hi! Which version of autoconf should I use with the CVS version of automake? -- Johan Rydberg [EMAIL PROTECTED] Net Insight AB, Sweden direct: +46-8-685 04 17 http://www.netinsight.net phone: +46-8-685 04 00 fax:+46-8-685 0

Exporting variables

2000-04-11 Thread F Labrosse
Hi all, To produce some documentation using doxygen, I have the following rule in my Makefile.am: doc : $(DOC_H_FILES) DEFINESDOC=`echo @DEFS@ | sed -e "y/-D/ /"` && \ export VERSION DEFINESDOC DOC_H_FILES && \ makeDoc && \ touch doc DOC_H_FILES is set in a file

PATCH: C++ source files in sub directory

2000-04-11 Thread Alex Hornby
After looking at the automake source I realised that object files are generated in sub directories for C, so here is a patch to enable it for C++. Assuming its desirable to add this functionality, is paperwork needed? Cheers, Alex. These diffs are against CVS, generated using cvs -q diff -c I

Re: source files not in current directory

2000-04-11 Thread Alex Hornby
Tom Tromey writes: > > "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: > > Alex> I'm using CVS automake and have source files in sub directories of my > Alex> project like so: > > Alex> That would be fine, but AFAICT there is no way for make to apply the > Alex> normal .c.o suffix r