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