summaryrefslogtreecommitdiff
path: root/sendto/plugins/emailclient/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-27 12:53:27 +0100
committerraveit65 <[email protected]>2020-02-29 21:23:50 +0100
commit0d372c1a0ae345d8ebbc69c52e9d55165e766109 (patch)
treea19c197a9c087253afa045dfb603c72d6a27ffc3 /sendto/plugins/emailclient/Makefile.am
parenta53a6e6bc6ac5092e82ae493520b1538c6ccc304 (diff)
downloadcaja-extensions-0d372c1a0ae345d8ebbc69c52e9d55165e766109.tar.bz2
caja-extensions-0d372c1a0ae345d8ebbc69c52e9d55165e766109.tar.xz
automake: do not include CFLAGS in CPPFLAGS
Diffstat (limited to 'sendto/plugins/emailclient/Makefile.am')
-rw-r--r--sendto/plugins/emailclient/Makefile.am34
1 files changed, 23 insertions, 11 deletions
diff --git a/sendto/plugins/emailclient/Makefile.am b/sendto/plugins/emailclient/Makefile.am
index c4af752..37c08e2 100644
--- a/sendto/plugins/emailclient/Makefile.am
+++ b/sendto/plugins/emailclient/Makefile.am
@@ -1,18 +1,30 @@
-plugindir = $(libdir)/caja-sendto/plugins
+NULL =
+
+AM_CPPFLAGS = \
+ $(DISABLE_DEPRECATED_CPPFLAGS) \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/sendto \
+ $(NULL)
-AM_CPPFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -DICONDIR=\"$(icondir)\" \
- -DLOCALEDIR="\"$(datadir)/locale\"" \
- -I$(top_srcdir)/sendto \
- -I$(top_builddir) \
- $(SENDTO_CFLAGS) \
- $(EMAILCLIENT_CFLAGS) \
- $(DISABLE_DEPRECATED) \
- $(WARN_CFLAGS)
+AM_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(SENDTO_CFLAGS) \
+ $(NULL)
+
+plugindir = $(libdir)/caja-sendto/plugins
plugin_LTLIBRARIES = libnstemailclient.la
libnstemailclient_la_SOURCES = emailclient.c
+libnstemailclient_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -DDATADIR=\"$(datadir)\" \
+ -DICONDIR=\"$(icondir)\" \
+ $(NULL)
+libnstemailclient_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(EMAILCLIENT_CFLAGS) \
+ $(NULL)
libnstemailclient_la_LDFLAGS = -module -avoid-version
libnstemailclient_la_LIBADD = $(SENDTO_LIBS) $(EMAILCLIENT_LIBS)