summaryrefslogtreecommitdiff
path: root/previewer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'previewer/Makefile.am')
-rw-r--r--previewer/Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/previewer/Makefile.am b/previewer/Makefile.am
new file mode 100644
index 00000000..ab8f95d7
--- /dev/null
+++ b/previewer/Makefile.am
@@ -0,0 +1,37 @@
+
+bin_PROGRAMS = evince-previewer
+
+evince_previewer_SOURCES = \
+ ev-previewer.c \
+ ev-previewer-window.h \
+ ev-previewer-window.c
+
+evince_previewer_CPPFLAGS = \
+ -DEVINCEDATADIR=\"$(pkgdatadir)\" \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/libdocument \
+ -I$(top_srcdir)/libview \
+ -I$(top_srcdir)/libmisc \
+ $(AM_CPPFLAGS)
+
+evince_previewer_CFLAGS = \
+ $(PREVIEWER_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
+ $(AM_CFLAGS)
+
+evince_previewer_LDFLAGS = $(AM_LDFLAGS)
+
+if PLATFORM_WIN32
+evince_previewer_LDFLAGS += -mwindows
+endif
+
+evince_previewer_LDADD = \
+ $(top_builddir)/libdocument/libevdocument.la \
+ $(top_builddir)/libview/libevview.la \
+ $(top_builddir)/libmisc/libevmisc.la \
+ $(PREVIEWER_LIBS)
+
+
+-include $(top_srcdir)/git.mk