X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=008037e41ecbd0744cf62a645268de6bc131871c;hb=d3bc7b9497f6205eaa0c6dece068caff6411ce8c;hp=c801b7819a261c964032a5382c0c931651d19598;hpb=eb65999fbc7173f07731461c97e6be2a1d8467ce;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index c801b781..008037e4 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,5 +1,5 @@ INCLUDES= \ - -DDATADIR=\"$(pkgdatadir)\" \ + -DEVINCEDATADIR=\"$(pkgdatadir)\" \ -DGNOMEDATADIR=\"$(datadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ @@ -14,7 +14,6 @@ INCLUDES= \ -I$(top_builddir)/libview \ -I$(top_srcdir)/libmisc \ -I$(top_srcdir)/properties \ - -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ -DBINDIR=\""$(bindir)"\" \ -DLIBEXECDIR=\""$(libexecdir)"\" \ @@ -25,23 +24,23 @@ INCLUDES= \ bin_PROGRAMS=evince -libexec_PROGRAMS=evince-convert-metadata if ENABLE_DBUS -libexec_PROGRAMS += evinced -endif - -EV_MEDIA_PLAYER_KEYS_SOURCES = ev-media-player-keys.c ev-media-player-keys.h -if ENABLE_DBUS -DBUS_SOURCES = $(EV_MEDIA_PLAYER_KEYS_SOURCES) -else -DBUS_SOURCES = $(null) +libexec_PROGRAMS = evinced endif evince_SOURCES= \ eggfindbar.c \ eggfindbar.h \ + ev-annotation-properties-dialog.h \ + ev-annotation-properties-dialog.c \ + ev-bookmarks.h \ + ev-bookmarks.c \ + ev-bookmark-action.h \ + ev-bookmark-action.c \ ev-application.c \ ev-application.h \ + ev-dualscreen.h \ + ev-dualscreen.c \ ev-file-monitor.h \ ev-file-monitor.c \ ev-history.c \ @@ -50,7 +49,6 @@ evince_SOURCES= \ ev-keyring.c \ ev-marshal.c \ ev-marshal.h \ - $(DBUS_SOURCES) \ ev-message-area.c \ ev-message-area.h \ ev-metadata.c \ @@ -79,8 +77,12 @@ evince_SOURCES= \ ev-window-title.h \ ev-sidebar.c \ ev-sidebar.h \ + ev-sidebar-annotations.c \ + ev-sidebar-annotations.h \ ev-sidebar-attachments.c \ ev-sidebar-attachments.h \ + ev-sidebar-bookmarks.h \ + ev-sidebar-bookmarks.c \ ev-sidebar-layers.c \ ev-sidebar-layers.h \ ev-sidebar-links.c \ @@ -91,6 +93,15 @@ evince_SOURCES= \ ev-sidebar-thumbnails.h \ main.c +if ENABLE_DBUS +evince_SOURCES += \ + ev-media-player-keys.c \ + ev-media-player-keys.h \ + ev-presentation-timer.h \ + ev-presentation-timer.c +endif + + evince_LDFLAGS = $(AM_LDFLAGS) if PLATFORM_WIN32 @@ -104,8 +115,8 @@ evince_LDADD= \ $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \ $(top_builddir)/cut-n-paste/smclient/libsmclient.la \ $(top_builddir)/properties/libevproperties.la \ - $(top_builddir)/libdocument/libevdocument.la \ - $(top_builddir)/libview/libevview.la \ + $(top_builddir)/libdocument/libevdocument3.la \ + $(top_builddir)/libview/libevview3.la \ $(top_builddir)/libmisc/libevmisc.la \ $(SHELL_LIBS) @@ -118,18 +129,12 @@ endif BUILT_SOURCES = ev-marshal.h ev-marshal.c -evince_convert_metadata_SOURCES= \ - ev-convert-metadata.c - -evince_convert_metadata_LDADD= \ - $(SHELL_LIBS) - if ENABLE_DBUS evinced_SOURCES= \ ev-daemon.c evinced_CFLAGS= \ - -DDATADIR=\"$(pkgdatadir)\" \ + -DEVINCEDATADIR=\"$(pkgdatadir)\" \ -DGNOMEDATADIR=\"$(datadir)\" \ -I$(top_srcdir) \ -I$(top_builddir) \ @@ -144,8 +149,7 @@ evinced_LDADD= \ endif EXTRA_DIST = ev-marshal.list \ - evince-icon.rc \ - $(EV_MEDIA_PLAYER_KEYS_SOURCES) + evince-icon.rc ev-marshal.h: $(srcdir)/ev-marshal.list $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h