aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-11 21:49:22 -0500
committerTed Gould <ted@canonical.com>2009-10-11 21:49:22 -0500
commita2f4f868e8744fd6aea1ffb0b335e70c54e039ea (patch)
treeebb7b051c3d69683a2121cbe65a9ff5ba2566804
parentbb7b49ae82deb1f551ec8892511e4a19c881f6cc (diff)
downloadlibayatana-indicator-a2f4f868e8744fd6aea1ffb0b335e70c54e039ea.tar.gz
libayatana-indicator-a2f4f868e8744fd6aea1ffb0b335e70c54e039ea.tar.bz2
libayatana-indicator-a2f4f868e8744fd6aea1ffb0b335e70c54e039ea.zip
Building a new dummy indicator that doesn't have any symbols in it.
-rw-r--r--.bzrignore2
-rw-r--r--tests/Makefile.am19
-rw-r--r--tests/dummy-indicator-blank.c6
3 files changed, 27 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 6a346c8..52613e0 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -113,3 +113,5 @@ tests/libdummy-indicator-null.la
tests/libdummy_indicator_null_la-dummy-indicator-null.lo
tests/libdummy-indicator-simple.la
tests/libdummy_indicator_simple_la-dummy-indicator-simple.lo
+tests/libdummy-indicator-blank.la
+tests/libdummy_indicator_blank_la-dummy-indicator-blank.lo
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c21ff09..8121136 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,6 +3,7 @@ check_PROGRAMS = \
test-loader
lib_LTLIBRARIES = \
+ libdummy-indicator-blank.la \
libdummy-indicator-null.la \
libdummy-indicator-simple.la
@@ -22,6 +23,24 @@ test_loader_LDADD = \
$(LIBINDICATOR_LIBS) $(top_builddir)/libindicator/.libs/libindicator.a
#############################
+# Dummy Indicator Blank
+#############################
+
+libdummy_indicator_blank_la_SOURCES = \
+ dummy-indicator-blank.c
+
+libdummy_indicator_blank_la_CFLAGS = \
+ -Wall -Werror \
+ $(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
+
+libdummy_indicator_blank_la_LIBADD = \
+ $(LIBINDICATOR_LIBS)
+
+libdummy_indicator_blank_la_LDFLAGS = \
+ -module \
+ -avoid-version
+
+#############################
# Dummy Indicator NULL
#############################
diff --git a/tests/dummy-indicator-blank.c b/tests/dummy-indicator-blank.c
new file mode 100644
index 0000000..41249f2
--- /dev/null
+++ b/tests/dummy-indicator-blank.c
@@ -0,0 +1,6 @@
+
+#include "libindicator/indicator.h"
+
+INDICATOR_SET_VERSION
+INDICATOR_SET_NAME("dummy-indicator-null")
+