aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-08 16:53:43 -0600
committerTed Gould <ted@canonical.com>2009-01-08 16:53:43 -0600
commit5ed10dfc4cb460190959667a93846c6c091b4b0b (patch)
tree728c6a1edb1e19c9addaef5bf7d765f51a98ae41
parentfc3c5b99d0f8c7dc63e677fb18742598a50482ff (diff)
downloadlibayatana-indicator-5ed10dfc4cb460190959667a93846c6c091b4b0b.tar.gz
libayatana-indicator-5ed10dfc4cb460190959667a93846c6c091b4b0b.tar.bz2
libayatana-indicator-5ed10dfc4cb460190959667a93846c6c091b4b0b.zip
Adding in build support for the indicate and crash test. Will make future ones easier.
-rw-r--r--configure.ac1
-rw-r--r--libindicate/Makefile.am3
-rw-r--r--libindicate/tests/Makefile.am14
3 files changed, 18 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f50f788..eeca255 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ AC_OUTPUT([
Makefile
src/Makefile
libindicate/Makefile
+libindicate/tests/Makefile
data/Makefile
data/icons/Makefile
data/icons/16x16/Makefile
diff --git a/libindicate/Makefile.am b/libindicate/Makefile.am
index 83e2836..86ef22a 100644
--- a/libindicate/Makefile.am
+++ b/libindicate/Makefile.am
@@ -1,4 +1,7 @@
+SUBDIRS = \
+ tests
+
INCLUDES= \
-DG_LOG_DOMAIN=\"libindicate\"
diff --git a/libindicate/tests/Makefile.am b/libindicate/tests/Makefile.am
new file mode 100644
index 0000000..1fe4856
--- /dev/null
+++ b/libindicate/tests/Makefile.am
@@ -0,0 +1,14 @@
+
+noinst_PROGRAMS = \
+ indicate-and-crash
+
+indicate_and_crash_SOURCES = \
+ indicate-and-crash.c
+
+indicate_and_crash_CFLAGS = \
+ -I $(srcdir)/../.. \
+ $(LIBINDICATE_CFLAGS)
+
+indicate_and_crash_LDADD = \
+ ../libindicate.la \
+ $(LIBINDICATE_LIBS)