summaryrefslogtreecommitdiff
path: root/Makefile-cmph.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-11-11 15:34:11 -0500
committerColin Walters <walters@verbum.org>2010-12-03 16:03:32 -0500
commit1e1b81d7b1f85844931356b9dcf2a252df304be9 (patch)
tree009e1d98ccbb19ff6c0c50bd33791e2a8e3867a3 /Makefile-cmph.am
parent0007b3ec76bafa732201ad96eccdf8b5626fe3fd (diff)
downloadgobject-introspection-1e1b81d7b1f85844931356b9dcf2a252df304be9.tar.gz
cmph-bdz-test: New test
Add a basic test of CMPH (without any layers on top).
Diffstat (limited to 'Makefile-cmph.am')
-rw-r--r--Makefile-cmph.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile-cmph.am b/Makefile-cmph.am
index 31db667b..65617a01 100644
--- a/Makefile-cmph.am
+++ b/Makefile-cmph.am
@@ -1,7 +1,7 @@
noinst_LTLIBRARIES += libcmph.la
libcmph_la_CPPFLAGS = -Icmph $(GLIB_CFLAGS)
-libcmph_la_LIBADD = $(GLIB_LIBS)
+libcmph_la_LIBADD = -lm $(GLIB_LIBS)
libcmph_la_SOURCES = \
girepository/cmph/bdz.c \
@@ -65,3 +65,10 @@ libcmph_la_SOURCES = \
girepository/cmph/vqueue.h \
girepository/cmph/vstack.c \
girepository/cmph/vstack.h
+
+GTESTER_PROGS += cmph-bdz-test
+
+cmph_bdz_test_SOURCES = girepository/cmph-bdz-test.c
+cmph_bdz_test_CFLAGS = -Igirepository/cmph $(GOBJECT_CFLAGS)
+cmph_bdz_test_LDADD = libcmph.la $(GOBJECT_LIBS)
+