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=24e3ab66e52f16407ba6de88147df3bf4f23d3e3;hb=8d858ef399ef70a2c9efb391242e8c8be70e2109;hp=c916987244e2599b534effbe68886de14a8826cb;hpb=bca369672136e5ff831ece9832afd42085808fba;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index c9169872..24e3ab66 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -8,24 +8,21 @@ INCLUDES= \ -I$(top_srcdir)/cut-n-paste/zoom-control/ \ -I$(top_srcdir)/cut-n-paste/toolbar-editor/ \ -I$(top_srcdir)/backend \ - -I$(top_srcdir)/pdf \ - -I$(top_srcdir)/pixbuf \ - -I$(top_srcdir)/tiff \ - -I$(top_srcdir)/ps \ - -I$(top_srcdir)/djvu \ - -I$(top_srcdir)/dvi \ + -I$(top_srcdir)/properties \ -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ $(SHELL_CFLAGS) \ $(EVINCE_DISABLE_DEPRECATED) \ $(NULL) +if ENABLE_DBUS +INCLUDES += $(DBUS_CFLAGS) +endif + bin_PROGRAMS=evince noinst_LTLIBRARIES = libevbackendfactory.la -libevbackendfactory_la_SOURCES= \ - ev-document-types.c \ - ev-document-types.h +libevbackendfactory_la_SOURCES = libevbackendfactory_la_LIBADD = \ $(top_builddir)/pdf/libpdfdocument.la \ @@ -58,6 +55,8 @@ 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 \ @@ -78,8 +77,10 @@ evince_SOURCES= \ ev-pixbuf-cache.h \ ev-print-job.c \ ev-print-job.h \ - ev-properties.c \ - ev-properties.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.c \ @@ -101,20 +102,36 @@ evince_SOURCES= \ main.c \ $(NULL) +if ENABLE_METADATA +evince_SOURCES += \ + ev-metadata-manager.h \ + ev-metadata-manager.c +endif + evince_LDADD= \ $(SHELL_LIBS) \ $(top_builddir)/cut-n-paste/recent-files/librecent.la \ $(top_builddir)/cut-n-paste/zoom-control/libephymisc.la \ $(top_builddir)/cut-n-paste/zoom-control/libephywidgets.la \ $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \ + $(top_builddir)/properties/libevproperties.la \ $(top_builddir)/lib/libev.la \ -ltiff -lz \ libevbackendfactory.la \ $(NULL) +if ENABLE_DBUS +evince_LDADD += $(DBUS_LIBS) +endif + BUILT_SOURCES = ev-marshal.h ev-marshal.c -EXTRA_DIST = ev-marshal.list +if ENABLE_DBUS +BUILT_SOURCES += ev-application-service.h +endif + +EXTRA_DIST = ev-marshal.list \ + ev-application-service.h ev-marshal.h: ev-marshal.list glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h @@ -122,3 +139,11 @@ ev-marshal.h: ev-marshal.list ev-marshal.c: ev-marshal.list echo '#include "ev-marshal.h"' > ev-marshal.c glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c + +if DBUS_TOOL_NO_PREFIX +ev-application-service.h: ev-application-service.xml + dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml +else +ev-application-service.h: ev-application-service.xml + dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml +endif