From 673f8a422ccda9b87bbb7a930956e76afeef8948 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 26 Jun 2012 13:55:36 +0200 Subject: build: better placement of variables automake options are best set in configure.ac, so they apply not just to the directory, but the whole project. Also move fuse_CFLAGS into AM_CPPFLAGS, because it actually consists of preprocessor directives. (pkgconfig misnamed CFLAGS.) --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 29661a7..412045c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,8 +5,8 @@ bin_PROGRAMS = bindfs noinst_HEADERS = debug.h permchain.h userinfo.h misc.h usermap.h bindfs_SOURCES = bindfs.c permchain.c userinfo.c misc.c usermap.c -AM_CPPFLAGS = ${my_CPPFLAGS} -AM_CFLAGS = ${my_CFLAGS} $(fuse_CFLAGS) +AM_CPPFLAGS = ${my_CPPFLAGS} ${fuse_CFLAGS} +AM_CFLAGS = ${my_CFLAGS} bindfs_LDADD = $(fuse_LIBS) man_MANS = bindfs.1 -- cgit v1.2.3