aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-12-03 16:28:56 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-12-03 16:28:56 +0000
commitbdc45483d5340b8e4803643e885d85a1a7c7bbad (patch)
tree9e068bbef0af0aa8a1b364453311d88ee12c0824 /bin
parente667a2d992ee5b9841b954d896dca94ed5ae1acd (diff)
Notes
Diffstat (limited to 'bin')
-rw-r--r--bin/csh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 1e15c0e38f992..d375037944cec 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -11,7 +11,7 @@ TCSHDIR= ${.CURDIR}/../../contrib/tcsh
PROG= csh
SUBDIR= nls
-DFLAGS= -D_PATH_TCSHELL='"${DESTDIR}/bin/${PROG}"'
+DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"'
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 \
@@ -45,6 +45,8 @@ CLEANFILES= ${GENHDRS} gethost csh.1
csh.1: tcsh.man
ln -sf ${.ALLSRC} ${.TARGET}
+build-tools: gethost
+
gethost: gethost.c sh.err.h tc.const.h sh.h
@rm -f ${.TARGET}
${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${TCSHDIR}/gethost.c