aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-01-22 06:14:38 +0800
committerDiego Escalante Urrelo <diegoe@gnome.org>2010-01-22 06:26:02 +0800
commitba2d2c19ac174acbf74aa4258a82ac5ac7c7f455 (patch)
tree53ffc5a6c83293ba4b3e3e363de209b8271d0806 /tests/Makefile.am
parente0072d45988b1154a19ea46a6f93c5ccc66cb9c1 (diff)
downloadgsoc2013-epiphany-ba2d2c19ac174acbf74aa4258a82ac5ac7c7f455.tar.gz
gsoc2013-epiphany-ba2d2c19ac174acbf74aa4258a82ac5ac7c7f455.tar.zst
gsoc2013-epiphany-ba2d2c19ac174acbf74aa4258a82ac5ac7c7f455.zip
tests: simplify Makefile.am
Don't cherry pick internal libraries for tests.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am40
1 files changed, 25 insertions, 15 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7302f6e80..d8ba9d4ff 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,34 +4,44 @@ noinst_PROGRAMS = \
testephyzoomcontrol
INCLUDES = \
- -I$(top_srcdir)/lib \
- -I$(top_srcdir)/lib/widgets
+ -I$(top_srcdir)/embed \
+ -I$(top_srcdir)/lib \
+ -I$(top_srcdir)/lib/widgets \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/bookmarks
CFLAGS = \
$(DEPENDENCIES_CFLAGS) \
$(AM_CFLAGS)
LDADD = \
+ $(top_builddir)/src/libephymain.la \
+ $(top_builddir)/src/bookmarks/libephybookmarks.la \
+ $(top_builddir)/embed/libephyembed.la \
+ $(top_builddir)/lib/widgets/libephywidgets.la \
+ $(top_builddir)/lib/libephymisc.la \
+ $(top_builddir)/lib/egg/libegg.la \
$(DEPENDENCIES_LIBS)
+if ENABLE_NSS
+CFLAGS += \
+ $(NSS_CFLAGS)
+LDADD += \
+ $(NSS_LIBS)
+endif
+
+if ENABLE_NSS
+CFLAGS += \
+ $(SEED_CFLAGS)
+LDADD += \
+ $(SEED_LIBS)
+endif
+
testephysearchentry_SOURCES = \
testephysearchentry.c
-testephysearchentry_LDADD = \
- $(top_builddir)/lib/widgets/libephywidgets.la \
- $(DEPENDENCIES_LIBS)
testephylocationentry_SOURCES = \
testephylocationentry.c
-testephylocationentry_LDADD = \
- $(top_builddir)/embed/libephyembed.la \
- $(top_builddir)/lib/widgets/libephywidgets.la \
- $(top_builddir)/lib/egg/libegg.la \
- $(top_builddir)/lib/libephymisc.la \
- $(DEPENDENCIES_LIBS)
testephyzoomcontrol_SOURCES = \
testephyzoomcontrol.c
-testephyzoomcontrol_LDADD = \
- $(top_builddir)/lib/widgets/libephywidgets.la \
- $(top_builddir)/lib/libephymisc.la \
- $(DEPENDENCIES_LIBS)