On Fri, Mar 11, 2005 at 12:31:06PM +0100, Ralf Wildenhues wrote:
> > One more question: how do I define that "make" alone should build zzz,
> > and test1..testn should be built only when I do "make check"?
>
> Put them in check_PROGRAMS.
Wow, now I have Makefile.am exactly as I want it! Thanks mu
* Baurjan Ismagulov wrote on Fri, Mar 11, 2005 at 11:39:58AM CET:
>
> One more question: how do I define that "make" alone should build zzz,
> and test1..testn should be built only when I do "make check"?
Put them in check_PROGRAMS.
Regards,
Ralf
On Thu, Mar 10, 2005 at 12:26:36AM +0100, Alexandre Duret-Lutz wrote:
> Baurjan> Is there a way to specify that binaries should depend
> Baurjan> on the libraries they are linked with (i.e., that a
> Baurjan> general LDADD implies general DEPENDENCIES or
> Baurjan> generates the respective depe
>>> "Baurjan" == Baurjan Ismagulov <[EMAIL PROTECTED]> writes:
Baurjan> On Mon, Mar 07, 2005 at 02:27:25PM +0100, Nicolas Joly wrote:
>> > AUTOMAKE_OPTIONS = dejagnu
>> > bin_PROGRAMS = zzz
>> > noinst_PROGRAMS = test1 test2 test3
>> > noinst_LTLIBRARIES = libzzz.la
>> > zzz_SOURCES = zzz.c
On Mon, Mar 07, 2005 at 02:27:25PM +0100, Nicolas Joly wrote:
> > AUTOMAKE_OPTIONS = dejagnu
> > bin_PROGRAMS = zzz
> > noinst_PROGRAMS = test1 test2 test3
> > noinst_LTLIBRARIES = libzzz.la
> > zzz_SOURCES = zzz.c
> > libzzz_la_SOURCES = a/a.c b/b.c
> > AM_CFLAGS = -g -Wall -std=c99 -I$(top_srcdir
On Mon, Mar 07, 2005 at 02:27:25PM +0100, Nicolas Joly wrote:
> > 2. More importantly, I can't build the project any more: make
> >immediately dives into testsuite/, files under which require
> >libzzz.la, which is going to be built later. If I "make libzzz.la
> >all", everything works
On Mon, Mar 07, 2005 at 04:49:11PM +0100, Stepan Kasal wrote:
> for each AC_SUBSTed variable, automake adds a line like
>
> ZZZ_LIBS = @ZZZ_LIBS@
>
> so there is generally no need to use the @...@ notation in Makefile.am.
Yes, thanks for the info! I've replaced all @...@ references with
$(
Hello,
On Mon, Mar 07, 2005 at 02:07:41PM +0100, [EMAIL PROTECTED] wrote:
> AM_CFLAGS = -g -Wall -std=c99 -I$(top_srcdir)/include @ZZZ_CFLAGS@
> -DSYSCONFDIR=\"@[EMAIL PROTECTED]"
> zzz_LDADD = @ZZZ_LIBS@ $(top_builddir)/libzzz.la
> test1_LDADD = @ZZZ_LIBS@ $(top_builddir)/libzzz.la
> test2_LDADD
On Mon, Mar 07, 2005 at 02:07:41PM +0100, [EMAIL PROTECTED] wrote:
> Hello,
>
> I build my project in a single directory using automake, like this:
>
> AUTOMAKE_OPTIONS = dejagnu
> bin_PROGRAMS = zzz
> noinst_PROGRAMS = test1 test2 test3
> noinst_LTLIBRARIES = libzzz.la
> zzz_SOURCES = zzz.c
> li
Hello,
I build my project in a single directory using automake, like this:
AUTOMAKE_OPTIONS = dejagnu
bin_PROGRAMS = zzz
noinst_PROGRAMS = test1 test2 test3
noinst_LTLIBRARIES = libzzz.la
zzz_SOURCES = zzz.c
libzzz_la_SOURCES = a/a.c b/b.c
AM_CFLAGS = -g -Wall -std=c99 -I$(top_srcdir)/include @ZZ
10 matches
Mail list logo