From 0d372c1a0ae345d8ebbc69c52e9d55165e766109 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 27 Jan 2020 12:53:27 +0100 Subject: automake: do not include CFLAGS in CPPFLAGS --- wallpaper/Makefile.am | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) (limited to 'wallpaper/Makefile.am') diff --git a/wallpaper/Makefile.am b/wallpaper/Makefile.am index 9b1dfb2..5bb905e 100644 --- a/wallpaper/Makefile.am +++ b/wallpaper/Makefile.am @@ -1,13 +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-wallpaper.la -libcaja_wallpaper_la_SOURCES = \ - caja-wallpaper-extension.c\ - caja-wallpaper-extension.h\ - caja-wallpaper-command.c +caja_extension_LTLIBRARIES = libcaja-wallpaper.la +libcaja_wallpaper_la_SOURCES = \ + caja-wallpaper-extension.c \ + caja-wallpaper-extension.h \ + caja-wallpaper-command.c \ + $(NULL) +libcaja_wallpaper_la_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + $(NULL) +libcaja_wallpaper_la_CFLAGS = \ + $(AM_CFLAGS) \ + $(CAJA_CFLAGS) \ + $(NULL) libcaja_wallpaper_la_LDFLAGS = -module -avoid-version libcaja_wallpaper_la_LIBADD = $(CAJA_LIBS) -- cgit v1.2.1