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