X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=66ec71f18ec528878feac875bb354c1602019d63;hb=88f0701b10f70b8aede0f7e23014875ab72c2e26;hp=ae0129017df89dcc4889b2e34a215f0b9fb0ce84;hpb=9a1a3b315f05568f6e28f64f685338dc120d5491;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index ae012901..66ec71f1 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,17 +1,24 @@ INCLUDES= \ -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)/backend \ + -I$(top_srcdir)/cut-n-paste/totem-screensaver/ \ + -I$(top_srcdir)/libdocument \ -I$(top_srcdir)/properties \ -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ $(SHELL_CFLAGS) \ $(WARN_CFLAGS) \ - $(DISABLE_DEPRECATED) + $(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 @@ -20,20 +27,24 @@ evince_SOURCES= \ 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 \ @@ -42,39 +53,72 @@ evince_SOURCES= \ ev-password-view.c \ ev-pixbuf-cache.c \ ev-pixbuf-cache.h \ - ev-print-job.c \ - ev-print-job.h \ ev-properties-dialog.c \ ev-properties-dialog.h \ ev-properties-fonts.c \ ev-properties-fonts.h \ ev-utils.c \ ev-utils.h \ + ev-view-accessible.c \ + ev-view-accessible.h \ + ev-view-private.h \ ev-view.c \ ev-view.h \ ev-window.c \ ev-window.h \ + ev-window-title.c \ + 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-sidebar-page.h \ ev-sidebar-thumbnails.c \ ev-sidebar-thumbnails.h \ - ev-statusbar.c \ - ev-statusbar.h \ ev-stock-icons.c \ ev-stock-icons.h \ - main.c + ev-tooltip.c \ + ev-tooltip.h \ + main.c \ + xdg-user-dir-lookup.c + + +if WITH_GNOME_PRINT +evince_SOURCES+= \ + ev-print-job.c \ + ev-print-job.h +endif + evince_LDADD= \ - $(SHELL_LIBS) \ - $(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 + $(top_builddir)/libdocument/libevbackend.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 @@ -86,12 +130,12 @@ EXTRA_DIST = ev-marshal.list \ ev-application-service.xml -ev-marshal.h: ev-marshal.list - glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h +ev-marshal.h: $(srcdir)/ev-marshal.list + $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h -ev-marshal.c: ev-marshal.list +ev-marshal.c: $(srcdir)/ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c - glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c + $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c DISTCLEANFILES= \ ev-application-service.h