summaryrefslogtreecommitdiffstats
path: root/bin/csh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index 1e15c0e..d375037 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
OpenPOWER on IntegriCloud