1# $FreeBSD: head/bin/csh/Makefile 69551 2000-12-03 16:28:56Z ache $ |
2# @(#)Makefile 8.1 (Berkeley) 5/31/93 3# 4# C Shell with process control; VM/UNIX VAX Makefile 5# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria 6# 7# To profile, put -DPROF in DEFS and -pg in CFLAGS, and recompile. 8 9TCSHDIR= ${.CURDIR}/../../contrib/tcsh 10.PATH: ${TCSHDIR} 11 12PROG= csh 13SUBDIR= nls |
14DFLAGS= -D_PATH_TCSHELL='"/bin/${PROG}"' |
15CFLAGS+= -I${TCSHDIR} -I${.CURDIR} -I. ${DFLAGS} 16SRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \ 17 sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \ 18 sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \ 19 sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h 20SRCS+= sh.decls.h glob.c glob.h mi.termios.c mi.wait.h mi.varargs.h 21SRCS+= tw.decls.h tw.h tw.help.c tw.init.c tw.parse.c tw.spell.c \ 22 tw.comp.c tw.color.c --- 17 unchanged lines hidden (view full) --- 40 41LINKS= ${BINDIR}/csh ${BINDIR}/tcsh 42 43CLEANFILES= ${GENHDRS} gethost csh.1 44 45csh.1: tcsh.man 46 ln -sf ${.ALLSRC} ${.TARGET} 47 |
48build-tools: gethost 49 |
50gethost: gethost.c sh.err.h tc.const.h sh.h 51 @rm -f ${.TARGET} 52 ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${TCSHDIR}/gethost.c 53 54tc.defs.c: gethost ${.CURDIR}/host.defs 55 @rm -f ${.TARGET} 56 @echo "/* Do not edit this file, make creates it */" > ${.TARGET} 57 ./gethost ${.CURDIR}/host.defs >> ${.TARGET} --- 28 unchanged lines hidden --- |