summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 16:12:13 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2011-02-23 16:12:13 -0800
commit2d0d7bc61e12779a56272f82bc66044a5580e778 (patch)
tree90df38908e70c3a6048b9e2ff0831d477a47c737 /Makefile.am
parent8938f8cf2ba00f7d7c95b96dcb02660b28c9fc74 (diff)
downloadvyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.tar.gz
vyatta-cfg-2d0d7bc61e12779a56272f82bc66044a5580e778.zip
compile commit with g++
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a932d5e..ff384cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,6 +11,7 @@ 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
+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
@@ -76,7 +77,7 @@ sbin_PROGRAMS += src/my_cli_bin
sbin_PROGRAMS += src/my_cli_shell_api
src_priority_SOURCES = src/priority.c
-src_my_commit_SOURCES = src/commit2.c
+src_my_commit_SOURCES = src/commit2.cpp
src_exe_action_SOURCES = src/exe_action.c
src_dump_SOURCES = src/dump_session.c
src_check_tmpl_SOURCES = src/check_tmpl.c