2008-05-05 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / src / Makefile.am
blob23995d82153d7eefde80be85e3956a5ad406852a
1 include $(top_srcdir)/Makefile.shared
3 SUBDIRS=file-manager
5 bin_PROGRAMS=                                   \
6         nautilus                                \
7         nautilus-file-management-properties     \
8         nautilus-autorun-software               \
9         nautilus-connect-server                 
10         $(NULL)
12 INCLUDES =                                                      \
13         -I$(top_srcdir)                                         \
14         -I$(top_srcdir)/cut-n-paste-code                        \
15         -I$(top_builddir)/libnautilus-private                   \
16         $(CORE_CFLAGS)                                          \
17         $(EXIF_CFLAGS)                                          \
18         $(EXEMPI_CFLAGS)                                        \
19         -DDATADIR=\""$(datadir)"\"                              \
20         -DLIBDIR=\""$(libdir)"\"                                \
21         -DNAUTILUS_DATADIR=\""$(datadir)/nautilus"\"            \
22         -DGLADEDIR=\""$(datadir)/nautilus/glade"\"              \
23         -DNAUTILUS_PIXMAPDIR=\""$(datadir)/pixmaps/nautilus"\"  \
24         -DPREFIX=\""$(prefix)"\"                                \
25         -DSYSCONFDIR=\""$(sysconfdir)"\"                        \
26         -DVERSION="\"$(VERSION)\""                              \
27         $(DISABLE_DEPRECATED_CFLAGS)                            \
28         $(NULL)
30 LDADD =\
31         $(top_builddir)/src/file-manager/libnautilus-file-manager.la \
32         $(top_builddir)/libnautilus-private/libnautilus-private.la  \
33         $(CORE_LIBS) \
34         $(EXIF_LIBS) \
35         $(EXEMPI_LIBS) \
36         $(POPT_LIBS) \
37         $(NULL)
39 @INTLTOOL_DESKTOP_RULE@
41 desktop_in_files=network-scheme.desktop.in
42 desktop_files=$(desktop_in_files:.desktop.in=.desktop)
43 desktopdir = $(datadir)/gnome/network/
45 schemedir = $(datadir)/applications
46 scheme_DATA = network-scheme.desktop
48 nautilus_shell_interface_idl_sources =          \
49         nautilus-shell-interface-stubs.c        \
50         nautilus-shell-interface-skels.c        \
51         nautilus-shell-interface.h              \
52         nautilus-shell-interface-common.c
54 nautilus_SOURCES = \
55         $(nautilus_shell_interface_idl_sources) \
56         ephy-spinner.h                          \
57         ephy-spinner.c                          \
58         nautilus-actions.h                      \
59         nautilus-application.c                  \
60         nautilus-application.h                  \
61         nautilus-bookmark-list.c                \
62         nautilus-bookmark-list.h                \
63         nautilus-bookmarks-window.c             \
64         nautilus-bookmarks-window.h             \
65         nautilus-connect-server-dialog.c        \
66         nautilus-connect-server-dialog.h        \
67         nautilus-connect-server-dialog-nonmain.c        \
68         nautilus-desktop-window.c               \
69         nautilus-desktop-window.h               \
70         nautilus-emblem-sidebar.c               \
71         nautilus-emblem-sidebar.h               \
72         nautilus-file-management-properties.c   \
73         nautilus-file-management-properties.h   \
74         nautilus-history-sidebar.c              \
75         nautilus-history-sidebar.h              \
76         nautilus-image-properties-page.c        \
77         nautilus-image-properties-page.h        \
78         nautilus-information-panel.c            \
79         nautilus-information-panel.h            \
80         nautilus-location-bar.c                 \
81         nautilus-location-bar.h                 \
82         nautilus-location-dialog.c              \
83         nautilus-location-dialog.h              \
84         nautilus-location-entry.c               \
85         nautilus-location-entry.h               \
86         nautilus-main.c                         \
87         nautilus-main.h                         \
88         nautilus-navigation-action.c            \
89         nautilus-navigation-action.h            \
90         nautilus-navigation-bar.c               \
91         nautilus-navigation-bar.h               \
92         nautilus-navigation-window-menus.c      \
93         nautilus-navigation-window.c            \
94         nautilus-navigation-window.h            \
95         nautilus-notes-viewer.c                 \
96         nautilus-notes-viewer.h                 \
97         nautilus-pathbar.c                      \
98         nautilus-pathbar.h                      \
99         nautilus-places-sidebar.c               \
100         nautilus-places-sidebar.h               \
101         nautilus-property-browser.c             \
102         nautilus-property-browser.h             \
103         nautilus-query-editor.c                 \
104         nautilus-query-editor.h                 \
105         nautilus-search-bar.c                   \
106         nautilus-search-bar.h                   \
107         nautilus-self-check-functions.c         \
108         nautilus-self-check-functions.h         \
109         nautilus-shell.c                        \
110         nautilus-shell.h                        \
111         nautilus-side-pane.c                    \
112         nautilus-side-pane.h                    \
113         nautilus-sidebar-title.c                \
114         nautilus-sidebar-title.h                \
115         nautilus-spatial-window.c               \
116         nautilus-spatial-window.h               \
117         nautilus-throbber.c                     \
118         nautilus-throbber.h                     \
119         nautilus-trash-bar.c                    \
120         nautilus-trash-bar.h                    \
121         nautilus-window-bookmarks.c             \
122         nautilus-window-bookmarks.h             \
123         nautilus-window-manage-views.c          \
124         nautilus-window-manage-views.h          \
125         nautilus-window-menus.c                 \
126         nautilus-window-private.h               \
127         nautilus-window-toolbars.c              \
128         nautilus-window.c                       \
129         nautilus-window.h                       \
130         nautilus-x-content-bar.c                \
131         nautilus-x-content-bar.h                \
132         nautilus-zoom-control.c                 \
133         nautilus-zoom-control.h                 \
134         $(NULL)
136 nautilus_file_management_properties_SOURCES= \
137         nautilus-file-management-properties.c           \
138         nautilus-file-management-properties.h           \
139         nautilus-file-management-properties-main.c      \
140         $(NULL)
142 nautilus_autorun_software_SOURCES=                      \
143         nautilus-autorun-software.c                     \
144         $(NULL)
146 nautilus_connect_server_SOURCES= \
147         nautilus-bookmark-list.c                \
148         nautilus-bookmark-list.h                \
149         nautilus-connect-server-dialog.c        \
150         nautilus-connect-server-dialog.h        \
151         nautilus-connect-server-dialog-main.c   \
152         nautilus-location-entry.c               \
153         nautilus-location-entry.h               \
154         $(NULL)
156 $(nautilus_shell_interface_idl_sources): nautilus_shell_interface_idl_stamp
157 nautilus_shell_interface_idl_stamp: nautilus-shell-interface.idl $(ORBIT_IDL)
158         $(ORBIT_IDL) $(CORE_IDL_INCLUDES) -I$(top_srcdir) $<
159         touch $@
161 $(nautilus_OBJECTS): nautilus_shell_interface_idl_stamp
163 TESTS=check-nautilus
165 serverdir = $(libdir)/bonobo/servers
166 server_in_files = Nautilus_shell.server.in
167 server_DATA = $(server_in_files:.server.in=.server)
169 @INTLTOOL_SERVER_RULE@
171 uidir = $(datadir)/nautilus/ui
172 ui_DATA =                                       \
173         nautilus-shell-ui.xml                   \
174         nautilus-navigation-window-ui.xml       \
175         nautilus-spatial-window-ui.xml       \
176         $(NULL)
178 gladedir = $(datadir)/nautilus/glade
179 glade_DATA = \
180         nautilus-bookmarks-window.glade                 \
181         nautilus-file-management-properties.glade       \
182         $(NULL)
184 CLEANFILES = \
185         $(nautilus_shell_interface_idl_sources) \
186         nautilus_shell_interface_idl_stamp      \
187         $(desktop_files)                        \
188         $(server_DATA)                          \
189         $(NULL)
191 EXTRA_DIST =                                    \
192         $(server_in_files)                      \
193         $(glade_DATA)                           \
194         $(ui_DATA)                              \
195         check-nautilus                          \
196         nautilus-shell-interface.idl            \
197         $(desktop_in_files)                     \
198         $(NULL)
200 BUILT_SOURCES = \
201         $(nautilus_shell_interface_idl_sources) \
202         $(NULL)
204 dist-hook:
205         cd $(distdir); rm -f $(CLEANFILES)