summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-22 19:01:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-22 19:01:11 +0000
commitd8fb2ddbfa0e39add9075bcc8fee890e73f1c661 (patch)
treee6ef428548e3a1f066c118602efedf57c03d6cc1 /Makefile
parentc045dee3b0c15ec8f2e1054b209abc29fb0f2414 (diff)
downloadmandoc-d8fb2ddbfa0e39add9075bcc8fee890e73f1c661.tar.gz
Stripping of Xo/Xc macros in main.c (ifdef STRIP_XO).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b7d83b37..f186e817 100644
--- a/Makefile
+++ b/Makefile
@@ -13,10 +13,14 @@ VERSION = 1.6.8
VDATE = 21 March 2009
VFLAGS = -DVERSION=\"$(VERSION)\"
-CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
+CFLAGS += -W -Wall -Wstrict-prototypes -Wno-unused-parameter -g
LINTFLAGS += $(VFLAGS)
CFLAGS += $(VFLAGS)
+# If you want to strip `Xo/Xc' macro pairs, enable this. Really, only
+# OpenBSD should be doing this while it kicks its cruft.
+CFLAGS += -DSTRIP_XO
+
LIBLNS = macro.ln mdoc.ln hash.ln strings.ln xstd.ln argv.ln \
validate.ln action.ln lib.ln att.ln arch.ln vol.ln \
msec.ln st.ln