1# Nautilus-Actions
2# A Nautilus extension which offers configurable context menu actions.
3#
4# Copyright (C) 2005 The GNOME Foundation
5# Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
6# Copyright (C) 2009-2014 Pierre Wieser and others (see AUTHORS)
7#
8# Nautilus-Actions is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License as
10# published by the Free Software Foundation; either version 2 of
11# the License, or (at your option) any later version.
12#
13# Nautilus-Actions is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with Nautilus-Actions; see the file COPYING. If not, see
20# <http://www.gnu.org/licenses/>.
21#
22# Authors:
23#   Frederic Ruaudel <grumz@grumz.net>
24#   Rodrigo Moya <rodrigo@gnome-db.org>
25#   Pierre Wieser <pwieser@trychlos.org>
26#   ... and many others (see AUTHORS)
27
28bin_PROGRAMS = \
29	nautilus-actions-config-tool						\
30	$(NULL)
31
32ui_datadir = $(pkgdatadir)/ui
33
34egg_platform_defines = -DEGG_SM_CLIENT_BACKEND_XSMP
35
36AM_CPPFLAGS += \
37	-I $(top_srcdir)									\
38	-I $(top_srcdir)/src								\
39	-DGNOMELOCALEDIR=\""$(datadir)/locale"\"			\
40	-DG_LOG_DOMAIN=\"${NA_LOGDOMAIN_NACT}\"				\
41	-DPKGUIDIR=\"$(ui_datadir)\"						\
42	$(egg_platform_defines)								\
43	$(NAUTILUS_ACTIONS_CFLAGS)							\
44	$(NULL)
45
46BUILT_SOURCES = \
47	base-marshal.c										\
48	base-marshal.h										\
49	nact-marshal.c										\
50	nact-marshal.h										\
51	$(NULL)
52
53nautilus_actions_config_tool_SOURCES = \
54	base-application.c									\
55	base-application.h									\
56	base-assistant.c									\
57	base-assistant.h									\
58	base-builder.c										\
59	base-builder.h										\
60	base-dialog.c										\
61	base-dialog.h										\
62	base-gtk-utils.c									\
63	base-gtk-utils.h									\
64	base-isession.c										\
65	base-isession.h										\
66	base-iunique.c										\
67	base-iunique.h										\
68	base-keysyms.h										\
69	base-window.c										\
70	base-window.h										\
71	egg-desktop-file.c									\
72	egg-desktop-file.h									\
73	egg-sm-client.c										\
74	egg-sm-client.h										\
75	egg-sm-client-private.h								\
76	egg-sm-client-xsmp.c								\
77	egg-tree-multi-dnd.c								\
78	egg-tree-multi-dnd.h								\
79	main.c												\
80	nact-add-capability-dialog.c						\
81	nact-add-capability-dialog.h						\
82	nact-add-scheme-dialog.c							\
83	nact-add-scheme-dialog.h							\
84	nact-application.c									\
85	nact-application.h									\
86	nact-assistant-export.c								\
87	nact-assistant-export.h								\
88	nact-assistant-import.c								\
89	nact-assistant-import.h								\
90	nact-clipboard.c									\
91	nact-clipboard.h									\
92	nact-confirm-logout.c								\
93	nact-confirm-logout.h								\
94	nact-export-ask.c									\
95	nact-export-ask.h									\
96	nact-iaction-tab.c									\
97	nact-iaction-tab.h									\
98	nact-ibasenames-tab.c								\
99	nact-ibasenames-tab.h								\
100	nact-icapabilities-tab.c							\
101	nact-icapabilities-tab.h							\
102	nact-icon-chooser.c									\
103	nact-icon-chooser.h									\
104	nact-ienvironment-tab.c								\
105	nact-ienvironment-tab.h								\
106	nact-iexecution-tab.c								\
107	nact-iexecution-tab.h								\
108	nact-ifolders-tab.c									\
109	nact-ifolders-tab.h									\
110	nact-icommand-tab.c									\
111	nact-icommand-tab.h									\
112	nact-imimetypes-tab.c								\
113	nact-imimetypes-tab.h								\
114	nact-iproperties-tab.c								\
115	nact-iproperties-tab.h								\
116	nact-ischemes-tab.c									\
117	nact-ischemes-tab.h									\
118	nact-main-statusbar.c								\
119	nact-main-statusbar.h								\
120	nact-main-tab.c										\
121	nact-main-tab.h										\
122	nact-main-toolbar.c									\
123	nact-main-toolbar.h									\
124	nact-main-window.c									\
125	nact-main-window.h									\
126	nact-match-list.c									\
127	nact-match-list.h									\
128	nact-menubar.c										\
129	nact-menubar.h										\
130	nact-menubar-priv.h									\
131	nact-menubar-edit.c									\
132	nact-menubar-file.c									\
133	nact-menubar-help.c									\
134	nact-menubar-maintainer.c							\
135	nact-menubar-tools.c								\
136	nact-menubar-view.c									\
137	nact-preferences-editor.c							\
138	nact-preferences-editor.h							\
139	nact-providers-list.c								\
140	nact-providers-list.h								\
141	nact-schemes-list.c									\
142	nact-schemes-list.h									\
143	nact-sort-buttons.c									\
144	nact-sort-buttons.h									\
145	nact-tree-ieditable.c								\
146	nact-tree-ieditable.h								\
147	nact-tree-model.c									\
148	nact-tree-model.h									\
149	nact-tree-model-priv.h								\
150	nact-tree-model-dnd.c								\
151	nact-tree-view.c									\
152	nact-tree-view.h									\
153	$(BUILT_SOURCES)									\
154	$(NULL)
155
156base-marshal.h: base-marshal.def $(GLIB_GENMARSHAL)
157	$(GLIB_GENMARSHAL) $< --header --prefix=base_cclosure_marshal > $@
158
159base-marshal.c: base-marshal.def $(GLIB_GENMARSHAL)
160	echo "#include \"base-marshal.h\"" > $@ && \
161	$(GLIB_GENMARSHAL) $< --body --prefix=base_cclosure_marshal >> $@
162
163nact-marshal.h: nact-marshal.def $(GLIB_GENMARSHAL)
164	$(GLIB_GENMARSHAL) $< --header --prefix=nact_cclosure_marshal > $@
165
166nact-marshal.c: nact-marshal.def $(GLIB_GENMARSHAL)
167	echo "#include \"nact-marshal.h\"" > $@ && \
168	$(GLIB_GENMARSHAL) $< --body --prefix=nact_cclosure_marshal >> $@
169
170nautilus_actions_config_tool_LDADD = \
171	$(top_builddir)/src/core/libna-core.la				\
172	$(NAUTILUS_ACTIONS_LIBS)							\
173	$(NULL)
174
175actions_files = \
176	nautilus-actions-config-tool.actions				\
177	nautilus-actions-maintainer.actions					\
178	$(NULL)
179
180ui_files = \
181	nact-add-capability.ui								\
182	nact-add-scheme.ui									\
183	nact-assistant-export.ui							\
184	nact-assistant-import.ui							\
185	nact-icon-chooser.ui								\
186	nact-preferences.ui									\
187	nautilus-actions-config-tool.ui						\
188	$(NULL)
189
190images_files = \
191	locked.png											\
192	transparent.png										\
193	$(NULL)
194
195ui_data_DATA = \
196	$(actions_files)									\
197	$(ui_files)											\
198	$(images_files)										\
199	$(NULL)
200
201@INTLTOOL_DESKTOP_RULE@
202
203applications_in_files = nact.desktop.in
204
205applications_files = $(applications_in_files:.desktop.in=.desktop)
206
207applicationsdir = $(datadir)/applications
208
209applications_DATA = $(applications_files)
210
211CLEANFILES = \
212	$(applications_files)								\
213	$(BUILT_SOURCES)									\
214	$(NULL)
215
216EXTRA_DIST = \
217	$(applications_in_files)							\
218	$(ui_data_DATA)										\
219	base-marshal.def									\
220	nact-marshal.def									\
221	$(NULL)
222