]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
Use a message area instead of a popup dialog for error notifications.
[evince.git] / shell / Makefile.am
1 INCLUDES=                                               \
2         -DDATADIR=\"$(pkgdatadir)\"                     \
3         -DGNOMEDATADIR=\"$(datadir)\"                   \
4         -I$(top_srcdir)/cut-n-paste/zoom-control/       \
5         -I$(top_srcdir)/cut-n-paste/toolbar-editor/     \
6         -I$(top_srcdir)/cut-n-paste/totem-screensaver/  \
7         -I$(top_srcdir)/cut-n-paste/gedit-message-area/ \
8         -I$(top_srcdir)/libdocument                     \
9         -I$(top_srcdir)/properties                      \
10         -DGNOMELOCALEDIR=\"$(datadir)/locale\"          \
11         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
12         $(SHELL_CFLAGS)                                 \
13         $(WARN_CFLAGS)                                  \
14         $(DISABLE_DEPRECATED)                           \
15         $(GNOME_PRINT_CFLAGS)                           \
16         $(GTK_PRINT_CFLAGS)
17
18 bin_PROGRAMS=evince
19
20 evince_SOURCES=                         \
21         eggfindbar.c                    \
22         eggfindbar.h                    \
23         ev-application.c                \
24         ev-application.h                \
25         ev-job-queue.h                  \
26         ev-job-queue.c                  \
27         ev-jobs.h                       \
28         ev-jobs.c                       \
29         ev-history.c                    \
30         ev-history.h                    \
31         ev-marshal.c                    \
32         ev-marshal.h                    \
33         ev-message-area.c               \
34         ev-message-area.h               \
35         ev-metadata-manager.c           \
36         ev-metadata-manager.h           \
37         ev-navigation-action.c          \
38         ev-navigation-action.h          \
39         ev-navigation-action-widget.c   \
40         ev-navigation-action-widget.h   \
41         ev-page-action.c                \
42         ev-page-action.h                \
43         ev-page-action-widget.c         \
44         ev-page-action-widget.h         \
45         ev-page-cache.h                 \
46         ev-page-cache.c                 \
47         ev-password.h                   \
48         ev-password.c                   \
49         ev-password-view.h              \
50         ev-password-view.c              \
51         ev-pixbuf-cache.c               \
52         ev-pixbuf-cache.h               \
53         ev-properties-dialog.c          \
54         ev-properties-dialog.h          \
55         ev-properties-fonts.c           \
56         ev-properties-fonts.h           \
57         ev-open-recent-action.c         \
58         ev-open-recent-action.h         \
59         ev-utils.c                      \
60         ev-utils.h                      \
61         ev-view-accessible.c            \
62         ev-view-accessible.h            \
63         ev-view-private.h               \
64         ev-view.c                       \
65         ev-view.h                       \
66         ev-window.c                     \
67         ev-window.h                     \
68         ev-window-title.c               \
69         ev-window-title.h               \
70         ev-sidebar.c                    \
71         ev-sidebar.h                    \
72         ev-sidebar-attachments.c        \
73         ev-sidebar-attachments.h        \
74         ev-sidebar-links.c              \
75         ev-sidebar-links.h              \
76         ev-sidebar-page.c               \
77         ev-sidebar-page.h               \
78         ev-sidebar-thumbnails.c         \
79         ev-sidebar-thumbnails.h         \
80         ev-stock-icons.c                \
81         ev-stock-icons.h                \
82         ev-tooltip.c                    \
83         ev-tooltip.h                    \
84         main.c                          \
85         xdg-user-dir-lookup.c
86
87
88 if WITH_GNOME_PRINT
89 evince_SOURCES+=                        \
90         ev-print-job.c                  \
91         ev-print-job.h
92 endif
93
94
95 evince_LDADD=                                                                   \
96         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la                 \
97         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la          \
98         $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la       \
99         $(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la       \
100         $(top_builddir)/properties/libevproperties.la                           \
101         $(top_builddir)/libdocument/libevbackend.la                             \
102         $(SHELL_LIBS)                                                           \
103         $(GNOME_PRINT_LIBS)
104
105 if ENABLE_DJVU
106 evince_LDADD += $(DJVU_LIBS)
107 endif
108
109 if ENABLE_DVI
110 evince_LDADD += -lkpathsea
111 endif
112
113 if WITH_TYPE1_FONTS
114 evince_LDADD += -lt1
115 endif
116
117 BUILT_SOURCES = ev-marshal.h ev-marshal.c
118
119 if ENABLE_DBUS
120 BUILT_SOURCES += ev-application-service.h
121 endif
122
123 EXTRA_DIST = ev-marshal.list            \
124         ev-application-service.xml
125
126
127 ev-marshal.h: $(srcdir)/ev-marshal.list
128         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h
129
130 ev-marshal.c: $(srcdir)/ev-marshal.list
131         echo '#include "ev-marshal.h"' > ev-marshal.c
132         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c
133
134 DISTCLEANFILES= \
135         ev-application-service.h
136
137 if DBUS_TOOL_NO_PREFIX
138 ev-application-service.h: $(srcdir)/ev-application-service.xml
139         dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
140 else
141 ev-application-service.h: $(srcdir)/ev-application-service.xml
142         dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
143 endif