X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=8336230f007890869122b807d56b3a1b4231fc3b;hb=a90e38bd4aab8013c402e55753275f5b3408e103;hp=3ccc9ed7ecd98e9dadca988ac480bc452e05bc14;hpb=c07587236140aca6f4bda452043fb043769f0a80;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 3ccc9ed7..8336230f 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -6,7 +6,6 @@ INCLUDES= \ -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)/cut-n-paste/evinfobar/ \ -I$(top_srcdir)/cut-n-paste/gimpcellrenderertoggle/ \ -I$(top_srcdir)/cut-n-paste/smclient/ \ -I$(top_srcdir)/libdocument \ @@ -15,8 +14,9 @@ INCLUDES= \ -I$(top_builddir)/libview \ -I$(top_srcdir)/libmisc \ -I$(top_srcdir)/properties \ - -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ + -DBINDIR=\""$(bindir)"\" \ + -DLIBEXECDIR=\""$(libexecdir)"\" \ -DEVINCE_COMPILATION \ $(SHELL_CFLAGS) \ $(WARN_CFLAGS) \ @@ -25,17 +25,15 @@ INCLUDES= \ bin_PROGRAMS=evince libexec_PROGRAMS=evince-convert-metadata - -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-application.c \ ev-application.h \ ev-file-monitor.h \ @@ -46,27 +44,24 @@ evince_SOURCES= \ ev-keyring.c \ ev-marshal.c \ ev-marshal.h \ - $(DBUS_SOURCES) \ ev-message-area.c \ ev-message-area.h \ ev-metadata.c \ ev-metadata.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-password-view.h \ ev-password-view.c \ - ev-print-operation.h \ - ev-print-operation.c \ ev-progress-message-area.h \ ev-progress-message-area.c \ ev-properties-dialog.c \ ev-properties-dialog.h \ ev-properties-fonts.c \ ev-properties-fonts.h \ + ev-properties-license.c \ + ev-properties-license.h \ ev-open-recent-action.c \ ev-open-recent-action.h \ ev-utils.c \ @@ -77,6 +72,8 @@ 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-layers.c \ @@ -89,6 +86,13 @@ evince_SOURCES= \ ev-sidebar-thumbnails.h \ main.c +if ENABLE_DBUS +evince_SOURCES += \ + ev-media-player-keys.c \ + ev-media-player-keys.h +endif + + evince_LDFLAGS = $(AM_LDFLAGS) if PLATFORM_WIN32 @@ -99,7 +103,6 @@ evince_LDADD= \ $(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)/cut-n-paste/evinfobar/libevinfobar.la \ $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \ $(top_builddir)/cut-n-paste/smclient/libsmclient.la \ $(top_builddir)/properties/libevproperties.la \ @@ -108,24 +111,42 @@ evince_LDADD= \ $(top_builddir)/libmisc/libevmisc.la \ $(SHELL_LIBS) -BUILT_SOURCES = ev-marshal.h ev-marshal.c +if PLATFORM_WIN32 +evince_LDADD += evince-icon.o -if ENABLE_DBUS -BUILT_SOURCES += ev-application-service.h +evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico + $(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o 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)\" \ + -DGNOMEDATADIR=\"$(datadir)\" \ + -I$(top_srcdir) \ + -I$(top_builddir) \ + -DLIBEXECDIR=\""$(libexecdir)"\" \ + -DEVINCE_COMPILATION \ + $(EV_DAEMON_CFLAGS) \ + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED) -EXTRA_DIST = ev-marshal.list \ - ev-application-service.xml \ - $(EV_MEDIA_PLAYER_KEYS_SOURCES) +evinced_LDADD= \ + $(EV_DAEMON_LIBS) +endif +EXTRA_DIST = ev-marshal.list \ + 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 @@ -134,8 +155,6 @@ ev-marshal.c: $(srcdir)/ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c -DISTCLEANFILES= \ - ev-application-service.h +DISTCLEANFILES = -ev-application-service.h: $(srcdir)/ev-application-service.xml - $(AM_V_GEN)dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml +-include $(top_srcdir)/git.mk