From 8b5331eee2060b961fdd5072630c016a80ccf45f Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Tue, 3 Jun 2003 21:09:42 +0000 Subject: [PATCH] generate lib/ggv-sidebar/Makefile. * configure.in: generate lib/ggv-sidebar/Makefile. * lib/Makefile.am (SUBDIRS): add ggv-sidebar. * lib/ggv-sidebar/ggvutils.h, lib/ggv-sidebar/ggv-prefs.h: everything we need from the ggv files of the same name. * lib/ggv-sidebar/ggvutils.c: plus their implementation. * lib/ggv-sidebar/Makefile.am: add ggvutils.[hc], ggv-prefs.h. * xpdf/Makefile.am: link with ggv-sidebar. * xpdf/gpdf-view.cc: implement GgvDocument interface. (gpdf_view_get_type): cannot use CLASS_BOILERPLATE with interfaces. (gpdf_view_get_page_count, gpdf_view_get_page_names) (gpdf_view_instance_init): for the interface. * xpdf/tests/test-gpdf-view.cc: add tests for GPdfView. * xpdf/tests/.cvsignore: ignore test-gpdf-view. * xpdf/tests/Makefile.am: add new test, link with ggv-sidebar. --- pdf/xpdf/Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index 5c2356d6..184b8cb7 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = . tests INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/goo \ + -I$(top_srcdir)/lib/ggv-sidebar \ -DDATADIR=\""$(datadir)"\" \ -DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ @@ -166,11 +167,12 @@ gnome_pdf_viewer_SOURCES = \ # gpdf-embeddable-view.cc \ # gpdf-embeddable-view.h -gnome_pdf_viewer_LDADD = \ - libxpdf.a \ - libgpdf.a \ - $(top_builddir)/goo/libGoo.a \ - $(EXTRA_GNOME_LIBS) \ +gnome_pdf_viewer_LDADD = \ + libxpdf.a \ + libgpdf.a \ + $(top_builddir)/goo/libGoo.a \ + $(top_builddir)/lib/ggv-sidebar/libggv-sidebar.a \ + $(EXTRA_GNOME_LIBS) \ $(libpaper_LIBS) xpdf_SOURCES = \ -- 2.43.5