]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
Move EvView specific code to a libeviview library so that it can be
[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)/libview                                 \
13         -I$(top_srcdir)/properties                              \
14         -DGNOMELOCALEDIR=\"$(datadir)/locale\"                  \
15         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"                 \
16         $(SHELL_CFLAGS)                                         \
17         $(WARN_CFLAGS)                                          \
18         $(DISABLE_DEPRECATED)
19
20 bin_PROGRAMS=evince
21
22 EV_MEDIA_PLAYER_KEYS_SOURCES = ev-media-player-keys.c ev-media-player-keys.h
23 if ENABLE_DBUS
24 DBUS_SOURCES = $(EV_MEDIA_PLAYER_KEYS_SOURCES)
25 else
26 DBUS_SOURCES = $(null)
27 endif
28
29 evince_SOURCES=                         \
30         eggfindbar.c                    \
31         eggfindbar.h                    \
32         ev-application.c                \
33         ev-application.h                \
34         ev-file-monitor.h               \
35         ev-file-monitor.c               \
36         ev-history.c                    \
37         ev-history.h                    \
38         ev-keyring.h                    \
39         ev-keyring.c                    \
40         ev-marshal.c                    \
41         ev-marshal.h                    \
42         $(DBUS_SOURCES)                 \
43         ev-message-area.c               \
44         ev-message-area.h               \
45         ev-metadata-manager.c           \
46         ev-metadata-manager.h           \
47         ev-navigation-action.c          \
48         ev-navigation-action.h          \
49         ev-navigation-action-widget.c   \
50         ev-navigation-action-widget.h   \
51         ev-page-action.c                \
52         ev-page-action.h                \
53         ev-page-action-widget.c         \
54         ev-page-action-widget.h         \
55         ev-password-view.h              \
56         ev-password-view.c              \
57         ev-print-operation.h            \
58         ev-print-operation.c            \
59         ev-progress-message-area.h      \
60         ev-progress-message-area.c      \
61         ev-properties-dialog.c          \
62         ev-properties-dialog.h          \
63         ev-properties-fonts.c           \
64         ev-properties-fonts.h           \
65         ev-open-recent-action.c         \
66         ev-open-recent-action.h         \
67         ev-utils.c                      \
68         ev-utils.h                      \
69         ev-window.c                     \
70         ev-window.h                     \
71         ev-window-title.c               \
72         ev-window-title.h               \
73         ev-sidebar.c                    \
74         ev-sidebar.h                    \
75         ev-sidebar-attachments.c        \
76         ev-sidebar-attachments.h        \
77         ev-sidebar-layers.c             \
78         ev-sidebar-layers.h             \
79         ev-sidebar-links.c              \
80         ev-sidebar-links.h              \
81         ev-sidebar-page.c               \
82         ev-sidebar-page.h               \
83         ev-sidebar-thumbnails.c         \
84         ev-sidebar-thumbnails.h         \
85         ev-stock-icons.c                \
86         ev-stock-icons.h                \
87         main.c
88
89 evince_LDADD=                                                                           \
90         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la                         \
91         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la                  \
92         $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la               \
93         $(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la               \
94         $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
95         $(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.la             \
96         $(top_builddir)/cut-n-paste/smclient/libsmclient.la                             \
97         $(top_builddir)/properties/libevproperties.la                                   \
98         $(top_builddir)/libdocument/libevbackend.la                                     \
99         $(top_builddir)/libview/libevview.la                                            \
100         $(SHELL_LIBS)
101
102 BUILT_SOURCES = ev-marshal.h ev-marshal.c
103
104 if ENABLE_DBUS
105 BUILT_SOURCES += ev-application-service.h
106 endif
107
108 EXTRA_DIST = ev-marshal.list            \
109         ev-application-service.xml      \
110         $(EV_MEDIA_PLAYER_KEYS_SOURCES)
111
112
113 ev-marshal.h: $(srcdir)/ev-marshal.list
114         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --header > ev-marshal.h
115
116 ev-marshal.c: $(srcdir)/ev-marshal.list
117         echo '#include "ev-marshal.h"' > ev-marshal.c
118         $(GLIB_GENMARSHAL) --prefix=ev_marshal $(srcdir)/ev-marshal.list --body >> ev-marshal.c
119
120 DISTCLEANFILES= \
121         ev-application-service.h
122
123 if DBUS_TOOL_NO_PREFIX
124 ev-application-service.h: $(srcdir)/ev-application-service.xml
125         dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
126 else
127 ev-application-service.h: $(srcdir)/ev-application-service.xml
128         dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
129 endif