1# $FreeBSD: head/bin/csh/Makefile 60029 2000-05-05 08:12:11Z jkoshy $
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
33
34MAN1= csh.1
35MLINKS= csh.1 tcsh.1
36# MLINKS for Shell built in commands for which there are no userland
37# utilities of the same name are handled with the associated manpage,
38# builtin.1 in share/man/man1/.
39
40DPADD+= ${LIBNCURSES} ${LIBCRYPT}
41LDADD+= -lncurses -lcrypt
42
43LINKS= ${BINDIR}/csh ${BINDIR}/tcsh
44
45csh.1: tcsh.man
46 ln -sf ${.ALLSRC} ${.TARGET}
47
48GENHDRS+= ed.defns.h tc.const.h sh.err.h
49SRCS+= ${GENHDRS}
50CLEANFILES+= ${GENHDRS}
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 ---
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
33
34MAN1= csh.1
35MLINKS= csh.1 tcsh.1
36# MLINKS for Shell built in commands for which there are no userland
37# utilities of the same name are handled with the associated manpage,
38# builtin.1 in share/man/man1/.
39
40DPADD+= ${LIBNCURSES} ${LIBCRYPT}
41LDADD+= -lncurses -lcrypt
42
43LINKS= ${BINDIR}/csh ${BINDIR}/tcsh
44
45csh.1: tcsh.man
46 ln -sf ${.ALLSRC} ${.TARGET}
47
48GENHDRS+= ed.defns.h tc.const.h sh.err.h
49SRCS+= ${GENHDRS}
50CLEANFILES+= ${GENHDRS}
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 ---