From 2c458e7c62b59db60304c4b3bf6e2d0a11a85c6d Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Sun, 27 May 2012 08:33:48 -0700 Subject: Add EvbpViewer convenience library to use in tests Rather than build all the EvbpViewer sources twice, make a convience library for the tests to link to. This does add the unfortunate effect of relinking libevbp-viewer.la and libevbp.la every time there's a change in the source, though. --- test/Makefile.am | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index ee981d3..7b65dd4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,13 +1,4 @@ AM_CFLAGS = -I$(top_srcdir)/src $(MOZILLA_CFLAGS) $(EVINCE_CFLAGS) $(E_CFLAGS) -LDADD = $(EVINCE_LIBS) +LDADD = $(top_builddir)/src/libevbp-viewer.la noinst_PROGRAMS = mime previewer - -mime_SOURCES = mime.c $(top_srcdir)/src/evbp-mime.c - -previewer_SOURCES = previewer.c \ - $(top_srcdir)/src/evbp-viewer.h $(top_srcdir)/src/evbp-viewer.c \ - $(top_srcdir)/src/ev-page-action.h $(top_srcdir)/src/ev-page-action.c \ - $(top_srcdir)/src/ev-page-action-widget.h \ - $(top_srcdir)/src/ev-page-action-widget.c \ - $(top_srcdir)/src/evbp-mime.h $(top_srcdir)/src/evbp-mime.c -- cgit v1.2.3