diff options
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index c02dc43..963450e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,8 +9,12 @@ etc_shell_leveldir = $(sysconfdir)/shell/level dhcphookdir = /etc/dhcp3/dhclient-exit-hooks.d enumdir = $(datadir)/enumeration -AM_CFLAGS = -I src -Wall -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include -AM_CXXFLAGS = -I src -Wall -Werror +if USE_UNIONFSFUSE +USE_UNIONFSFUSE = -DUSE_UNIONFSFUSE=1 +endif + +AM_CFLAGS = -I src -Wall -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include $(USE_UNIONFSFUSE) +AM_CXXFLAGS = -I src -Wall -Werror $(USE_UNIONFSFUSE) AM_CXXFLAGS += -I /usr/include/glib-2.0 -I /usr/lib/glib-2.0/include AM_YFLAGS = -d --name-prefix=yy_`basename $* .y`_ AM_LFLAGS = --prefix=yy_`basename $* .l`_ -olex.yy.c |