summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am6
-rw-r--r--src/commands/Makefile.am7
2 files changed, 11 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ff381fe..f0cd3e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,5 @@
+NULL =
+
SUBDIRS = commands sh ui
bin_PROGRAMS = engrampa
@@ -36,7 +38,9 @@ AM_CPPFLAGS = \
-DPRIVEXECDIR=\"$(privexecdir)\" \
-DSHDIR=\"$(shdir)\" \
$(FR_CFLAGS) \
- $(JSON_GLIB_CFLAGS)
+ $(JSON_GLIB_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(NULL)
BUILT_SOURCES = \
fr-marshal.c \
diff --git a/src/commands/Makefile.am b/src/commands/Makefile.am
index 63d3d73..d423737 100644
--- a/src/commands/Makefile.am
+++ b/src/commands/Makefile.am
@@ -1,7 +1,12 @@
+NULL =
+
privexecdir = $(libexecdir)/$(PACKAGE)
privexec_PROGRAMS = rpm2cpio
-AM_CPPFLAGS = $(FR_CFLAGS)
+AM_CPPFLAGS = \
+ $(FR_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(NULL)
rpm2cpio_SOURCES = rpm2cpio.c
rpm2cpio_LDADD = $(FR_LIBS)