summaryrefslogtreecommitdiff
path: root/gksu
diff options
context:
space:
mode:
Diffstat (limited to 'gksu')
-rw-r--r--gksu/Makefile.am26
1 files changed, 23 insertions, 3 deletions
diff --git a/gksu/Makefile.am b/gksu/Makefile.am
index 0ace449..93431c8 100644
--- a/gksu/Makefile.am
+++ b/gksu/Makefile.am
@@ -1,9 +1,29 @@
-AM_CFLAGS = -g -O2 -Wall
-AM_CPPFLAGS = -DLOCALEDIR=\"$(datadir)/locale\" -DDATA_DIR=\"$(datadir)\" -DPREFIX=\"$(prefix)\" $(CAJA_CFLAGS)
+NULL =
+
+AM_CPPFLAGS = \
+ $(DISABLE_DEPRECATED_CPPFLAGS) \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -I$(top_builddir) \
+ $(NULL)
+
+AM_CFLAGS = \
+ $(WARN_CFLAGS) \
+ $(NULL)
+
+caja_extensiondir = $(libdir)/caja/extensions-2.0
-caja_extensiondir=$(libdir)/caja/extensions-2.0
caja_extension_LTLIBRARIES = libcaja-gksu.la
+
libcaja_gksu_la_SOURCES = libcaja-gksu.c
+libcaja_gksu_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -DDATA_DIR=\"$(datadir)\" \
+ -DPREFIX=\"$(prefix)\" \
+ $(NULL)
+libcaja_gksu_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(CAJA_CFLAGS) \
+ $(NULL)
libcaja_gksu_la_LDFLAGS = -module -avoid-version -no-undefined
libcaja_gksu_la_LIBADD = $(CAJA_LIBS)