]> www.fi.muni.cz Git - evince.git/blob - shell/Makefile.am
Update for 0.3.4
[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-metadata-manager.c           \
34         ev-metadata-manager.h           \
35         ev-page-action.c                \
36         ev-page-action.h                \
37         ev-page-cache.h                 \
38         ev-page-cache.c                 \
39         ev-password.h                   \
40         ev-password.c                   \
41         ev-password-view.h              \
42         ev-password-view.c              \
43         ev-pixbuf-cache.c               \
44         ev-pixbuf-cache.h               \
45         ev-print-job.c                  \
46         ev-print-job.h                  \
47         ev-properties-dialog.c          \
48         ev-properties-dialog.h          \
49         ev-properties-fonts.c           \
50         ev-properties-fonts.h           \
51         ev-utils.c                      \
52         ev-utils.h                      \
53         ev-view.c                       \
54         ev-view.h                       \
55         ev-window.c                     \
56         ev-window.h                     \
57         ev-sidebar.c                    \
58         ev-sidebar.h                    \
59         ev-sidebar-links.c              \
60         ev-sidebar-links.h              \
61         ev-sidebar-page.c               \
62         ev-sidebar-page.h               \
63         ev-sidebar-thumbnails.c         \
64         ev-sidebar-thumbnails.h         \
65         ev-statusbar.c                  \
66         ev-statusbar.h                  \
67         ev-stock-icons.c                \
68         ev-stock-icons.h                \
69         main.c
70
71 evince_LDADD=                                                           \
72         $(SHELL_LIBS)                                                   \
73         $(top_builddir)/cut-n-paste/recent-files/librecent.la           \
74         $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la         \
75         $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la  \
76         $(top_builddir)/properties/libevproperties.la                   \
77         $(top_builddir)/lib/libev.la
78
79 BUILT_SOURCES = ev-marshal.h ev-marshal.c
80
81 if ENABLE_DBUS
82 BUILT_SOURCES += ev-application-service.h
83 endif
84
85 EXTRA_DIST = ev-marshal.list            \
86         ev-application-service.h        \
87         ev-application-service.xml
88
89
90 ev-marshal.h: ev-marshal.list
91         glib-genmarshal --prefix=ev_marshal ev-marshal.list --header > ev-marshal.h
92
93 ev-marshal.c: ev-marshal.list
94         echo '#include "ev-marshal.h"' > ev-marshal.c
95         glib-genmarshal --prefix=ev_marshal ev-marshal.list --body >> ev-marshal.c
96
97 if DBUS_TOOL_NO_PREFIX
98 ev-application-service.h: $(srcdir)/ev-application-service.xml
99         dbus-binding-tool --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
100 else
101 ev-application-service.h: $(srcdir)/ev-application-service.xml
102         dbus-binding-tool --prefix=ev_application --mode=glib-server --output=ev-application-service.h $(srcdir)/ev-application-service.xml
103 endif