]> www.fi.muni.cz Git - evince.git/blobdiff - properties/Makefile.am
Use AM_CONDITIONAL unconditionally, fixes the build with DBUS disabled.
[evince.git] / properties / Makefile.am
index bac8f3596cebffc983025cb2a33bdcb99c74f6df..e00edd80f59a7250e5c84110043caf00a146c3cc 100644 (file)
@@ -2,8 +2,10 @@ NULL=
 
 INCLUDES=                                      \
        -DDATADIR=\"$(pkgdatadir)\"             \
+       -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
        -I$(top_srcdir)/backend                 \
-       $(SHELL_CFLAGS)                         \
+       $(PROPERTIES_CFLAGS)                    \
+       $(NAUTILUS_CFLAGS)                      \
        $(EVINCE_DISABLE_DEPRECATED)            \
        $(NULL)
 
@@ -13,3 +15,23 @@ libevproperties_la_SOURCES=                  \
        ev-properties-view.c                    \
        ev-properties-view.h                    \
        $(NULL)
+
+if HAVE_NAUTILUS
+EVINCE_PROPERTIES_PAGE = libevince-properties-page.la
+else
+EVINCE_PROPERTIES_PAGE =
+endif
+
+nautilus_LTLIBRARIES = $(EVINCE_PROPERTIES_PAGE)
+
+nautilusdir = $(libdir)/nautilus/extensions-1.0/
+libevince_properties_page_la_CFLAGS = -I$(top_srcdir)
+libevince_properties_page_la_SOURCES =         \
+       ev-properties-main.c
+
+libevince_properties_page_la_LIBADD =                  \
+       $(PROPERTIES_LIBS)                              \
+       libevproperties.la                              \
+       $(top_builddir)/shell/libevbackendfactory.la    \
+       $(top_builddir)/lib/libev.la                    \
+       -ltiff -lz