Module Name: src
Committed By: christos
Date: Mon Feb 15 21:38:07 UTC 2016
Modified Files:
src/lib/libedit/TEST: Makefile
Log Message:
Compile with WIDECHAR the same way the main Makefile does (Ingo Schwarze)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libedit/TEST/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libedit/TEST/Makefile
diff -u src/lib/libedit/TEST/Makefile:1.5 src/lib/libedit/TEST/Makefile:1.6
--- src/lib/libedit/TEST/Makefile:1.5 Wed Feb 3 10:34:43 2010
+++ src/lib/libedit/TEST/Makefile Mon Feb 15 16:38:07 2016
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2010/02/03 15:34:43 roy Exp $
+# $NetBSD: Makefile,v 1.6 2016/02/15 21:38:07 christos Exp $
+
+WIDECHAR ?= yes
NOMAN=1
PROG=wtc1
@@ -6,6 +8,10 @@ CPPFLAGS=-I${.CURDIR}/..
LDADD+=-ledit -ltermlib
DPADD+=${LIBEDIT} ${LIBTERMLIB}
+.if "${WIDECHAR}" == "yes"
+CPPFLAGS+=-DWIDECHAR
+.endif
+
.ifdef DEBUG
CPPFLAGS+=-DDEBUG
.endif