diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-03-10 03:57:50 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-03-10 03:57:50 +0100 |
commit | 70adcee7b6561c4e9122858c4dca0fa5ee6af52a (patch) | |
tree | 6522eb5b6754fd045d15155b5a45599adb892c37 /Makefile.am | |
parent | c1ecd5aca9d7ad1dfbf036d3d1f0da8a99ef1ac5 (diff) | |
download | vyatta-cfg-70adcee7b6561c4e9122858c4dca0fa5ee6af52a.tar.gz vyatta-cfg-70adcee7b6561c4e9122858c4dca0fa5ee6af52a.zip |
Import and adapt Kim Hagen's changes for union-fs support.
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 |