[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditional Library Compilation
From: |
Ralf Corsepius |
Subject: |
Re: Conditional Library Compilation |
Date: |
Tue, 03 Feb 2004 19:21:18 +0100 |
On Tue, 2004-02-03 at 18:41, Drummonds, Scott B wrote:
> Hi, everyone,
> How do I have an additional library built based on a Automake
> conditional?
One possibility:
noinst_LIBRARIES = libfoo.a
libfoo_a_SOURCES = foo.c bar.c
if FEATURE
noinst_LIBRARIES += libMyLib.a
libMyLIB_a_CPPFLAGS = -DMyLibExtraFlags
libMyLib_a_SOURCES = $(libfoo_a_SOURCES)
endif
Ralf
- Conditional Library Compilation, Drummonds, Scott B, 2004/02/03
- RE: Conditional Library Compilation, Drummonds, Scott B, 2004/02/03
- RE: Conditional Library Compilation, Drummonds, Scott B, 2004/02/03
- RE: Conditional Library Compilation, Drummonds, Scott B, 2004/02/04
- RE: Conditional Library Compilation, Drummonds, Scott B, 2004/02/05
- Re: Conditional Library Compilation, Frederik Fouvry, 2004/02/05