automake
[Top][All Lists]
Advanced

[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

Attachment: pgp9gwnUO33xk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]