Re: Automake conditionals

2000-06-16 Thread John R. Sheets
On Wednesday, June 14, 2000, "Braden N. McDaniel" <[EMAIL PROTECTED]> wrote: > > 1 EXTRA_LTLIBRARIES = libjs.la > 2 if JS_INSTALL > 3 lib_LTLIBRARIES = libjs.la > 4 else > 5 noinst_LTLIBRARIES = libjs.la > 6 endif You might also try something like this (not tested): if JS_INSTALL INSTALL_LI

Re: Maintaining header file directory structure on install

2000-06-16 Thread John R. Sheets
On Friday, June 16, 2000, F Labrosse <[EMAIL PROTECTED]> wrote: > Pete Willemsen writes: > > Hello. > > > > I'm struggling with figuring out a way to maintain my directory > > structure for my header files. I have the following structure > > > >file1.c ... fileN.c PackageName/ Makefil

Re: CVS Automake prerequisites?

2000-06-02 Thread John R. Sheets
On Thursday, June 01, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote: > > Ossama> $ ./configure > Ossama> loading cache ./config.cache > Ossama> checking for a BSD compatible install... /usr/bin/install -c > Ossama> checking whether build environment is sane... yes > Ossama> ./configure: line 1441: s

Re: IDL dependencies, proposed solution.

2000-05-31 Thread John R. Sheets
On May 31, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote: > > "Alex" == Alex Hornby <[EMAIL PROTECTED]> writes: > > Alex> Is there already an expand_make_variable() type function? > > Yes. You can use variable_value_as_list in automake to do this. But > really you'll want to have direct suppo

Name clash with VERSION

2000-05-26 Thread John R. Sheets
Is it possible to change the VERSION #define to something different? The reason I need to do this is because VERSION is already used as a typedef in the software package, WINE. The Win32 API declares it, so there's not much I can do to avoid it. Hmmm, come to think of it, I may only need to chan

Re: Building libraries without _SOURCES

2000-05-24 Thread John R. Sheets
On Wednesday, May 24, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote: > > John> As a side note, it was quite a lot of work to convert WINE's > John> build system to libtool/automake (mainly due to the sheer mass > John> -- around 115 makefiles!), but I'm pleasantly surprised at how > John> well it we

Re: Building libraries without _SOURCES

2000-05-24 Thread John R. Sheets
On Wednesday, May 24, 2000, Tom Tromey <[EMAIL PROTECTED]> wrote: > >>>>> "John" == John R Sheets <[EMAIL PROTECTED]> writes: > > John> Is it possible to create a lib_LTLIBRARIES library from only > John> convenience libraries? >

Building libraries without _SOURCES

2000-05-24 Thread John R. Sheets
Hi, Is it possible to create a lib_LTLIBRARIES library from only convenience libraries? I've tried leaving the _SOURCES variable empty, but automake tries to fill it with a source file it invents by tacking a '.c' on the end of the library target, e.g. libwine.la.c. Here's more or less what I h

Per-target CFLAGS

2000-05-12 Thread John R. Sheets
Hi, Is it possible to specify different compile-time flags for different _PROGRAMS or _LIBRARIES targets in the same Makefile.am? Sort of a _CFLAGS version of the _LDFLAGS primary, e.g. ## Theoretical example bin_PROGRAMS = foo foo-ts foo_CFLAGS = foo_SOURCES = foo.c foo_ts_CFLAGS