X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2FMakefile.am;h=94488b9844d8a65777f9b64eebd147c00895bb61;hb=1d0de30170119eade2a7305ffa8ec6d9a3e4af32;hp=2eff97f442f3ec7f4b4019d488ef524805c8fedb;hpb=fbc5a66df0f65fa6f06d2d8496794512033a9ef3;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 2eff97f4..94488b98 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,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)"\" \ @@ -31,13 +29,6 @@ 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) -endif - evince_SOURCES= \ eggfindbar.c \ eggfindbar.h \ @@ -51,7 +42,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 \ @@ -62,8 +52,6 @@ evince_SOURCES= \ 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 \ @@ -94,6 +82,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 @@ -104,7 +99,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 \ @@ -113,12 +107,15 @@ 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 @@ -126,8 +123,6 @@ evince_convert_metadata_LDADD= \ $(SHELL_LIBS) if ENABLE_DBUS -BUILT_SOURCES += ev-daemon-service.h - evinced_SOURCES= \ ev-daemon.c @@ -147,10 +142,7 @@ evinced_LDADD= \ endif EXTRA_DIST = ev-marshal.list \ - ev-application-service.xml \ - ev-daemon-service.xml \ - $(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 @@ -159,14 +151,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 \ - ev-daemon-service.h - -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 - -ev-daemon-service.h: $(srcdir)/ev-daemon-service.xml - $(AM_V_GEN)dbus-binding-tool --prefix=ev_daemon --mode=glib-server --output=ev-daemon-service.h $(srcdir)/ev-daemon-service.xml +DISTCLEANFILES = -include $(top_srcdir)/git.mk