README: add deprecation notice
[nautilus-actions.git] / src / plugin-menu / Makefile.am
blobc7a44e0006ffcd8701c9824ad0119d8326bc6fe6
1 # FileManager-Actions
2 # A file-manager extension which offers configurable context menu actions.
4 # Copyright (C) 2005 The GNOME Foundation
5 # Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
6 # Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
8 # FileManager-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.
13 # FileManager-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.
18 # You should have received a copy of the GNU General Public License
19 # along with FileManager-Actions; see the file COPYING. If not, see
20 # <http://www.gnu.org/licenses/>.
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)
28 AM_CPPFLAGS += \
29         -I $(top_srcdir)                                                                        \
30         -I $(top_srcdir)/src                                                            \
31         -DG_LOG_DOMAIN=\"FMA\"                                                          \
32         $(NAUTILUS_ACTIONS_CFLAGS)                                                      \
33         $(CODE_COVERAGE_CFLAGS)                                                         \
34         $(NULL)
36 lib_sources = \
37         fma-menu-module.c                                                                       \
38         fma-menu-plugin.c                                                                       \
39         fma-menu-plugin.h                                                                       \
40         $(NULL)
42 lib_libadd = \
43         $(top_builddir)/src/core/libfma-core.la                         \
44         $(NAUTILUS_ACTIONS_LIBS)                                                        \
45         $(NULL)
47 lib_ldflags = \
48         -module                                                                                         \
49         -no-undefined                                                                           \
50         -avoid-version                                                                          \
51         $(CODE_COVERAGE_LDFLAGS)                                                        \
52         $(NULL)
54 if HAVE_NAUTILUS
55 nautilus_extensiondir = $(NAUTILUS_EXTENSIONS_DIR)
56 nautilus_extension_LTLIBRARIES = libfma-nautilus-menu.la
57 libfma_nautilus_menu_la_SOURCES = $(lib_sources)
58 libfma_nautilus_menu_la_LIBADD = $(lib_libadd)
59 libfma_nautilus_menu_la_LDFLAGS = $(lib_ldflags)
60 libfma_nautilus_menu_la_CPPFLAGS = $(AM_CPPFLAGS)               \
61         -DFMA_TARGET_ID=$(NAUTILUS_ID)                                          \
62         -DFMA_TARGET_LABEL=\"$(NAUTILUS_LABEL)\"                        \
63         $(NULL)
64 endif
66 if HAVE_NEMO
67 nemo_extensiondir = $(NEMO_EXTENSIONS_DIR)
68 nemo_extension_LTLIBRARIES = libfma-nemo-menu.la
69 libfma_nemo_menu_la_SOURCES = $(lib_sources)
70 libfma_nemo_menu_la_LIBADD = $(lib_libadd)
71 libfma_nemo_menu_la_LDFLAGS = $(lib_ldflags)
72 libfma_nemo_menu_la_CPPFLAGS = $(AM_CPPFLAGS)                   \
73         -DFMA_TARGET_ID=$(NEMO_ID)                                                      \
74         -DFMA_TARGET_LABEL=\"$(NEMO_LABEL)\"                            \
75         $(NULL)
76 endif
78 if HAVE_CAJA
79 caja_extensiondir = $(CAJA_EXTENSIONS_DIR)
80 caja_extension_LTLIBRARIES = libfma-caja-menu.la
81 libfma_caja_menu_la_SOURCES = $(lib_sources)
82 libfma_caja_menu_la_LIBADD = $(lib_libadd)
83 libfma_caja_menu_la_LDFLAGS = $(lib_ldflags)
84 libfma_caja_menu_la_CPPFLAGS = $(AM_CPPFLAGS)                   \
85         -DFMA_TARGET_ID=$(CAJA_ID)                                                      \
86         -DFMA_TARGET_LABEL=\"$(CAJA_LABEL)\"                            \
87         $(NULL)
88 endif
90 # Code coverage
91 @CODE_COVERAGE_RULES@