Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libedit/TEST Compile with WIDECHAR the same way the main...



details:   https://anonhg.NetBSD.org/src/rev/0ecd8b1bbea5
branches:  trunk
changeset: 343591:0ecd8b1bbea5
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 15 21:38:07 2016 +0000

description:
Compile with WIDECHAR the same way the main Makefile does (Ingo Schwarze)

diffstat:

 lib/libedit/TEST/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 54cbe423c5c4 -r 0ecd8b1bbea5 lib/libedit/TEST/Makefile
--- a/lib/libedit/TEST/Makefile Mon Feb 15 21:35:52 2016 +0000
+++ b/lib/libedit/TEST/Makefile Mon Feb 15 21:38:07 2016 +0000
@@ -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 @@
 LDADD+=-ledit -ltermlib
 DPADD+=${LIBEDIT} ${LIBTERMLIB}
 
+.if "${WIDECHAR}" == "yes"
+CPPFLAGS+=-DWIDECHAR
+.endif
+
 .ifdef DEBUG
 CPPFLAGS+=-DDEBUG
 .endif



Home | Main Index | Thread Index | Old Index