]> www.fi.muni.cz Git - evince.git/blob - previewer/Makefile.am
Remove some code duplication
[evince.git] / previewer / Makefile.am
1
2 bin_PROGRAMS = evince-previewer
3
4 evince_previewer_SOURCES = \
5         ev-previewer.c          \
6         ev-previewer-window.h   \
7         ev-previewer-window.c
8
9 evince_previewer_CPPFLAGS = \
10         -DDATADIR=\"$(pkgdatadir)\"             \
11         -I$(top_srcdir)                         \
12         -I$(top_builddir)                       \
13         -I$(top_srcdir)/libdocument             \
14         -I$(top_srcdir)/libview                 \
15         -I$(top_srcdir)/libmisc                 \
16         $(AM_CPPFLAGS)
17
18 evince_previewer_CFLAGS = \
19         $(PREVIEWER_CFLAGS)                     \
20         $(WARN_CFLAGS)                          \
21         $(DISABLE_DEPRECATED)                   \
22         $(AM_CFLAGS)
23
24 evince_previewer_LDFLAGS = $(AM_LDFLAGS)
25
26 if PLATFORM_WIN32
27 evince_previewer_LDFLAGS += -mwindows
28 endif
29
30 evince_previewer_LDADD = \
31         $(top_builddir)/libdocument/libevdocument.la    \
32         $(top_builddir)/libview/libevview.la            \
33         $(top_builddir)/libmisc/libevmisc.la            \
34         $(PREVIEWER_LIBS)
35
36
37 -include $(top_srcdir)/git.mk