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