From bb0daba39ea35727a998dc4f8e21f36b00ca13cb Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 4 Feb 2010 11:34:58 -0800 Subject: Adding build system for the dbusmenu-testapp --- configure.ac | 1 + tools/Makefile.am | 2 ++ tools/testapp/Makefile.am | 17 +++++++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 tools/testapp/Makefile.am diff --git a/configure.ac b/configure.ac index b14e797..de62262 100644 --- a/configure.ac +++ b/configure.ac @@ -105,6 +105,7 @@ libdbusmenu-glib/dbusmenu-glib.pc libdbusmenu-gtk/Makefile libdbusmenu-gtk/dbusmenu-gtk.pc tools/Makefile +tools/testapp/Makefile tests/Makefile ]) diff --git a/tools/Makefile.am b/tools/Makefile.am index 47fa58f..eedfa29 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,4 +1,6 @@ +SUBDIRS = testapp + libexec_PROGRAMS = dbusmenu-dumper libexec_SCRIPTS = dbusmenu-bench diff --git a/tools/testapp/Makefile.am b/tools/testapp/Makefile.am new file mode 100644 index 0000000..a8b42dd --- /dev/null +++ b/tools/testapp/Makefile.am @@ -0,0 +1,17 @@ + +libexec_PROGRAMS = dbusmenu-testapp + +dbusmenu_testapp_SOURCES = \ + main.c + +dbusmenu_testapp_CFLAGS = \ + -I $(srcdir)/../.. \ + $(DBUSMENUTESTS_CFLAGS) \ + $(DBUSMENUGLIB_CFLAGS) \ + -Wall -Werror + +dbusmenu_testapp_LDADD = \ + $(builddir)/../../libdbusmenu-glib/libdbusmenu-glib.la \ + $(builddir)/../../libdbusmenu-gtk/libdbusmenu-gtk.la \ + $(DBUSMENUGTK_LIBS) \ + $(DBUSMENUTESTS_LIBS) -- cgit v1.2.3