]> www.fi.muni.cz Git - evince.git/blobdiff - shell/Makefile.am
Updated Brazilian Portuguese translation.
[evince.git] / shell / Makefile.am
index a95b57dfa7a26a240e084a8fa8c2b65b6bae1c4e..ae0129017df89dcc4889b2e34a215f0b9fb0ce84 100644 (file)
@@ -1,5 +1,3 @@
-NULL=
-
 INCLUDES=                                              \
        -DDATADIR=\"$(pkgdatadir)\"                     \
        -DGNOMEDATADIR=\"$(datadir)\"                   \
 INCLUDES=                                              \
        -DDATADIR=\"$(pkgdatadir)\"                     \
        -DGNOMEDATADIR=\"$(datadir)\"                   \
@@ -13,17 +11,11 @@ INCLUDES=                                           \
        -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
        $(SHELL_CFLAGS)                                 \
        $(WARN_CFLAGS)                                  \
        -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
        $(SHELL_CFLAGS)                                 \
        $(WARN_CFLAGS)                                  \
-       $(DISABLE_DEPRECATED)                           \
-       $(NULL)
-
-if ENABLE_DBUS
-INCLUDES += $(DBUS_CFLAGS)
-endif
+       $(DISABLE_DEPRECATED)
 
 bin_PROGRAMS=evince
 
 evince_SOURCES=                                \
 
 bin_PROGRAMS=evince
 
 evince_SOURCES=                                \
-       dummy.cc                        \
        eggfindbar.c                    \
        eggfindbar.h                    \
        ev-application.c                \
        eggfindbar.c                    \
        eggfindbar.h                    \
        ev-application.c                \
@@ -38,6 +30,8 @@ evince_SOURCES=                               \
        ev-job-xfer.h                   \
        ev-marshal.c                    \
        ev-marshal.h                    \
        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                 \
        ev-page-action.c                \
        ev-page-action.h                \
        ev-page-cache.h                 \
@@ -72,30 +66,15 @@ evince_SOURCES=                             \
        ev-statusbar.h                  \
        ev-stock-icons.c                \
        ev-stock-icons.h                \
        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           \
 
 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)/cut-n-paste/toolbar-editor/libtoolbareditor.la  \
        $(top_builddir)/properties/libevproperties.la                   \
-       $(top_builddir)/lib/libev.la                                    \
-       $(top_builddir)/backend/libevbackend.la                         \
-       -ltiff -lz                                                      \
-       $(NULL)
-
-if ENABLE_DBUS
-evince_LDADD += $(DBUS_LIBS)
-endif
+       $(top_builddir)/lib/libev.la
 
 BUILT_SOURCES = ev-marshal.h ev-marshal.c
 
 
 BUILT_SOURCES = ev-marshal.h ev-marshal.c
 
@@ -103,8 +82,9 @@ if ENABLE_DBUS
 BUILT_SOURCES += ev-application-service.h
 endif
 
 BUILT_SOURCES += ev-application-service.h
 endif
 
-EXTRA_DIST = ev-marshal.list \
-            ev-application-service.h
+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
 
 ev-marshal.h: ev-marshal.list
        glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h
@@ -113,10 +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
 
        echo '#include "ev-marshal.h"' > ev-marshal.c
        glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c
 
+DISTCLEANFILES= \
+       ev-application-service.h
+
 if DBUS_TOOL_NO_PREFIX
 if DBUS_TOOL_NO_PREFIX
-ev-application-service.h: ev-application-service.xml
+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
        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
+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
        dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
 endif