]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
[shell] Use new methods to get page and page label from a link
[evince.git] / shell / Makefile.am
1 INCLUDES=                                                       \
2         -DEVINCEDATADIR=\"$(pkgdatadir)\"                               \
3         -DGNOMEDATADIR=\"$(datadir)\"                           \
4         -I$(top_srcdir)                                         \
5         -I$(top_builddir)                                       \
6         -I$(top_srcdir)/cut-n-paste/zoom-control/               \
7         -I$(top_srcdir)/cut-n-paste/toolbar-editor/             \
8         -I$(top_srcdir)/cut-n-paste/totem-screensaver/          \
9         -I$(top_srcdir)/cut-n-paste/gimpcellrenderertoggle/     \
10         -I$(top_srcdir)/cut-n-paste/smclient/                   \
11         -I$(top_srcdir)/libdocument                             \
12         -I$(top_builddir)/libdocument                           \
13         -I$(top_srcdir)/libview                                 \
14         -I$(top_builddir)/libview                               \
15         -I$(top_srcdir)/libmisc                                 \
16         -I$(top_srcdir)/properties                              \
17         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"                 \
18         -DBINDIR=\""$(bindir)"\"                                \
19         -DLIBEXECDIR=\""$(libexecdir)"\"                        \
20         -DEVINCE_COMPILATION                                    \
21         $(SHELL_CFLAGS)                                         \
22         $(WARN_CFLAGS)                                          \
23         $(DISABLE_DEPRECATED)
24
25 bin_PROGRAMS=evince
26
27 libexec_PROGRAMS=evince-convert-metadata
28 if ENABLE_DBUS
29 libexec_PROGRAMS += evinced
30 endif
31
32 evince_SOURCES=                         \
33         eggfindbar.c                    \
34         eggfindbar.h                    \
35         ev-annotation-properties-dialog.h \
36         ev-annotation-properties-dialog.c \
37         ev-application.c                \
38         ev-application.h                \
39         ev-file-monitor.h               \
40         ev-file-monitor.c               \
41         ev-history.c                    \
42         ev-history.h                    \
43         ev-keyring.h                    \
44         ev-keyring.c                    \
45         ev-marshal.c                    \
46         ev-marshal.h                    \
47         ev-message-area.c               \
48         ev-message-area.h               \
49         ev-metadata.c                   \
50         ev-metadata.h                   \
51         ev-navigation-action.c          \
52         ev-navigation-action.h          \
53         ev-navigation-action-widget.c   \
54         ev-navigation-action-widget.h   \
55         ev-password-view.h              \
56         ev-password-view.c              \
57         ev-progress-message-area.h      \
58         ev-progress-message-area.c      \
59         ev-properties-dialog.c          \
60         ev-properties-dialog.h          \
61         ev-properties-fonts.c           \
62         ev-properties-fonts.h           \
63         ev-properties-license.c         \
64         ev-properties-license.h         \
65         ev-open-recent-action.c         \
66         ev-open-recent-action.h         \
67         ev-utils.c                      \
68         ev-utils.h                      \
69         ev-window.c                     \
70         ev-window.h                     \
71         ev-window-title.c               \
72         ev-window-title.h               \
73         ev-sidebar.c                    \
74         ev-sidebar.h                    \
75         ev-sidebar-annotations.c        \
76         ev-sidebar-annotations.h        \
77         ev-sidebar-attachments.c        \
78         ev-sidebar-attachments.h        \
79         ev-sidebar-layers.c             \
80         ev-sidebar-layers.h             \
81         ev-sidebar-links.c              \
82         ev-sidebar-links.h              \
83         ev-sidebar-page.c               \
84         ev-sidebar-page.h               \
85         ev-sidebar-thumbnails.c         \
86         ev-sidebar-thumbnails.h         \
87         main.c
88
89 if ENABLE_DBUS
90 evince_SOURCES += \
91         ev-media-player-keys.c \
92         ev-media-player-keys.h
93 endif
94
95
96 evince_LDFLAGS = $(AM_LDFLAGS)
97
98 if PLATFORM_WIN32
99 evince_LDFLAGS += -mwindows
100 endif
101
102 evince_LDADD=                                                                           \
103         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la                         \
104         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la                  \
105         $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la               \
106         $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
107         $(top_builddir)/cut-n-paste/smclient/libsmclient.la                             \
108         $(top_builddir)/properties/libevproperties.la                                   \
109         $(top_builddir)/libdocument/libevdocument3.la                                   \
110         $(top_builddir)/libview/libevview3.la                                           \
111         $(top_builddir)/libmisc/libevmisc.la                                            \
112         $(SHELL_LIBS)
113
114 if PLATFORM_WIN32
115 evince_LDADD += evince-icon.o
116
117 evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico
118         $(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o
119 endif
120
121 BUILT_SOURCES = ev-marshal.h ev-marshal.c
122
123 evince_convert_metadata_SOURCES=        \
124         ev-convert-metadata.c
125
126 evince_convert_metadata_LDADD=          \
127         $(SHELL_LIBS)
128
129 if ENABLE_DBUS
130 evinced_SOURCES=                        \
131         ev-daemon.c
132
133 evinced_CFLAGS=                         \
134         -DEVINCEDATADIR=\"$(pkgdatadir)\"                       \
135         -DGNOMEDATADIR=\"$(datadir)\"                           \
136         -I$(top_srcdir)                                         \
137         -I$(top_builddir)                                       \
138         -DLIBEXECDIR=\""$(libexecdir)"\"                        \
139         -DEVINCE_COMPILATION                                    \
140         $(EV_DAEMON_CFLAGS)                                     \
141         $(WARN_CFLAGS)                                          \
142         $(DISABLE_DEPRECATED)
143
144 evinced_LDADD=                          \
145         $(EV_DAEMON_LIBS)
146 endif
147
148 EXTRA_DIST = ev-marshal.list            \
149         evince-icon.rc
150
151 ev-marshal.h: $(srcdir)/ev-marshal.list
152         $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h
153
154 ev-marshal.c: $(srcdir)/ev-marshal.list
155         echo '#include "ev-marshal.h"' > ev-marshal.c
156         $(AM_V_GEN)$(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c
157
158 DISTCLEANFILES =
159
160 -include $(top_srcdir)/git.mk