]> www.fi.muni.cz Git - evince.git/blob - backend/impress/Makefile.am
Add zlib to linker flags to avoid undefined symbols on win32
[evince.git] / backend / impress / Makefile.am
1 INCLUDES =                                      \
2         -I$(top_srcdir)                         \
3         -I$(top_srcdir)/libdocument             \
4         -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
5         -DDATADIR=\""$(datadir)"\"              \
6         -DEVINCE_COMPILATION                    \
7         $(BACKEND_CFLAGS)                       \
8         $(WARN_CFLAGS)                          \
9         $(DISABLE_DEPRECATED)
10
11 backend_LTLIBRARIES = libimpressdocument.la
12
13 libimpressdocument_la_SOURCES = \
14         $(IMPOSTER_SOURCE_FILES)        \
15         $(IMPOSTER_INCLUDE_FILES)       \
16         impress-document.c              \
17         impress-document.h
18
19 IMPOSTER_SOURCE_FILES =                 \
20         document.c                      \
21         f_oasis.c                       \
22         f_oo13.c                        \
23         iksemel.c                       \
24         r_back.c                        \
25         r_draw.c                        \
26         render.c                        \
27         r_geometry.c                    \
28         r_gradient.c                    \
29         r_style.c                       \
30         r_text.c                        \
31         zip.c
32 IMPOSTER_INCLUDE_FILES =                \
33         common.h                        \
34         iksemel.h                       \
35         imposter.h                      \
36         internal.h                      \
37         zip.h
38 IMPOSTER_RENDER_SOURCE_FILES =          \
39         render.c
40 IMPOSTER_RENDER_INCLUDE_FILES =         \
41         render.h
42
43 libimpressdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
44 libimpressdocument_la_LIBADD =                          \
45         $(top_builddir)/libdocument/libevdocument.la     \
46         $(BACKEND_LIBS) -lz
47
48 backend_in_files = impressdocument.evince-backend.in
49
50 %.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
51
52 backend_DATA = $(backend_in_files:.evince-backend.in=.evince-backend)
53
54 EXTRA_DIST = $(backend_in_files)
55
56 CLEANFILES = $(backend_DATA)