From fe7e532f137c892d5df8da7722482478da9e0bae Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 3 Dec 2000 16:28:56 +0000 Subject: Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path Add gethost to build-tools to help cross-building --- bin/csh/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/csh') 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 -- cgit v1.1