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