2 # C Shell with process control; VM/UNIX VAX Makefile
3 # Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
5 # With an input editor, command completion, etc. and ported to all sorts of
6 # things; Paul Placeway, CIS Dept., Ohio State University
12 ################################################################
13 ## CFLAGS. For various -D things, see config.h
14 ################################################################
16 # These are the default suffixes from .c to .o and -c to get there
17 # but to use the global optimizer on the mips boxes, see below
25 #LFLAGS=$(INCLUDES) -Zn10000 # hpux lint
28 #CFLAGS= $(INCLUDES) -g # debug
29 #CFLAGS= $(INCLUDES) -O # production
30 #CFLAGS= $(INCLUDES) # Broken optimizers....
32 #CFLAGS= -g -pg $(INCLUDES) -DPROF
33 #CFLAGS= -O -pg $(INCLUDES) -DPROF
36 #CFLAGS=-O $(INCLUDES) -finline-functions -fstrength-reduce
39 #CFLAGS=-O $(INCLUDES) -fcombine-regs -finline-functions -fstrength-reduce
40 # add -msoft-float for 68881 machines.
43 # On the sparc, don't use -O2; it breaks setjmp() and vfork()
44 #CFLAGS=-O $(INCLUDES)
47 #CFLAGS=-O2 $(INCLUDES)
50 #CFLAGS=-O5 $(INCLUDES)
53 #CFLAGS=-O6 -fomit-frame-pointer $(INCLUDES)
56 #CFLAGS= $(INCLUDES) +O3 -Aa
59 #CFLAGS= $(INCLUDES) -O -Olimit 2000
61 # Intel Paragon OSF/1 with PGI compilers
62 #CFLAGS=-O -Mnodebug -Mnoperfmon $(INCLUDES)
65 #CFLAGS= -O2 $(INCLUDES) -Olimit 2000 ## Normal Optimization
66 #CFLAGS= -O3 $(INCLUDES) -Olimit 2000 ## Full Optimization - may not work
71 # for silicon graphics (and other mips compilers) -- use the
72 # global optimizer! (-O3).
73 # On SGI 4.0+ you need to add -D__STDC__ too.
74 #CFLAGS= -O3 $(INCLUDES)
75 #CFLAGS= -O3 $(INCLUDES) -Olimit 2000 ## Ultrix 4.2a
78 #.SUFFIXES: .u ## Ultrix and gnu-make need that
81 # CFLAGS= $(INCLUDES) -O -systype bsd43 -Wf,-XNd5000 -Wf,-XNp6000 -Olimit 2000
84 #CFLAGS= -O -Ksd $(INCLUDES)
87 #CFLAGS = $(INCLUDES) -O -43
89 # Stardent Stellar or sunos4 /bin/cc or Solaris2.1 /opt/SUNWspro/bin/cc
90 #CFLAGS = $(INCLUDES) -O4
92 # Intergraph clipper CLIX 3.1
93 #CFLAGS= -w -O2 $(INCLUDES)
101 # Multiflow (5M binary... if you choose -O5!)
102 #CFLAGS = -O5 -sb_trace 0
104 # DDE Supermax Unix SYSV Rel III.
107 # Apollo's with cc [apollo builtins don't work with gcc]
108 # and apollo should not define __STDC__ if it does not have
109 # the standard header files. RT's (aos4.3) need that too;
110 # you might want to skip the -O on the rt's... Not very wise.
111 # AIX/ESA needs -D_IBMESA on command line (this may disappear by GA)
114 # On aix2.2.1 we need more compiler space.
115 #DFLAGS=-Nd4000 -Nn3000
116 # AU/X 2.0 needs a flag for POSIX (read the config file)
118 # Tektronix 4300 running UTek 4.0 (BSD 4.2) needs:
119 #DFLAGS = -DUTek -DBSD
127 #DFLAGS=-D_PATH_TCSHELL='"${DESTBIN}/tcsh"'
130 ################################################################
131 ## LDFLAGS. Define something here if you need to
132 ################################################################
133 LDFLAGS= ## The simplest, suitable for all.
134 #LDFLAGS= -s ## Stripped. Takes less space on disk.
135 #LDFLAGS= -s -n ## Pure executable. Spares paging over
136 # ## the network for machines with local
137 # ## swap but external /usr/local/bin .
138 #LDFLAGS= -s -n -Bstatic ## Without dynamic links. (SunOS)
139 #LDFLAGS= -Wl,-s,-n ## Stripped, shared text (Unicos)
140 #LDFLAGS= -s -static ## Link statically. (linux)
141 #LDFLAGS= -s -N ## Impure executable (linux)
143 ################################################################
144 ## LIBES. Pick one, or roll your own.
145 ################################################################
146 #LIBES= -ltermcap ## BSD style things
147 #LIBES= -ltermcap ## SunOS, HP-UX, pyramid
148 #LIBES= -ltermcap ## Linux
149 #LIBES= -ltermcap -lshadow ## Linux with PW_SHADOW
150 #LIBES= -ltermcap -lsec ## Tek XD88/10 (UTekV) with PW_SHADOW
151 #LIBES= -ltermcap -lsec ## Motorola MPC (sysV88) with PW_SHADOW
152 #LIBES= -ltermcap -lcs ## Mach
153 #LIBES= -ltermcap -lbsd ## DEC osf1 on the alpha
154 #LIBES= -ltermcap -lbsd ## Intel paragon
155 #LIBES= -ltermcap -lbsd ## Clipper intergraph
156 #LIBES= -ltermcap -lseq ## Sequent's Dynix
157 #LIBES= -ltermcap -lauth ## Ultrix with Enhanced Security
158 #LIBES= -ltermcap -ldir -lx ## Xenix 386 style things
159 #LIBES= -ltermcap -lndir -lsocket -ljobs ## masscomp RTU6.0
160 #LIBES= -lcurses ## AIX on the rt
161 #LIBES= -lcurses ## TitanOS on the stellar
162 #LIBES= -ltermlib -lsocket -lnsl ## SysV4 w/o BSDTIMES or Solaris 2
163 #LIBES= -lcurses ## SysV3 w/o networking
164 #LIBES= -lcurses -lnet ## SysV3 with networking
165 #LIBES= -lcurses -ldir ## SysV2 w/o networking & dirlib
166 #LIBES= -lcurses -ldir -lnet ## SysV2 with networking & dirlib
167 #LIBES= -lcurses -lbsd ## AIX on the IBM 370 or rs6000 or ps2
168 #LIBES= -lcurses -lbsd ## ETA10
169 #LIBES= -lcurses -lbsd ## Irix3.1 on the SGI-IRIS4D
170 #LIBES= -lcurses -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D w/o yp
171 #LIBES= -lcurses -lsun -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D with yp
172 #LIBES= -lcurses -lsocket -lbsd ## Amdahl UTS 2.1
173 #LIBES= -lcurses -lsocket ## Intel's hypercube.
174 #LIBES= -lcurses -lsocket ## ns32000 based Opus.
175 #LIBES= -lcurses -lcposix ## ISC 2.2 without networking
176 #LIBES= -lcposix -lc_s -lcurses -linet ## ISC 2.2 with networking
177 #LIBES= -lcurses -lsec -lc_s ## ISC 2.0.2 without networking
178 #LIBES= -lcurses -linet -lsec -lc_s ## ISC 2.0.2 with networking
179 #LIBES= -lcurses -lintl -lcrypt ## SCO SysVR3.2v2.0
180 #LIBES= -lcurses -lintl -lsocket -lcrypt ## SCO+ODT1.1
181 #LIBES= -lposix -ltermcap ## A/UX 2.0
182 #LIBES= -lposix -ltermcap -lc_s ## A/UX 3.0
183 #LIBES= -ldirent -lcurses ## att3b1 cc w/o shared lib & dirlib
184 #LIBES= -shlib -ldirent -lcurses ## att3b1 gcc with shared lib & dirlib
185 #LIBES= -ltermlib -lsocket -lnsl -lc /usr/ucblib/libucb.a ## SysV4 with BSDTIMES
186 #LIBES= -lcurses -lnsl -lsocket -lc /usr/ucblib/libucb.a ## Stardent Vistra
187 #LIBES= -ltermc ## emx under OS/2
188 LIBES= ## Minix, VMS_POSIX
189 #LIBES= -ltermcap -lcrypt ## Multiflow
190 #LIBES= -ltermcap -lcrypt ## NetBSD
191 #LIBES= -lcurses ## DDE Supermax
193 ################################################################
194 ## EXTRAFLAGS and EXTRALIBS
195 ################################################################
196 # Compiling for HESIOD
197 #HESDEF = -DHESIOD -I/usr/athena/include
198 #HESLIB = -L/usr/athena/lib -lhesiod
200 # Compiling for AFS with kerberos authentication
201 #AFSLIBDIR = /usr/afsws/lib
202 #AFSDEF = -DAFS -I/usr/afsws/include
205 #Solaris and HPUX require the BSD libraries with AFS.
206 #We use -lc to use only what we require.
207 #AFSAUXLIB = -lsocket -lnsl -lc -lucb # Solaris
208 #AFSAUXLIB = -lc -lBSD # HPUX
210 #AFSLIB = -L$(AFSLIBDIR) -L$(AFSLIBDIR)/afs -lkauth -lprot -lubik\
211 # -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err\
212 # $(AFSLIBDIR)/afs/util.a $(AFS33LIB) $(AFSAUXLIB)
215 EXTRAFLAGS = $(HESDEF) $(AFSDEF)
216 EXTRALIBS = $(HESLIB) $(AFSLIB)
219 # The difficult choice of a c-compiler...
220 # First, you should try your own c-compiler.
221 # Gcc -traditional is also a safe choice.
222 # If you think that you have good include files try gcc -Wall...
223 # If you want to take out -traditional, make sure that your sys/ioctl.h
224 # is fixed correctly, otherwise you'll be stopped for tty input, or you
225 # will lose the editor and job control.
227 # The -B tells gcc to use /bin/ld. This is to avoid using the gnu ld, which
228 # on the suns does not know how to make dynamically linked binaries.
229 #CC= gcc -Wall -pipe -B/bin/ # -ansi -pedantic
230 #CC= gcc -m486 -pipe -Wall # Generate code for Intel 486 (linux)
236 CC= c89 # For VMS/POSIX
237 #CC= /bin/cc # For suns, w/o gcc and SVR4
238 #CC= /usr/lib/sun.compile/cc # FPS 500 (+FPX) with Sun C compiler
239 #CC= /opt/SUNWspro/bin/cc # Solaris 2.1
240 #CC= scc # Alliant fx2800
245 CXREF= /usr/ucb/cxref
246 VGRIND= csh /usr/ucb/vgrind
247 CTAGS= /usr/ucb/ctags
249 SCCS= /usr/local/sccs
250 PARALLEL=12 # Make the multi-max run fast.
251 #P=& # Use Sequent's parallel make
255 DESTBIN=${DESTDIR}/bin
256 DESTMAN=${DESTDIR}/man/man${MANSECT}
257 # DESTMAN=${DESTDIR}/catman/man${MANSECT} # A/UX
258 # DESTMAN=${DESTDIR}/usr/share/man/man${MANSECT} # Stardent Vistra (SysVR4)
259 # DESTMAN=/usr/catman/1l # Amiga unix (SysVR4)
260 FTPAREA=/usr/spool/ftp
262 ASSRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
263 sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
264 sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \
265 sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h
266 PSSRCS= sh.decls.h glob.c glob.h mi.termios.c mi.wait.h mi.varargs.h ma.setp.c \
268 SHSRCS= ${ASSRCS} ${PSSRCS}
269 SHOBJS= sh.${SUF} sh.dir.${SUF} sh.dol.${SUF} sh.err.${SUF} sh.exec.${SUF} \
270 sh.char.${SUF} sh.exp.${SUF} sh.func.${SUF} sh.glob.${SUF} \
271 sh.hist.${SUF} sh.init.${SUF} sh.lex.${SUF} sh.misc.${SUF} \
272 sh.parse.${SUF} sh.print.${SUF} sh.proc.${SUF} sh.sem.${SUF} \
273 sh.set.${SUF} sh.time.${SUF} glob.${SUF} mi.termios.${SUF} \
274 ma.setp.${SUF} vms.termcap.${SUF}
276 TWSRCS= tw.decls.h tw.h tw.help.c tw.init.c tw.parse.c tw.spell.c \
278 TWOBJS= tw.help.${SUF} tw.init.${SUF} tw.parse.${SUF} tw.spell.${SUF} \
279 tw.comp.${SUF} tw.color.${SUF}
281 EDSRCS= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \
282 ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h
283 EDOBJS= ed.chared.${SUF} ed.refresh.${SUF} ed.screen.${SUF} ed.init.${SUF} \
284 ed.inputl.${SUF} ed.defns.${SUF} ed.xmap.${SUF} ed.term.${SUF}
286 TCSRCS= tc.alloc.c tc.bind.c tc.const.c tc.decls.h tc.disc.c \
287 tc.func.c tc.os.c tc.os.c tc.os.h tc.printf.c tc.prompt.c \
288 tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \
290 TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
291 tc.disc.${SUF} tc.func.${SUF} tc.os.${SUF} tc.os.${SUF} tc.printf.${SUF} \
292 tc.prompt.${SUF} tc.sched.${SUF} tc.sig.${SUF} tc.str.${SUF} \
293 tc.vers.${SUF} tc.who.${SUF}
295 PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
296 AVSRCS= BUILDING Fixes MAKEDIFFS MAKESHAR NewThings README.md FAQ \
297 WishList config_f.h eight-bit.me glob.3 patchlevel.h \
298 pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
299 complete.tcsh vmsreadme.txt termcap.vms snames.h host.defs \
300 gethost.c tcsh.man2html configure.ac aclocal.m4
302 VHSRCS=${PVSRCS} ${AVSRCS}
306 ALLSRCS= ${SHSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${VHSRCS}
307 DISTSRCS= ${PSSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${AVSRCS}
310 OBJS= ${SHOBJS} ${TWOBJS} ${EDOBJS} ${TCOBJS}
317 ${CC} -o tcsh ${LDFLAGS} ${CFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
322 purify `echo ${CC} | sed -e s,-B/bin/,,` -o tcsh ${LDFLAGS} ${CFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
327 gethost: gethost.c sh.err.h tc.const.h sh.h
329 ${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${DFLAGS} gethost.c ${LIBES} ${EXTRALIBS}
331 tc.defs.c: gethost host.defs
333 @echo "/* Do not edit this file, make creates it */" > $@
334 ./gethost host.defs >> $@
338 -ptroff -man tcsh.man > tcsh.ps
342 # ${CC} ${CF} ${CFLAGS} ${DFLAGS} ${EXTRAFLAGS} $<
344 # _VMS_POSIX #module addition
346 @(echo '\#module '`echo $< | sed -e 's/\./_/g'`; cat $<) > $*..c
347 @echo ${CC} ${CF} ${CFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*.c
348 @${CC} ${CF} ${CFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*..c
353 # Don't do any special massaging of C files for sharing of strings!!
354 # it causes weird segmentation faults on some systems.
356 # ${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
357 # ${CC} ${CF} ${CFLAGS} x.c
361 #ed.init.o: ed.init.c
362 # ${CC} -E ${CFLAGS} $*.c | ${XSTR} -c -
363 # ${CC} -R ${CF} ${CF} x.c
370 # mv -f xs.o strings.o
379 ed.defns.h: ed.defns.c
381 @echo '/* Do not edit this file, make creates it. */' > $@
382 @echo '\#ifndef _h_ed_defns' >> $@
383 @echo '\#define _h_ed_defns' >> $@
384 grep '[FV]_' ed.defns.c | grep '^\#define' >> $@
385 @echo '\#endif /* _h_ed_defns */' >> $@
389 @echo '/* Do not edit this file, make creates it. */' > $@
390 @echo '\#ifndef _h_sh_err' >> $@
391 @echo '\#define _h_sh_err' >> $@
392 grep 'ERR_' sh.err.c | grep '^#define' >> $@
393 @echo '\#endif /* _h_sh_err */' >> $@
395 tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h
397 @echo '/* Do not edit this file, make creates it. */' > $@
398 @echo '\#ifndef _h_tc_const' >> $@
399 @echo '\#define _h_tc_const' >> $@
400 ${CC} -E $(INCLUDES) ${DFLAGS} -D_h_tc_const tc.const.c | \
402 sed -e 's/Char \([a-zA-Z0-9_]*\) *\[ *\].*/extern Char \1[];/' | \
404 @echo '\#endif /* _h_tc_const */' >> $@
406 csh.prof: ${OBJS} sh.prof.${SUF} mcrt0.${SUF}
408 ld -X mcrt0.${SUF} ${OBJS} -o csh.prof ${LIBES} -lc
412 ${CC} ${CF} ${CFLAGS} -DPROF sh.prof.c
414 lint: tc.const.h ed.defns.h
415 lint ${DFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
417 alint: tc.const.h ed.defns.h
418 alint ${DFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
422 @pr makefile makefile.*
423 @(size -l a.out; size *.${SUF}) | pr -h SIZES
424 @${CXREF} sh*.c | pr -h XREF
426 @pr sh*.h [a-rt-z]*.h sh*.c alloc.c
429 @pr -l84 READ_ME TODO
430 @pr -l84 makefile makefile.*
431 @(size -l a.out; size *.${SUF}) | pr -l84 -h SIZES
432 @${CXREF} sh*.c | pr -l84 -h XREF
434 @${CXREF} sh*.c | pr -l84 -h XREF
435 @pr -l84 sh*.h [a-rt-z]*.h sh*.c alloc.c
439 @for i in *.h; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
440 @for i in *.c; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
441 @vgrind -t -x -h Index index >/crp/bill/csh/index.t
444 -mv -f ${DESTBIN}/tcsh ${DESTBIN}/tcsh.old
445 cp tcsh ${DESTBIN}/tcsh
446 -strip ${DESTBIN}/tcsh
447 chmod 555 ${DESTBIN}/tcsh
449 install.man: tcsh.man
450 -rm -f ${DESTMAN}/tcsh.${MANSECT}
451 cp tcsh.man ${DESTMAN}/tcsh.${MANSECT}
452 chmod 444 ${DESTMAN}/tcsh.${MANSECT}
455 #install.man: tcsh.man
457 # cp tcsh.man.Z ${DESTMAN}/tcsh.Z
458 # chmod 444 ${DESTMAN}/tcsh.Z
461 #install.man: tcsh.man
462 # -rm -f ${DESTMAN}/tcsh.${MANSECT}.Z
463 # nroff -man tcsh.man | compress > ${DESTMAN}/tcsh.${MANSECT}.Z
464 # chmod 444 ${DESTMAN}/tcsh.${MANSECT}.Z
467 ${RM} -f a.out strings x.c xs.c tcsh tcsh.a _MAKE_LOG core gethost
468 ${RM} -f *.${SUF} sh.prof.c ed.defns.h tc.const.h sh.err.h tc.defs.c
469 ${RM} -f tcsh.*.m tcsh.*.cat
479 rm -f tcsh-${VERSION}.tar.Z
480 rm -rf tcsh-${VERSION}
481 mkdir tcsh-${VERSION} tcsh-${VERSION}/config
482 cp ${ALLSRCS} tcsh-${VERSION}
483 cp ${CONFSRCS} tcsh-${VERSION}/config
484 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
485 tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
486 rm -rf tcsh-${VERSION}
489 rm -f tcsh-${VERSION}.tar.gz
490 rm -rf tcsh-${VERSION}
491 mkdir tcsh-${VERSION} tcsh-${VERSION}/config
492 cp ${ALLSRCS} tcsh-${VERSION}
493 cp ${CONFSRCS} tcsh-${VERSION}/config
494 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
495 tar cvf - tcsh-${VERSION} | gzip > tcsh-${VERSION}.tar.gz
496 rm -rf tcsh-${VERSION}
500 rm -rf tcsh-${VERSION}
501 mkdir tcsh-${VERSION} tcsh-${VERSION}/config
502 cp ${ALLSRCS} tcsh-${VERSION}
503 cp ${CONFSRCS} tcsh-${VERSION}/config
504 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
505 MAKESHAR -v -n tcsh-${VERSION} tcsh-${VERSION} \
506 tcsh-${VERSION}/?* tcsh-${VERSION}/config/?* \
507 tcsh-${VERSION}/?*/set?*
508 rm -rf tcsh-${VERSION}
511 @(cd nls; make catalogs)
513 tcsh-${VERSION}.tar.Z:
514 rm -rf tcsh-${VERSION}
515 rm -f tcsh-${VERSION}.tar tcsh-${VERSION}.tar.Z DIFFS.[123]
516 mkdir tcsh-${VERSION}
518 mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh-${VERSION}
519 cp ${DISTSRCS} tcsh-${VERSION}
520 mkdir tcsh-${VERSION}/config
521 cp ${CONFSRCS} tcsh-${VERSION}/config
522 cp Makefile tcsh-${VERSION}/Makefile.new
523 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
524 tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
525 rm -rf tcsh-${VERSION}
527 tcsh.tahoe-${VERSION}.tar.Z:
528 rm -rf tcsh.tahoe-${VERSION}
529 rm -f tcsh.tahoe-${VERSION}.tar tcsh.tahoe-${VERSION}.tar.Z DIFFS.[123]
530 mkdir tcsh.tahoe-${VERSION}
532 mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.tahoe-${VERSION}
533 cp ${DISTSRCS} tcsh.tahoe-${VERSION}
534 mkdir tcsh.tahoe-${VERSION}/config
535 cp ${CONFSRCS} tcsh.tahoe-${VERSION}/config
536 cp Makefile tcsh.tahoe-${VERSION}/Makefile.new
537 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
538 tar cvf - tcsh.tahoe-${VERSION} | compress > tcsh.tahoe-${VERSION}.tar.Z
539 rm -rf tcsh.tahoe-${VERSION}
541 tcsh.reno-${VERSION}.tar.Z:
542 rm -rf tcsh.reno-${VERSION}
543 rm -f tcsh.reno-${VERSION}.tar tcsh.reno-${VERSION}.tar.Z DIFFS.[123]
544 mkdir tcsh.reno-${VERSION}
546 mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.reno-${VERSION}
547 cp ${DISTSRCS} tcsh.reno-${VERSION}
548 mkdir tcsh.reno-${VERSION}/config
549 cp ${CONFSRCS} tcsh.reno-${VERSION}/config
550 cp Makefile tcsh.reno-${VERSION}/Makefile.new
551 tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
552 tar cvf - tcsh.reno-${VERSION} | compress > tcsh.reno-${VERSION}.tar.Z
553 rm -rf tcsh.reno-${VERSION}
555 ftp: tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z
556 cp tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z ${FTPAREA}
557 cp tcsh.man ${FTPAREA}
564 TCH=tc.h tc.const.h tc.decls.h tc.nls.h tc.os.h tc.sig.h
565 SHH=sh.h sh.types.h sh.char.h sh.err.h sh.dir.h sh.proc.h pathnames.h \
571 EDINC=sh.${SUF} sh.func.${SUF} sh.lex.${SUF} sh.print.${SUF} sh.proc.${SUF} \
572 sh.set.${SUF} tc.bind.${SUF} tc.os.${SUF} tc.prompt.${SUF} \
573 tc.sched.${SUF} tw.parse.${SUF}
574 ${EDOBJS} ${EDINC} : ${EDH}
577 ${OBJS}: config.h ${SHH}
580 TWINC=ed.chared.${SUF} ed.inputl.${SUF} sh.exec.${SUF} sh.func.${SUF} \
581 sh.set.${SUF} tc.func.${SUF} tc.nls.${SUF}
582 ${TWOBJS} ${TWINC}: ${TWH}
585 glob.${SUF} sh.glob.${SUF}: glob.h
588 EDDINC=tc.bind.${SUF} tc.func.${SUF} tc.os.${SUF}
589 ${EDOBJS} ${EDDINC}: ed.defns.h
592 tc.defs.${SUF}: tc.defs.c sh.h