summaryrefslogtreecommitdiff
path: root/backend/epub/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epub/Makefile.am')
-rw-r--r--backend/epub/Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/backend/epub/Makefile.am b/backend/epub/Makefile.am
new file mode 100644
index 00000000..31dd455e
--- /dev/null
+++ b/backend/epub/Makefile.am
@@ -0,0 +1,37 @@
+SUBDIRS = minizip
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/libdocument \
+ -I$(srcdir)/minizip \
+ -DMATELOCALEDIR=\"$(datadir)/locale\" \
+ -DATRIL_COMPILATION \
+ $(BACKEND_CFLAGS) \
+ $(WARN_CXXFLAGS) \
+ $(WEBKIT_CFLAGS) \
+ $(DISABLE_DEPRECATED)
+
+backend_LTLIBRARIES = libepubdocument.la
+
+libepubdocument_la_SOURCES = \
+ epub-document.c \
+ epub-document.h
+
+libepubdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
+libepubdocument_la_LIBADD = \
+ $(top_builddir)/libdocument/libatrildocument.la \
+ minizip/libminizip.la \
+ $(WEBKIT_LIBS) \
+ $(BACKEND_LIBS)
+
+
+backend_in_files = epubdocument.atril-backend.in
+backend_DATA = $(backend_in_files:.atril-backend.in=.atril-backend)
+
+EXTRA_DIST = $(backend_in_files)
+
+CLEANFILES = $(backend_DATA)
+
+@EV_INTLTOOL_ATRIL_BACKEND_RULE@
+
+-include $(top_srcdir)/git.mk