]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
*** empty log message ***
[evince.git] / shell / Makefile.am
1 INCLUDES=                                               \
2         -DDATADIR=\"$(pkgdatadir)\"                     \
3         -DGNOMEDATADIR=\"$(datadir)\"                   \
4         -I$(top_srcdir)/lib                             \
5         -I$(top_srcdir)/cut-n-paste/recent-files/       \
6         -I$(top_srcdir)/cut-n-paste/zoom-control/       \
7         -I$(top_srcdir)/cut-n-paste/toolbar-editor/     \
8         -I$(top_srcdir)/backend                         \
9         -I$(top_srcdir)/properties                      \
10         -DGNOMELOCALEDIR=\"$(datadir)/locale\"          \
11         -DGNOMEICONDIR=\""$(datadir)/pixmaps"\"         \
12         $(SHELL_CFLAGS)                                 \
13         $(WARN_CFLAGS)                                  \
14         $(DISABLE_DEPRECATED)
15
16 bin_PROGRAMS=evince
17
18 evince_SOURCES=                         \
19         eggfindbar.c                    \
20         eggfindbar.h                    \
21         ev-application.c                \
22         ev-application.h                \
23         ev-document-types.c             \
24         ev-document-types.h             \
25         ev-job-queue.h                  \
26         ev-job-queue.c                  \
27         ev-jobs.h                       \
28         ev-jobs.c                       \
29         ev-job-xfer.c                   \
30         ev-job-xfer.h                   \
31         ev-marshal.c                    \
32         ev-marshal.h                    \
33         ev-page-action.c                \
34         ev-page-action.h                \
35         ev-page-cache.h                 \
36         ev-page-cache.c                 \
37         ev-password.h                   \
38         ev-password.c                   \
39         ev-password-view.h              \
40         ev-password-view.c              \
41         ev-pixbuf-cache.c               \
42         ev-pixbuf-cache.h               \
43         ev-print-job.c                  \
44         ev-print-job.h                  \
45         ev-properties-dialog.c          \
46         ev-properties-dialog.h          \
47         ev-properties-fonts.c           \
48         ev-properties-fonts.h           \
49         ev-utils.c                      \
50         ev-utils.h                      \
51         ev-view.c                       \
52         ev-view.h                       \
53         ev-window.c                     \
54         ev-window.h                     \
55         ev-sidebar.c                    \
56         ev-sidebar.h                    \
57         ev-sidebar-links.c              \
58         ev-sidebar-links.h              \
59         ev-sidebar-page.c               \
60         ev-sidebar-page.h               \
61         ev-sidebar-thumbnails.c         \
62         ev-sidebar-thumbnails.h         \
63         ev-statusbar.c                  \
64         ev-statusbar.h                  \
65         ev-stock-icons.c                \
66         ev-stock-icons.h                \
67         main.c
68
69 if ENABLE_METADATA
70 evince_SOURCES += \
71         ev-metadata-manager.h           \
72         ev-metadata-manager.c
73 endif
74
75 evince_LDADD=                                                           \
76         $(SHELL_LIBS)                                                   \
77         $(top_builddir)/cut-n-paste/recent-files/librecent.la           \
78         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la         \
79         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la  \
80         $(top_builddir)/properties/libevproperties.la                   \
81         $(top_builddir)/lib/libev.la
82
83 BUILT_SOURCES = ev-marshal.h ev-marshal.c
84
85 if ENABLE_DBUS
86 BUILT_SOURCES += ev-application-service.h
87 endif
88
89 EXTRA_DIST = ev-marshal.list \
90              ev-application-service.h
91
92 ev-marshal.h: ev-marshal.list
93         glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h
94
95 ev-marshal.c: ev-marshal.list
96         echo '#include "ev-marshal.h"' > ev-marshal.c
97         glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c
98
99 if DBUS_TOOL_NO_PREFIX
100 ev-application-service.h: ev-application-service.xml
101         dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
102 else
103 ev-application-service.h: ev-application-service.xml
104         dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
105 endif