Fri Jan 25 14:20:58 2013 UTC ()
Obey SMALLPROG and don't enable the editor


(christos)
diff -r1.36 -r1.37 src/bin/csh/Makefile

cvs diff -r1.36 -r1.37 src/bin/csh/Makefile (expand / switch to unified diff)

--- src/bin/csh/Makefile 2013/01/23 16:39:03 1.36
+++ src/bin/csh/Makefile 2013/01/25 14:20:57 1.37
@@ -1,30 +1,32 @@ @@ -1,30 +1,32 @@
1# $NetBSD: Makefile,v 1.36 2013/01/23 16:39:03 christos Exp $ 1# $NetBSD: Makefile,v 1.37 2013/01/25 14:20:57 christos Exp $
2# @(#)Makefile 8.1 (Berkeley) 5/31/93 2# @(#)Makefile 8.1 (Berkeley) 5/31/93
3# 3#
4# C Shell with process control; VM/UNIX VAX Makefile 4# C Shell with process control; VM/UNIX VAX Makefile
5# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria 5# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
6# 6#
7# To profile, put -DPROF in DFLAGS and -pg in COPTS, and recompile. 7# To profile, put -DPROF in DFLAGS and -pg in COPTS, and recompile.
8 8
9.include <bsd.own.mk> 9.include <bsd.own.mk>
10 10
11PROG= csh 11PROG= csh
12DFLAGS=-DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS 12DFLAGS=-DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS
13# - Editor history not always aligned with shell history, 13# - Editor history not always aligned with shell history,
14# should implement internally 14# should implement internally
15# - Does not handle escaped prompts. 15# - Does not handle escaped prompts.
16# - Does not do completion 16# - Does not do completion
 17.ifndef SMALLPROG
17DFLAGS+=-DEDIT 18DFLAGS+=-DEDIT
 19.endif
18CPPFLAGS+=-I${.CURDIR} -I. ${DFLAGS} 20CPPFLAGS+=-I${.CURDIR} -I. ${DFLAGS}
19SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \ 21SRCS= alloc.c char.c const.c csh.c dir.c dol.c err.c exec.c exp.c file.c \
20 func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \ 22 func.c glob.c hist.c init.c lex.c misc.c parse.c printf.c proc.c \
21 sem.c set.c str.c time.c 23 sem.c set.c str.c time.c
22.PATH: ${NETBSDSRCDIR}/usr.bin/printf 24.PATH: ${NETBSDSRCDIR}/usr.bin/printf
23 25
24MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \ 26MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
25 csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \ 27 csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \
26 csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \ 28 csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \
27 csh.1 stop.1 csh.1 source.1 29 csh.1 stop.1 csh.1 source.1
28 30
29DPSRCS+= errnum.h const.h 31DPSRCS+= errnum.h const.h
30CLEANFILES+= errnum.h const.h 32CLEANFILES+= errnum.h const.h