aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-06-26 13:55:36 +0200
committerJan Engelhardt <jengelh@inai.de>2012-07-03 01:24:42 +0200
commit673f8a422ccda9b87bbb7a930956e76afeef8948 (patch)
tree9ffdc19cff328603e7340f8b113d6edca9f6231d /src/Makefile.am
parentfbe46eac3e5638034f73bba5f55475170843b172 (diff)
downloadbindfs-673f8a422ccda9b87bbb7a930956e76afeef8948.tar.gz
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.)
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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