X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2FMakefile.am;h=ae0129017df89dcc4889b2e34a215f0b9fb0ce84;hb=a24ba773afb595b2be95a01702816aa66f50ac54;hp=7dc939ff98e603a0fcac1b64f15c51b2fa88881c;hpb=4684716c489657edf098565eb54bdf86bad1b45c;p=evince.git diff --git a/shell/Makefile.am b/shell/Makefile.am index 7dc939ff..ae012901 100644 --- a/shell/Makefile.am +++ b/shell/Makefile.am @@ -1,5 +1,3 @@ -NULL= - INCLUDES= \ -DDATADIR=\"$(pkgdatadir)\" \ -DGNOMEDATADIR=\"$(datadir)\" \ @@ -12,51 +10,18 @@ INCLUDES= \ -DGNOMELOCALEDIR=\"$(datadir)/locale\" \ -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \ $(SHELL_CFLAGS) \ - $(EVINCE_DISABLE_DEPRECATED) \ - $(NULL) - -if ENABLE_DBUS -INCLUDES += $(DBUS_CFLAGS) -endif + $(WARN_CFLAGS) \ + $(DISABLE_DEPRECATED) bin_PROGRAMS=evince -noinst_LTLIBRARIES = libevbackendfactory.la - -libevbackendfactory_la_SOURCES= \ - ev-document-types.c \ - ev-document-types.h - -libevbackendfactory_la_LIBADD = \ - $(top_builddir)/pdf/libpdfdocument.la \ - $(top_builddir)/pixbuf/libpixbufdocument.la \ - $(top_builddir)/ps/libgtkgs.la \ - $(top_builddir)/backend/libevbackend.la \ - $(NULL) - -if ENABLE_DJVU -libevbackendfactory_la_LIBADD += \ - $(top_builddir)/djvu/libgtkdjvu.la \ - $(NULL) -endif - -if ENABLE_TIFF -libevbackendfactory_la_LIBADD += \ - $(top_builddir)/tiff/libtiffdocument.la \ - $(NULL) -endif - -if ENABLE_DVI -libevbackendfactory_la_LIBADD += \ - $(top_builddir)/dvi/libgtkdvi.la \ - $(NULL) -endif evince_SOURCES= \ - dummy.cc \ eggfindbar.c \ 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 \ @@ -65,6 +30,8 @@ evince_SOURCES= \ ev-job-xfer.h \ ev-marshal.c \ ev-marshal.h \ + ev-metadata-manager.c \ + ev-metadata-manager.h \ ev-page-action.c \ ev-page-action.h \ ev-page-cache.h \ @@ -99,30 +66,15 @@ evince_SOURCES= \ ev-statusbar.h \ ev-stock-icons.c \ ev-stock-icons.h \ - main.c \ - $(NULL) - -if ENABLE_METADATA -evince_SOURCES += \ - ev-metadata-manager.h \ - ev-metadata-manager.c -endif + main.c 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/zoom-control/libephyzoom.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 + $(top_builddir)/lib/libev.la BUILT_SOURCES = ev-marshal.h ev-marshal.c @@ -130,7 +82,9 @@ if ENABLE_DBUS BUILT_SOURCES += ev-application-service.h endif -EXTRA_DIST = ev-marshal.list +EXTRA_DIST = ev-marshal.list \ + ev-application-service.xml + ev-marshal.h: ev-marshal.list glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h @@ -139,5 +93,13 @@ 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 -ev-application-service.h: ev-application-service.xml +DISTCLEANFILES= \ + ev-application-service.h + +if DBUS_TOOL_NO_PREFIX +ev-application-service.h: $(srcdir)/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: $(srcdir)/ev-application-service.xml + dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml +endif