]> www.fi.muni.cz Git - evince.git/blob - backend/pdf/Makefile.am
Bug 569082 – use versioned directory for backends
[evince.git] / backend / pdf / Makefile.am
1 INCLUDES =                                      \
2         -I$(top_srcdir)                         \
3         -I$(top_srcdir)/libdocument             \
4         -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
5         -DEVINCE_COMPILATION                    \
6         $(BACKEND_CFLAGS)                       \
7         $(POPPLER_CFLAGS)                       \
8         $(WARN_CXXFLAGS)                        \
9         $(DISABLE_DEPRECATED)
10
11 backend_LTLIBRARIES = libpdfdocument.la
12
13 libpdfdocument_la_SOURCES =                     \
14         ev-poppler.cc                           \
15         ev-poppler.h
16
17 libpdfdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
18 libpdfdocument_la_LIBADD =                              \
19         $(top_builddir)/libdocument/libevdocument.la    \
20         $(BACKEND_LIBS)                                 \
21         $(POPPLER_LIBS)                                 \
22         $(CAIRO_PDF_LIBS)                               \
23         $(CAIRO_PS_LIBS)
24
25 backend_in_files = pdfdocument.evince-backend.in
26
27 %.evince-backend: %.evince-backend.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
28
29 backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
30
31 EXTRA_DIST = $(backend_in_files)
32
33 CLEANFILES = $(backend_DATA)