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