summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-23 18:08:49 +0000
committerobrien <obrien@FreeBSD.org>2000-04-23 18:08:49 +0000
commitce5fa178d7bf24d666f6de95407c5c2d42a0e0af (patch)
tree8f4ca8f04d383d465694d46ec82ad1b434c957f2 /bin
parentaab240f546065b975ef7db0921190396bd3984fb (diff)
downloadFreeBSD-src-ce5fa178d7bf24d666f6de95407c5c2d42a0e0af.zip
FreeBSD-src-ce5fa178d7bf24d666f6de95407c5c2d42a0e0af.tar.gz
Pass "WANT_KANJI" from make.conf to the compiler.
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index c9ae4b8..894a2e2 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -6,12 +6,15 @@
#
# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile.
-TCSHDIR= ${.CURDIR}/../../contrib/tcsh
+TCSHDIR= ${.CURDIR}/../../contrib/tcsh
.PATH: ${TCSHDIR}
PROG= csh
SUBDIR= nls
DFLAGS= -D_PATH_TCSHELL='"${DESTDIR}/bin/${PROG}"'
+.if defined(WANT_KANJI)
+DFLAGS+= -DWANT_KANJI
+.endif
CFLAGS+= -I${TCSHDIR} -I${.CURDIR} -I. ${DFLAGS}
SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
OpenPOWER on IntegriCloud