1
# Generated automatically from Makefile.in by configure.
3
# Makefile.in 4.3 6/11/83
5
# C Shell with process control; VM/UNIX VAX Makefile
6
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
8
# With an input editor, command completion, etc. and ported to all sorts of
9
# things; Paul Placeway, CIS Dept., Ohio State University
17
################################################################
18
## CFLAGS. For various -D things, see config.h
19
################################################################
21
# These are the default suffixes from .c to .o and -c to get there
22
# but to use the global optimizer on the mips boxes, see below
27
CPPFLAGS=-I. -I$(srcdir)
30
#LFLAGS= -Zn10000 # hpux lint
33
CFLAGS = -g -O2 -DPROG_NAME='"qtcsh"' $(SGE_COPTS) -DFREEBSD # This is set by autoconf.
35
#CFLAGS= -O # production
36
#CFLAGS= # Broken optimizers....
38
#CFLAGS= -g -pg -DPROF
39
#CFLAGS= -O -pg -DPROF
42
#CFLAGS= -O -finline-functions -fstrength-reduce
45
#CFLAGS= -O -fcombine-regs -finline-functions -fstrength-reduce
46
# add -msoft-float for 68881 machines.
49
# On the sparc, don't use -O2; it breaks setjmp() and vfork()
59
#CFLAGS= -O6 -fomit-frame-pointer
65
#CFLAGS= -O -Olimit 2000
67
# Intel Paragon OSF/1 with PGI compilers
68
#CFLAGS= -O -Mnodebug -Mnoperfmon
71
#CFLAGS= -O2 -Olimit 2000 ## Normal Optimization
72
#CFLAGS= -O3 -Olimit 2000 ## Full Optimization - may not work
77
# for silicon graphics (and other mips compilers) -- use the
78
# global optimizer! (-O3).
79
# On SGI 4.0+ you need to add -D__STDC__ too.
81
#CFLAGS= -O3 -Olimit 2000 ## Ultrix 4.2a
84
#.SUFFIXES: .u ## Ultrix and gnu-make need that
87
# CFLAGS= -O -systype bsd43 -Wf,-XNd5000 -Wf,-XNp6000 -Olimit 2000
95
# Stardent Stellar or sunos4 /bin/cc or Solaris2.1 /opt/SUNWspro/bin/cc
98
# Intergraph clipper CLIX 3.1
107
# Multiflow (5M binary... if you choose -O5!)
108
#CFLAGS = -O5 -sb_trace 0
110
# DDE Supermax Unix SYSV Rel III.
114
#CFLAGS= -O # -D_POSIX_SOURCE # -kansi
116
# Apollo's with cc [apollo builtins don't work with gcc]
117
# and apollo should not define __STDC__ if it does not have
118
# the standard header files. RT's (aos4.3) need that too;
119
# you might want to skip the -O on the rt's... Not very wise.
120
# AIX/ESA needs -D_IBMESA on command line (this may disappear by GA)
123
# On aix2.2.1 we need more compiler space.
124
#DFLAGS=-Nd4000 -Nn3000
125
# AU/X 2.0 needs a flag for POSIX (read the config file)
127
# Tektronix 4300 running UTek 4.0 (BSD 4.2) needs:
128
#DFLAGS = -DUTek -DBSD
131
# Multiflow and PCC compilers don't like void typedefs.
132
# You may also need -U__STDC__ if you use pcc (i.e. ibmrt aos4.3).
138
#DFLAGS=-D_PATH_TCSHELL='"${DESTBIN}/tcsh"'
139
## The following is set by autoconf.
140
DFLAGS = -D_PATH_TCSHELL='"${DESTBIN}/tcsh"'
143
################################################################
144
## LDFLAGS. Define something here if you need to
145
################################################################
146
LDFLAGS= $(SGE_LOPTS) ## This is set by autoconf.
147
#LDFLAGS= ## The simplest, suitable for all.
148
#LDFLAGS= -s ## Stripped. Takes less space on disk.
149
#LDFLAGS= -s -n ## Pure executable. Spares paging over
150
# ## the network for machines with local
151
# ## swap but external /usr/local/bin .
152
#LDFLAGS= -s -n -Bstatic ## Without dynamic linking. (SunOS/cc)
153
#LDFLAGS= -s -n -static ## Without dynamic linking. (SunOS/gcc)
154
#LDFLAGS= -Wl,-s,-n ## Stripped, shared text (Unicos)
155
#LDFLAGS= -s -static ## Link statically. (linux)
156
#LDFLAGS= -s -N ## Impure executable (linux)
158
################################################################
159
## LIBES. Pick one, or roll your own.
160
################################################################
161
LIBES= -ltermlib -lcrypt ## This is set by autoconf.
162
#LIBES= -ltermcap ## BSD style things
163
#LIBES= -ltermcap ## SunOS, HP-UX, pyramid
164
#LIBES= -ltermcap ## Linux
165
#LIBES= -ltermcap -lshadow ## Linux with PW_SHADOW
166
#LIBES= -ltermcap -lsec ## Tek XD88/10 (UTekV) with PW_SHADOW
167
#LIBES= -ltermcap -lsec ## Motorola MPC (sysV88) with PW_SHADOW
168
#LIBES= -ltermcap -lcs ## Mach
169
#LIBES= -ltermcap -lbsd ## DEC osf1 on the alpha
170
#LIBES= -ltermcap -lbsd ## Intel paragon
171
#LIBES= -ltermcap -lbsd ## Clipper intergraph
172
#LIBES= -ltermcap -lseq ## Sequent's Dynix
173
#LIBES= -ltermcap -lauth ## Ultrix with Enhanced Security
174
#LIBES= -ltermcap -ldir -lx ## Xenix 386 style things
175
#LIBES= -ltermcap -lndir -lsocket -ljobs ## masscomp RTU6.0
176
#LIBES= -lcurses ## AIX on the rt
177
#LIBES= -lcurses ## TitanOS on the stellar
178
#LIBES= -ltermlib -lsocket -lnsl ## SysV4 w/o BSDTIMES or Solaris 2
179
#LIBES= -lcurses ## SysV3 w/o networking
180
#LIBES= -lcurses -lnet ## SysV3 with networking
181
#LIBES= -lcurses -ldir ## SysV2 w/o networking & dirlib
182
#LIBES= -lcurses -ldir -lnet ## SysV2 with networking & dirlib
183
#LIBES= -lcurses -lbsd ## AIX on the IBM 370 or rs6000 or ps2
184
#LIBES= -lcurses -lbsd ## ETA10
185
#LIBES= -lcurses -lbsd ## Irix3.1 on the SGI-IRIS4D
186
#LIBES= -lcurses -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D w/o yp
187
#LIBES= -lcurses -lsun -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D with yp
188
#LIBES= -lcurses -lsocket -lbsd ## Amdahl UTS 2.1
189
#LIBES= -lcurses -lsocket ## Intel's hypercube.
190
#LIBES= -lcurses -lsocket ## ns32000 based Opus.
191
#LIBES= -lcurses -lcposix ## ISC 2.2 without networking
192
#LIBES= -lcposix -lc_s -lcurses -linet ## ISC 2.2 with networking
193
#LIBES= -lcurses -lsec -lc_s ## ISC 2.0.2 without networking
194
#LIBES= -lcurses -linet -lsec -lc_s ## ISC 2.0.2 with networking
195
#LIBES= -lcurses -lintl -lcrypt ## SCO SysVR3.2v2.0
196
#LIBES= -lcurses -lintl -lsocket -lcrypt ## SCO+ODT1.1
197
#LIBES= -lposix -ltermcap ## A/UX 2.0
198
#LIBES= -lposix -ltermcap -lc_s ## A/UX 3.0
199
#LIBES= -ldirent -lcurses ## att3b1 cc w/o shared lib & dirlib
200
#LIBES= -shlib -ldirent -lcurses ## att3b1 gcc with shared lib & dirlib
201
#LIBES= -ltermlib -lsocket -lnsl -lc /usr/ucblib/libucb.a ## SysV4 with BSDTIMES
202
#LIBES= -lcurses -lnsl -lsocket -lc /usr/ucblib/libucb.a ## Stardent Vistra
203
#LIBES= -ltermc ## emx under OS/2
204
#LIBES= ## Minix, VMS_POSIX
205
#LIBES= -ltermcap -lcrypt ## Multiflow
206
#LIBES= -ltermcap -lcrypt ## NetBSD
207
#LIBES= -lcurses ## DDE Supermax
209
################################################################
210
## EXTRAFLAGS and EXTRALIBS
211
################################################################
212
# Compiling for AFS with kerberos authentication
213
#AFSLIBDIR = /usr/afsws/lib
214
#AFSDEF = -DAFS -I/usr/afsws/include
217
#Solaris and HPUX require the BSD libraries with AFS.
218
#We use -lc to use only what we require.
219
#AFSAUXLIB = -lsocket -lnsl -lc -lucb # Solaris
220
#AFSAUXLIB = -lc -lBSD # HPUX
222
#AFSLIB = -L$(AFSLIBDIR) -L$(AFSLIBDIR)/afs -lkauth -lprot -lubik\
223
# -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err\
224
# $(AFSLIBDIR)/afs/util.a $(AFS33LIB) $(AFSAUXLIB)
228
EXTRAFLAGS = $(AFSDEF) -I../../../libs/gdi
229
EXTRALIBS = $(AFSLIB) -L../../../FREEBSD_SPARC64 $(SGE_LIBS)
232
# The difficult choice of a c-compiler...
233
# First, you should try your own c-compiler.
234
# Gcc -traditional is also a safe choice.
235
# If you think that you have good include files try gcc -Wall...
236
# If you want to take out -traditional, make sure that your sys/ioctl.h
237
# is fixed correctly, otherwise you'll be stopped for tty input, or you
238
# will lose the editor and job control.
240
# This is for setting your C preprocessor value.
241
CPP = gcc -E # This is set by autoconf.
242
# The -B tells gcc to use /bin/ld. This is to avoid using the gnu ld, which
243
# on the suns does not know how to make dynamically linked binaries.
244
CC = gcc # This is set by autoconf.
245
#CC= gcc -Wall -pipe -B/bin/ # -ansi -pedantic
246
#CC= gcc -m486 -pipe -Wall # Generate code for Intel 486 (linux)
247
#CC= shlicc # BSDI2.1 w/ shared libraries
253
#CC= c89 # For VMS/POSIX
254
#CC= /bin/cc # For suns, w/o gcc and SVR4
255
#CC= /usr/lib/sun.compile/cc # FPS 500 (+FPX) with Sun C compiler
256
#CC= /opt/SUNWspro/bin/cc # Solaris 2.1
257
#CC= scc # Alliant fx2800
258
#CC= cc -h0,ansi,novector,float0 # for NEC SX-4
263
CXREF= /usr/ucb/cxref
264
VGRIND= csh /usr/ucb/vgrind
265
CTAGS= /usr/ucb/ctags
267
SCCS= /usr/local/sccs
268
PARALLEL=12 # Make the multi-max run fast.
269
#P=& # Use Sequent's parallel make
272
exec_prefix=${prefix}
273
bindir=${exec_prefix}/bin
276
DESTBIN=${DESTDIR}${bindir}
277
DESTMAN=${DESTDIR}${mandir}/man${MANSECT}
278
# DESTMAN=${DESTDIR}/catman/man${MANSECT} # A/UX
279
# DESTMAN=${DESTDIR}/usr/share/man/man${MANSECT} # Stardent Vistra (SysVR4)
280
# DESTMAN=/usr/catman/1l # Amiga unix (SysVR4)
281
FTPAREA=/usr/spool/ftp
283
ASSRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
284
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
285
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \
286
sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h \
288
PSSRCS= sh.decls.h glob.c glob.h mi.termios.c mi.wait.h mi.varargs.h ma.setp.c \
290
SHSRCS= ${ASSRCS} ${PSSRCS}
291
SHOBJS= sh.${SUF} sh.dir.${SUF} sh.dol.${SUF} sh.err.${SUF} sh.exec.${SUF} \
292
sh.char.${SUF} sh.exp.${SUF} sh.func.${SUF} sh.glob.${SUF} \
293
sh.hist.${SUF} sh.init.${SUF} sh.lex.${SUF} sh.misc.${SUF} \
294
sh.parse.${SUF} sh.print.${SUF} sh.proc.${SUF} sh.sem.${SUF} \
295
sh.set.${SUF} sh.time.${SUF} glob.${SUF} mi.termios.${SUF} \
296
ma.setp.${SUF} vms.termcap.${SUF}
298
TWSRCS= tw.decls.h tw.h tw.help.c tw.init.c tw.parse.c tw.spell.c \
300
TWOBJS= tw.help.${SUF} tw.init.${SUF} tw.parse.${SUF} tw.spell.${SUF} \
301
tw.comp.${SUF} tw.color.${SUF}
303
EDSRCS= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \
304
ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h
305
EDOBJS= ed.chared.${SUF} ed.refresh.${SUF} ed.screen.${SUF} ed.init.${SUF} \
306
ed.inputl.${SUF} ed.defns.${SUF} ed.xmap.${SUF} ed.term.${SUF}
308
TCSRCS= tc.alloc.c tc.bind.c tc.const.c tc.decls.h tc.disc.c \
309
tc.func.c tc.os.c tc.os.h tc.printf.c tc.prompt.c \
310
tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \
312
TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
313
tc.disc.${SUF} tc.func.${SUF} tc.os.${SUF} tc.printf.${SUF} \
314
tc.prompt.${SUF} tc.sched.${SUF} tc.sig.${SUF} tc.str.${SUF} \
315
tc.vers.${SUF} tc.who.${SUF}
317
PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
318
AVSRCS= Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
319
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
320
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
321
README.imake complete.tcsh vmsreadme.txt termcap.vms snames.h \
322
host.defs gethost.c tcsh.man2html configure.in configure config.h.in
324
VHSRCS=${PVSRCS} ${AVSRCS}
328
ALLSRCS= ${SHSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${VHSRCS}
329
DISTSRCS= ${PSSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${AVSRCS}
332
OBJS= ${SHOBJS} ${TWOBJS} ${EDOBJS} ${TCOBJS}
339
${CC} -o tcsh ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
344
purify `echo ${CC} | sed -e s,-B/bin/,,` -o tcsh ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
349
gethost: gethost.c sh.err.h tc.const.h sh.h
351
${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
353
tc.defs.c: gethost host.defs
355
@echo "/* Do not edit this file, make creates it */" > $@
356
./gethost $(srcdir)/host.defs >> $@
360
-ptroff -t -man $(srcdir)/tcsh.man > tcsh.ps
364
${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $<
366
# _VMS_POSIX #module addition
368
# @(echo '#module '`echo $< | sed -e 's/\./_/g'`; cat $<) > $*..c
369
# @echo ${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*.c
370
# @${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*..c
375
# Don't do any special massaging of C files for sharing of strings!!
376
# it causes weird segmentation faults on some systems.
378
# ${CPP} ${CFLAGS} ${CPPFLAGS} $*.c | ${XSTR} -c -
379
# ${CC} ${CF} ${CFLAGS} ${CPPFLAGS} x.c
383
#ed.init.o: ed.init.c
384
# ${CPP} ${CFLAGS} ${CPPFLAGS} $*.c | ${XSTR} -c -
385
# ${CC} -R ${CF} ${CFLAGS} ${CPPFLAGS} x.c
392
# mv -f xs.o strings.o
401
ed.defns.h: ed.defns.c
403
@echo '/* Do not edit this file, make creates it. */' > $@
404
@echo '#ifndef _h_ed_defns' >> $@
405
@echo '#define _h_ed_defns' >> $@
406
grep '[FV]_' $(srcdir)/ed.defns.c | grep '^#define' >> $@
407
@echo '#endif /* _h_ed_defns */' >> $@
411
@echo '/* Do not edit this file, make creates it. */' > $@
412
@echo '#ifndef _h_sh_err' >> $@
413
@echo '#define _h_sh_err' >> $@
414
grep 'ERR_' $(srcdir)/sh.err.c | grep '^#define' >> $@
415
@echo '#endif /* _h_sh_err */' >> $@
417
tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h
419
@echo '/* Do not edit this file, make creates it. */' > $@
420
@echo '#ifndef _h_tc_const' >> $@
421
@echo '#define _h_tc_const' >> $@
422
${CPP} $(CPPFLAGS) ${DFLAGS} ${EXTRAFLAGS} -D_h_tc_const\
423
$(srcdir)/tc.const.c | grep 'Char STR' | \
424
sed -e 's/Char \([a-zA-Z0-9_]*\)\[\].*/extern Char \1[];/' | \
426
@echo '#endif /* _h_tc_const */' >> $@
428
csh.prof: ${OBJS} sh.prof.${SUF} mcrt0.${SUF}
430
ld -X mcrt0.${SUF} ${OBJS} -o csh.prof ${LIBES} -lc
434
${CC} ${CF} ${CFLAGS} ${CPPFLAGS} -DPROF sh.prof.c
436
lint: tc.const.h ed.defns.h
437
lint ${DFLAGS} ${CPPFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
439
alint: tc.const.h ed.defns.h
440
alint ${DFLAGS} ${CPPFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
444
@pr makefile makefile.*
445
@(size -l a.out; size *.${SUF}) | pr -h SIZES
446
@${CXREF} sh*.c | pr -h XREF
448
@pr sh*.h [a-rt-z]*.h sh*.c alloc.c
451
@pr -l84 READ_ME TODO
452
@pr -l84 makefile makefile.*
453
@(size -l a.out; size *.${SUF}) | pr -l84 -h SIZES
454
@${CXREF} sh*.c | pr -l84 -h XREF
456
@${CXREF} sh*.c | pr -l84 -h XREF
457
@pr -l84 sh*.h [a-rt-z]*.h sh*.c alloc.c
461
@for i in *.h; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
462
@for i in *.c; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
463
@vgrind -t -x -h Index index >/crp/bill/csh/index.t
465
install-strip: install
469
-mv -f ${DESTBIN}/tcsh ${DESTBIN}/tcsh.old
470
cp tcsh ${DESTBIN}/tcsh
471
-strip ${DESTBIN}/tcsh
472
chmod 555 ${DESTBIN}/tcsh
474
install.man: tcsh.man
476
-rm -f ${DESTMAN}/tcsh.${MANSECT}
477
cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT}
478
chmod 444 ${DESTMAN}/tcsh.${MANSECT}
481
#install.man: tcsh.man
483
# cp tcsh.man.Z ${DESTMAN}/tcsh.Z
484
# chmod 444 ${DESTMAN}/tcsh.Z
487
#install.man: tcsh.man
488
# -rm -f ${DESTMAN}/tcsh.${MANSECT}.Z
489
# nroff -man tcsh.man | compress > ${DESTMAN}/tcsh.${MANSECT}.Z
490
# chmod 444 ${DESTMAN}/tcsh.${MANSECT}.Z
493
${RM} -f a.out strings x.c xs.c tcsh tcsh.a _MAKE_LOG core gethost
494
${RM} -f *.${SUF} sh.prof.c ed.defns.h tc.const.h sh.err.h tc.defs.c
495
${RM} -f tcsh.*.m tcsh.*.cat
498
${RM} -f config.h config.status config.cache config.log Makefile tcsh.ps
504
@echo "no dependencies for 3rdparty tcsh yet."
510
rm -f tcsh-${VERSION}.tar.Z
511
rm -rf tcsh-${VERSION}
512
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
513
cp ${ALLSRCS} tcsh-${VERSION}
514
cp ${CONFSRCS} tcsh-${VERSION}/config
515
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
516
tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
517
rm -rf tcsh-${VERSION}
520
rm -f tcsh-${VERSION}.tar.gz
521
rm -rf tcsh-${VERSION}
522
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
523
cp ${ALLSRCS} tcsh-${VERSION}
524
cp ${CONFSRCS} tcsh-${VERSION}/config
525
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
526
tar cvf - tcsh-${VERSION} | gzip > tcsh-${VERSION}.tar.gz
527
rm -rf tcsh-${VERSION}
531
rm -rf tcsh-${VERSION}
532
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
533
cp ${ALLSRCS} tcsh-${VERSION}
534
cp ${CONFSRCS} tcsh-${VERSION}/config
535
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
536
MAKESHAR -v -n tcsh-${VERSION} tcsh-${VERSION} \
537
tcsh-${VERSION}/?* tcsh-${VERSION}/config/?* \
538
tcsh-${VERSION}/?*/set?*
539
rm -rf tcsh-${VERSION}
542
@(cd nls; make catalogs)
544
tcsh-${VERSION}.tar.Z:
545
rm -rf tcsh-${VERSION}
546
rm -f tcsh-${VERSION}.tar tcsh-${VERSION}.tar.Z DIFFS.[123]
547
mkdir tcsh-${VERSION}
549
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh-${VERSION}
550
cp ${DISTSRCS} tcsh-${VERSION}
551
mkdir tcsh-${VERSION}/config
552
cp ${CONFSRCS} tcsh-${VERSION}/config
553
cp Makefile tcsh-${VERSION}/Makefile.new
554
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
555
tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
556
rm -rf tcsh-${VERSION}
558
tcsh.tahoe-${VERSION}.tar.Z:
559
rm -rf tcsh.tahoe-${VERSION}
560
rm -f tcsh.tahoe-${VERSION}.tar tcsh.tahoe-${VERSION}.tar.Z DIFFS.[123]
561
mkdir tcsh.tahoe-${VERSION}
563
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.tahoe-${VERSION}
564
cp ${DISTSRCS} tcsh.tahoe-${VERSION}
565
mkdir tcsh.tahoe-${VERSION}/config
566
cp ${CONFSRCS} tcsh.tahoe-${VERSION}/config
567
cp Makefile tcsh.tahoe-${VERSION}/Makefile.new
568
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
569
tar cvf - tcsh.tahoe-${VERSION} | compress > tcsh.tahoe-${VERSION}.tar.Z
570
rm -rf tcsh.tahoe-${VERSION}
572
tcsh.reno-${VERSION}.tar.Z:
573
rm -rf tcsh.reno-${VERSION}
574
rm -f tcsh.reno-${VERSION}.tar tcsh.reno-${VERSION}.tar.Z DIFFS.[123]
575
mkdir tcsh.reno-${VERSION}
577
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.reno-${VERSION}
578
cp ${DISTSRCS} tcsh.reno-${VERSION}
579
mkdir tcsh.reno-${VERSION}/config
580
cp ${CONFSRCS} tcsh.reno-${VERSION}/config
581
cp Makefile tcsh.reno-${VERSION}/Makefile.new
582
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
583
tar cvf - tcsh.reno-${VERSION} | compress > tcsh.reno-${VERSION}.tar.Z
584
rm -rf tcsh.reno-${VERSION}
586
ftp: tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z
587
cp tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z ${FTPAREA}
588
cp tcsh.man ${FTPAREA}
590
autoconfigure: $(srcdir)/configure $(srcdir)/config.h.in
592
$(srcdir)/configure: $(srcdir)/configure.in
593
cd $(srcdir) && autoconf
595
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
596
$(srcdir)/stamp-h.in: $(srcdir)/configure.in
597
cd $(srcdir) && autoheader
598
@echo timestamp > $(srcdir)/stamp-h.in
605
TCH=tc.h tc.const.h tc.decls.h tc.os.h tc.sig.h
606
SHH=sh.h sh.types.h sh.char.h sh.err.h sh.dir.h sh.proc.h pathnames.h \
612
EDINC=sh.${SUF} sh.func.${SUF} sh.lex.${SUF} sh.print.${SUF} sh.proc.${SUF} \
613
sh.set.${SUF} tc.bind.${SUF} tc.os.${SUF} tc.prompt.${SUF} \
614
tc.sched.${SUF} tw.parse.${SUF} tw.color.${SUF}
615
${EDOBJS} ${EDINC} : ${EDH}
618
${OBJS}: config.h ${SHH}
621
TWINC=ed.chared.${SUF} ed.inputl.${SUF} sh.exec.${SUF} sh.func.${SUF} \
622
sh.set.${SUF} tc.func.${SUF} tw.color.${SUF}
623
${TWOBJS} ${TWINC}: ${TWH}
626
glob.${SUF} sh.glob.${SUF}: glob.h
629
EDDINC=tc.bind.${SUF} tc.func.${SUF} tc.os.${SUF}
630
${EDOBJS} ${EDDINC}: ed.defns.h
633
tc.defs.${SUF}: tc.defs.c sh.h