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