-DDATADIR=\"$(pkgdatadir)\" \
-DGNOMEDATADIR=\"$(datadir)\" \
-I$(top_srcdir)/lib \
- -I$(top_srcdir)/cut-n-paste/recent-files/ \
-I$(top_srcdir)/cut-n-paste/zoom-control/ \
-I$(top_srcdir)/cut-n-paste/toolbar-editor/ \
+ -I$(top_srcdir)/cut-n-paste/totem-screensaver/ \
-I$(top_srcdir)/backend \
-I$(top_srcdir)/properties \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
$(SHELL_CFLAGS) \
$(WARN_CFLAGS) \
- $(GNOME_PRINT_CFLAGS)
+ $(DISABLE_DEPRECATED) \
+ $(GNOME_PRINT_CFLAGS) \
+ $(GTK_PRINT_CFLAGS)
+
+if HAVE_GTK_RECENT
+INCLUDES +=
+else
+INCLUDES += -I$(top_srcdir)/cut-n-paste/recent-files/
+endif
bin_PROGRAMS=evince
eggfindbar.h \
ev-application.c \
ev-application.h \
- ev-document-types.c \
- ev-document-types.h \
ev-job-queue.h \
ev-job-queue.c \
ev-jobs.h \
ev-jobs.c \
- ev-job-xfer.c \
- ev-job-xfer.h \
+ ev-history.c \
+ ev-history.h \
ev-marshal.c \
ev-marshal.h \
ev-metadata-manager.c \
ev-metadata-manager.h \
+ ev-navigation-action.c \
+ ev-navigation-action.h \
+ ev-navigation-action-widget.c \
+ ev-navigation-action-widget.h \
ev-page-action.c \
ev-page-action.h \
+ ev-page-action-widget.c \
+ ev-page-action-widget.h \
ev-page-cache.h \
ev-page-cache.c \
ev-password.h \
ev-window-title.h \
ev-sidebar.c \
ev-sidebar.h \
+ ev-sidebar-attachments.c \
+ ev-sidebar-attachments.h \
ev-sidebar-links.c \
ev-sidebar-links.h \
ev-sidebar-page.c \
ev-stock-icons.h \
main.c
+
if WITH_GNOME_PRINT
evince_SOURCES+= \
ev-print-job.c \
evince_LDADD= \
- $(top_builddir)/cut-n-paste/recent-files/librecent.la \
$(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \
$(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \
+ $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la \
$(top_builddir)/properties/libevproperties.la \
$(top_builddir)/lib/libev.la \
$(SHELL_LIBS) \
$(GNOME_PRINT_LIBS)
+if HAVE_GTK_RECENT
+evince_LDADD +=
+else
+evince_LDADD += $(top_builddir)/cut-n-paste/recent-files/librecent.la
+endif
+
+if ENABLE_DJVU
+evince_LDADD += $(DJVU_LIBS)
+endif
+
+if ENABLE_DVI
+evince_LDADD += -lkpathsea
+endif
+
+if WITH_TYPE1_FONTS
+evince_LDADD += -lt1
+endif
+
BUILT_SOURCES = ev-marshal.h ev-marshal.c
if ENABLE_DBUS