summaryrefslogtreecommitdiffstats
path: root/Make_global.am
diff options
context:
space:
mode:
Diffstat (limited to 'Make_global.am')
-rw-r--r--Make_global.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Make_global.am b/Make_global.am
index ac9a2ca..857d0de 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -13,7 +13,7 @@ AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
# -Wunreachable-code -> fails with ntoh*
if DISABLE_EXTRA_FLAGS
-AM_CFLAGS =
+AM_CFLAGS =
else
AM_CFLAGS = -std=gnu99 \
-Wall \
@@ -42,7 +42,12 @@ AM_CFLAGS = -std=gnu99 \
-g -ggdb -gdwarf-2 -g3
endif
+if ENABLE_DEBUG
+AM_CFLAGS += -DIPSET_DEBUG
+endif
+
if ! ENABLE_VERBOSE
+AM_LIBTOOL_SILENT = --silent
AM_VERBOSE_CC = @echo " CC " $@;
AM_VERBOSE_CCLD = @echo " CCLD " $@;
endif