summaryrefslogtreecommitdiff
path: root/backend/dvi/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'backend/dvi/Makefile.am')
-rw-r--r--backend/dvi/Makefile.am47
1 files changed, 47 insertions, 0 deletions
diff --git a/backend/dvi/Makefile.am b/backend/dvi/Makefile.am
new file mode 100644
index 00000000..6dcd50ed
--- /dev/null
+++ b/backend/dvi/Makefile.am
@@ -0,0 +1,47 @@
+SUBDIRS = mdvi-lib
+
+INCLUDES = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/libdocument \
+ -I$(srcdir)/mdvi-lib \
+ -DMATELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
+ $(WARN_CFLAGS) \
+ $(BACKEND_CFLAGS) \
+ $(SPECTRE_CFLAGS) \
+ $(DISABLE_DEPRECATED)
+
+backend_LTLIBRARIES = libdvidocument.la
+
+libdvidocument_la_SOURCES = \
+ dvi-document.c \
+ dvi-document.h \
+ cairo-device.c \
+ cairo-device.h \
+ texmfcnf.c \
+ texmfcnf.h \
+ fonts.c \
+ fonts.h
+
+libdvidocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
+libdvidocument_la_LIBADD = \
+ mdvi-lib/libmdvi.la \
+ -lkpathsea \
+ $(top_builddir)/libdocument/libevdocument.la \
+ $(BACKEND_LIBS) \
+ $(SPECTRE_LIBS)
+
+if WITH_TYPE1_FONTS
+libdvidocument_la_LIBADD += -lt1
+endif
+
+backend_in_files = dvidocument.evince-backend.in
+backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
+
+EXTRA_DIST = $(backend_in_files)
+
+CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_EVINCE_BACKEND_RULE@
+
+-include $(top_srcdir)/git.mk