1# $FreeBSD: head/bin/csh/Makefile 60599 2000-05-15 14:24:32Z bde $ |
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 --- 15 unchanged lines hidden (view full) --- 25 tw.comp.c tw.color.c 26SRCS+= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \ 27 ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h 28SRCS+= tc.alloc.c tc.bind.c tc.const.c tc.decls.h tc.disc.c \ 29 tc.func.c tc.os.c tc.os.h tc.printf.c tc.prompt.c \ 30 tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \ 31 tc.who.c tc.h 32SRCS+= tc.defs.c |
33GENHDRS= ed.defns.h sh.err.h tc.const.h 34SRCS+= ${GENHDRS} |
35 36MAN1= csh.1 37MLINKS= csh.1 tcsh.1 38# MLINKS for Shell built in commands for which there are no userland 39# utilities of the same name are handled with the associated manpage, 40# builtin.1 in share/man/man1/. 41 |
42DPADD= ${LIBNCURSES} ${LIBCRYPT} 43LDADD= -lncurses -lcrypt |
44 45LINKS= ${BINDIR}/csh ${BINDIR}/tcsh 46 |
47CLEANFILES= ${GENHDRS} csh.1 48 |
49csh.1: tcsh.man 50 ln -sf ${.ALLSRC} ${.TARGET} 51 |
52ed.defns.h: ed.defns.c 53 @rm -f ${.TARGET} 54 @echo '/* Do not edit this file, make creates it. */' > ${.TARGET} 55 @echo '#ifndef _h_ed_defns' >> ${.TARGET} 56 @echo '#define _h_ed_defns' >> ${.TARGET} 57 grep '[FV]_' ${TCSHDIR}/ed.defns.c | grep '^#define' >> ${.TARGET} 58 @echo '#endif /* _h_ed_defns */' >> ${.TARGET} 59 --- 19 unchanged lines hidden --- |