summaryrefslogtreecommitdiffstatshomepage
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
commit7f5e6c325d7501f482f01a516a4bcd4fcde4d255 (patch)
tree82470d31e8b8c11cf36a23770b8151da394dd3ea /Makefile
parent161e91f1e1aba8f876c65a8533432516e2dce548 (diff)
downloadmandoc-7f5e6c325d7501f482f01a516a4bcd4fcde4d255.tar.gz
mandoc-7f5e6c325d7501f482f01a516a4bcd4fcde4d255.tar.zst
mandoc-7f5e6c325d7501f482f01a516a4bcd4fcde4d255.zip
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