]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
First step of the printing system rework. EvJobPrint has been replaced by
[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/gimpcellrenderertoggle/     \
9         -I$(top_srcdir)/cut-n-paste/evmountoperation/           \
10         -I$(top_srcdir)/cut-n-paste/smclient/                   \
11         -I$(top_srcdir)/libdocument                             \
12         -I$(top_srcdir)/properties                              \
13         -DGNOMELOCALEDIR=\"$(datadir)/locale\"                  \
14         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"                 \
15         $(SHELL_CFLAGS)                                         \
16         $(WARN_CFLAGS)                                          \
17         $(DISABLE_DEPRECATED)
18
19 bin_PROGRAMS=evince
20
21 EV_MEDIA_PLAYER_KEYS_SOURCES = ev-media-player-keys.c ev-media-player-keys.h
22 if ENABLE_DBUS
23 DBUS_SOURCES = $(EV_MEDIA_PLAYER_KEYS_SOURCES)
24 else
25 DBUS_SOURCES = $(null)
26 endif
27
28 evince_SOURCES=                         \
29         eggfindbar.c                    \
30         eggfindbar.h                    \
31         ev-application.c                \
32         ev-application.h                \
33         ev-job-scheduler.h              \
34         ev-job-scheduler.c              \
35         ev-jobs.h                       \
36         ev-jobs.c                       \
37         ev-file-monitor.h               \
38         ev-file-monitor.c               \
39         ev-history.c                    \
40         ev-history.h                    \
41         ev-keyring.h                    \
42         ev-keyring.c                    \
43         ev-marshal.c                    \
44         ev-marshal.h                    \
45         $(DBUS_SOURCES)                 \
46         ev-message-area.c               \
47         ev-message-area.h               \
48         ev-metadata-manager.c           \
49         ev-metadata-manager.h           \
50         ev-navigation-action.c          \
51         ev-navigation-action.h          \
52         ev-navigation-action-widget.c   \
53         ev-navigation-action-widget.h   \
54         ev-page-action.c                \
55         ev-page-action.h                \
56         ev-page-action-widget.c         \
57         ev-page-action-widget.h         \
58         ev-page-cache.h                 \
59         ev-page-cache.c                 \
60         ev-password-view.h              \
61         ev-password-view.c              \
62         ev-pixbuf-cache.c               \
63         ev-pixbuf-cache.h               \
64         ev-print-operation.h            \
65         ev-print-operation.c            \
66         ev-properties-dialog.c          \
67         ev-properties-dialog.h          \
68         ev-properties-fonts.c           \
69         ev-properties-fonts.h           \
70         ev-open-recent-action.c         \
71         ev-open-recent-action.h         \
72         ev-utils.c                      \
73         ev-utils.h                      \
74         ev-view-accessible.c            \
75         ev-view-accessible.h            \
76         ev-view-private.h               \
77         ev-view.c                       \
78         ev-view.h                       \
79         ev-window.c                     \
80         ev-window.h                     \
81         ev-window-title.c               \
82         ev-window-title.h               \
83         ev-sidebar.c                    \
84         ev-sidebar.h                    \
85         ev-sidebar-attachments.c        \
86         ev-sidebar-attachments.h        \
87         ev-sidebar-layers.c             \
88         ev-sidebar-layers.h             \
89         ev-sidebar-links.c              \
90         ev-sidebar-links.h              \
91         ev-sidebar-page.c               \
92         ev-sidebar-page.h               \
93         ev-sidebar-thumbnails.c         \
94         ev-sidebar-thumbnails.h         \
95         ev-stock-icons.c                \
96         ev-stock-icons.h                \
97         ev-timeline.c                   \
98         ev-timeline.h                   \
99         ev-transition-animation.c       \
100         ev-transition-animation.h       \
101         main.c
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/gedit-message-area/libgeditmsgarea.la               \
108         $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
109         $(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la             \
110         $(top_builddir)/cut-n-paste/smclient/libsmclient.la                             \
111         $(top_builddir)/properties/libevproperties.la                                   \
112         $(top_builddir)/libdocument/libevbackend.la                                     \
113         $(SHELL_LIBS)
114
115 BUILT_SOURCES = ev-marshal.h ev-marshal.c
116
117 if ENABLE_DBUS
118 BUILT_SOURCES += ev-application-service.h
119 endif
120
121 EXTRA_DIST = ev-marshal.list            \
122         ev-application-service.xml      \
123         $(EV_MEDIA_PLAYER_KEYS_SOURCES)
124
125
126 ev-marshal.h: $(srcdir)/ev-marshal.list
127         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h
128
129 ev-marshal.c: $(srcdir)/ev-marshal.list
130         echo '#include "ev-marshal.h"' > ev-marshal.c
131         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c
132
133 DISTCLEANFILES= \
134         ev-application-service.h
135
136 if DBUS_TOOL_NO_PREFIX
137 ev-application-service.h: $(srcdir)/ev-application-service.xml
138         dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
139 else
140 ev-application-service.h: $(srcdir)/ev-application-service.xml
141         dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
142 endif