X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=shell%2FMakefile.am;h=f4da6818d245fa826438508edd8c60586badaaa5;hb=1c2d9608d0d3dee305e1556525fc8c04db24a916;hp=f728c1e422be0423bec7cfa5e721c03448da54fa;hpb=166131c9257f2640843aef37f2febafc8f7da9ea;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index f728c1e4..f4da6818 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -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)"\" \ @@ -30,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 \ @@ -91,6 +83,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 @@ -118,10 +117,6 @@ endif BUILT_SOURCES = ev-marshal.h ev-marshal.c -if ENABLE_DBUS -BUILT_SOURCES += ev-application-service.h -endif - evince_convert_metadata_SOURCES= \ ev-convert-metadata.c @@ -129,8 +124,6 @@ evince_convert_metadata_LDADD= \ $(SHELL_LIBS) if ENABLE_DBUS -BUILT_SOURCES += ev-daemon-service.h - evinced_SOURCES= \ ev-daemon.c @@ -150,10 +143,7 @@ evinced_LDADD= \ endif EXTRA_DIST = ev-marshal.list \ - ev-application-service.xml \ - 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 @@ -162,10 +152,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-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 +DISTCLEANFILES = -include $(top_srcdir)/git.mk