]> www.fi.muni.cz Git - evince.git/blobdiff - properties/Makefile.am
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / properties / Makefile.am
index fab35143ab2813483cb03caee9c0dbae04929ce7..ecbb5d9473be1d0484a820a3b4d11ea18405a715 100644 (file)
@@ -1,7 +1,8 @@
 INCLUDES=                                      \
-       -DDATADIR=\"$(pkgdatadir)\"             \
+       -DEVINCEDATADIR=\"$(pkgdatadir)\"       \
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
-       -I$(top_srcdir)/backend                 \
+       -I$(top_srcdir)                         \
+       -I$(top_builddir)                       \
        $(FRONTEND_CFLAGS)                      \
        $(NAUTILUS_CFLAGS)                      \
        $(DISABLE_DEPRECATED)                   \
@@ -13,35 +14,22 @@ libevproperties_la_SOURCES=                 \
        ev-properties-view.c                    \
        ev-properties-view.h
 
-if HAVE_NAUTILUS
-EVINCE_PROPERTIES_PAGE = libevince-properties-page.la
-else
-EVINCE_PROPERTIES_PAGE =
-endif
+if ENABLE_NAUTILUS
 
-nautilus_LTLIBRARIES = $(EVINCE_PROPERTIES_PAGE)
+nautilusextension_LTLIBRARIES = libevince-properties-page.la
 
-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 =          \
-       $(top_builddir)/lib/libev.la            \
        libevproperties.la                      \
+       $(top_builddir)/libdocument/libevdocument3.la   \
        $(FRONTEND_LIBS)                        \
        $(NAUTILUS_LIBS)
 
-if ENABLE_DJVU
-libevince_properties_page_la_LIBADD +=         $(DJVU_LIBS)
-endif
-
-if ENABLE_DJVU
-libevince_properties_page_la_LIBADD +=         -lkpathsea
-endif
+libevince_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined
 
-if WITH_TYPE1_FONTS
-libevince_properties_page_la_LIBADD += -lt1
-endif
+endif # ENABLE_NAUTILUS
 
-libevince_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined
+-include $(top_srcdir)/git.mk