From 70adcee7b6561c4e9122858c4dca0fa5ee6af52a Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 10 Mar 2014 03:57:50 +0100 Subject: Import and adapt Kim Hagen's changes for union-fs support. --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.am') 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 -- cgit v1.2.3