summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2009-09-06 21:05:43 -0500
committerShaun McCance <shaunm@gnome.org>2009-09-06 21:05:43 -0500
commit0ecd81f37560fc968ea2916e0fa3a7a0cd59174b (patch)
tree87f83878d4569218e5cc573aedeb3fa77c88112c /tests
parent3da814fdf5c3dd8d209574fdeb99cc2cf6cbdfb4 (diff)
downloadyelp-0ecd81f37560fc968ea2916e0fa3a7a0cd59174b.tar.gz
Fixing some build issues with libyelp
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am19
1 files changed, 11 insertions, 8 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2975199c..6277334f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,10 +1,13 @@
-check_PROGRAMS = test-uri
+YELP_COMMON_CFLAGS = \
+ $(YELP_CFLAGS) \
+ $(AM_CFLAGS) \
+ $(YELP_DEFINES) \
+ -I$(top_srcdir)/libyelp
+YELP_COMMON_LDADD = \
+ $(YELP_LIBS) \
+ $(top_builddir)/libyelp/libyelp.la
-test_uri_SOURCES = \
- $(top_srcdir)/libyelp/yelp-uri.c \
- $(top_srcdir)/libyelp/yelp-uri.h \
- test-uri.c
+check_PROGRAMS = test-uri
-test_uri_CFLAGS = $(YELP_CFLAGS) $(AM_CFLAGS) $(YELP_DEFINES) -I$(top_srcdir)/libyelp `pkg-config --cflags gio-unix-2.0`
-test_uri_LDADD = $(YELP_LIBS)
-test_uri_LDFLAGS = $(AM_LDFLAGS) `pkg-config --libs gio-unix-2.0`
+test_uri_CFLAGS = $(YELP_COMMON_CFLAGS)
+test_uri_LDADD = $(YELP_COMMON_LDADD)