]> www.fi.muni.cz Git - evince.git/blobdiff - properties/Makefile.am
*** empty log message ***
[evince.git] / properties / Makefile.am
index e00edd80f59a7250e5c84110043caf00a146c3cc..b4ef6f051575362f9899c293b6dd1f1b46a0435e 100644 (file)
@@ -1,20 +1,17 @@
-NULL=
-
 INCLUDES=                                      \
        -DDATADIR=\"$(pkgdatadir)\"             \
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
        -I$(top_srcdir)/backend                 \
-       $(PROPERTIES_CFLAGS)                    \
+       $(FRONTEND_CFLAGS)                      \
        $(NAUTILUS_CFLAGS)                      \
-       $(EVINCE_DISABLE_DEPRECATED)            \
-       $(NULL)
+       $(DISABLE_DEPRECATED)                   \
+       $(WARN_CFLAGS)
 
 noinst_LTLIBRARIES = libevproperties.la
 
 libevproperties_la_SOURCES=                    \
        ev-properties-view.c                    \
-       ev-properties-view.h                    \
-       $(NULL)
+       ev-properties-view.h
 
 if HAVE_NAUTILUS
 EVINCE_PROPERTIES_PAGE = libevince-properties-page.la
@@ -29,9 +26,22 @@ 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
+libevince_properties_page_la_LIBADD =          \
+       $(top_builddir)/lib/libev.la            \
+       libevproperties.la                      \
+       $(FRONTEND_LIBS)                        \
+       $(NAUTILUS_LIBS)
+
+if ENABLE_DJVU
+libevince_properties_page_la_LIBADD +=         $(DJVU_LIBS)
+endif
+
+if ENABLE_DVI
+libevince_properties_page_la_LIBADD +=         -lkpathsea
+endif
+
+if WITH_TYPE1_FONTS
+libevince_properties_page_la_LIBADD += -lt1
+endif
+
+libevince_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined