[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AM_CFLAGS usage
From: |
Norbert Sendetzky |
Subject: |
AM_CFLAGS usage |
Date: |
Sun, 11 Jun 2006 12:07:32 +0200 |
User-agent: |
KMail/1.9.1 |
Hi all
I've tried to set the C flags for my package globally and used AM_CLFAGS for
this. Unfortunately AM_CLFAGS is only honored if it is defined in the same
Makefile.am.
AM_CFLAGS = -Wall -ansi -pedantic
pkglib_LTLIBRARIES = libmysqlbackend.la
libmysqlbackend_la_SOURCES = mysqlbackend.c
libmysqlbackend_la_CFLAGS = $(AM_CFLAGS)
This works, but as soon as I move AM_CFLAGS to the Makefile.am in the parent
directory, they aren't set any more. Is this the way it was intended and the
only way to set them globally is to AC_SUBST them or is there something wrong
in my files?
Thanks for your help
Norbert
--
OpenPGP public key
http://www.linuxnetworks.de/norbert.pubkey.asc
pgp9gwnUO33xk.pgp
Description: PGP signature
- AM_CFLAGS usage, Norbert Sendetzky, 2006/06/11
- Re: AM_CFLAGS usage, Marc Alff, 2006/06/11
- Re: AM_CFLAGS usage, Ralf Wildenhues, 2006/06/12
- Re: AM_CFLAGS usage, Norbert Sendetzky, 2006/06/12
- Re: AM_CFLAGS usage, Ralf Corsepius, 2006/06/12
- Re: AM_CFLAGS usage, Norbert Sendetzky, 2006/06/12
- Re: AM_CFLAGS usage, Ralf Wildenhues, 2006/06/12
- Re: AM_CFLAGS usage, Norbert Sendetzky, 2006/06/12
- Re: AM_CFLAGS usage, Ralf Wildenhues, 2006/06/12
- AM_CFLAGS usage,
Norbert Sendetzky <=