summaryrefslogtreecommitdiff
path: root/xattr-tags
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 /xattr-tags
parenta53a6e6bc6ac5092e82ae493520b1538c6ccc304 (diff)
downloadcaja-extensions-0d372c1a0ae345d8ebbc69c52e9d55165e766109.tar.bz2
caja-extensions-0d372c1a0ae345d8ebbc69c52e9d55165e766109.tar.xz
automake: do not include CFLAGS in CPPFLAGS
Diffstat (limited to 'xattr-tags')
-rw-r--r--xattr-tags/Makefile.am28
1 files changed, 24 insertions, 4 deletions
diff --git a/xattr-tags/Makefile.am b/xattr-tags/Makefile.am
index 3069d07..27cd567 100644
--- a/xattr-tags/Makefile.am
+++ b/xattr-tags/Makefile.am
@@ -1,11 +1,31 @@
-AM_CPPFLAGS = $(CAJA_CFLAGS)
+NULL =
+
+AM_CPPFLAGS = \
+ $(DISABLE_DEPRECATED_CPPFLAGS) \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -I$(top_builddir) \
+ $(NULL)
+
+AM_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(NULL)
caja_extensiondir = $(CAJA_EXTENSION_DIR)
+
caja_extension_LTLIBRARIES = libcaja-xattr-tags.la
-libcaja_xattr_tags_la_SOURCES = \
- caja-xattr-tags-extension.c \
- caja-xattr-tags-extension.h
+libcaja_xattr_tags_la_SOURCES = \
+ caja-xattr-tags-extension.c \
+ caja-xattr-tags-extension.h \
+ $(NULL)
+libcaja_xattr_tags_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -I$(top_srcdir) \
+ $(NULL)
+libcaja_xattr_tags_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(CAJA_CFLAGS) \
+ $(NULL)
libcaja_xattr_tags_la_LDFLAGS = -module -avoid-version
libcaja_xattr_tags_la_LIBADD = $(CAJA_LIBS)