2
# Makefile.in 4.3 6/11/83
4
# C Shell with process control; VM/UNIX VAX Makefile
5
# Bill Joy UC Berkeley; Jim Kulp IIASA, Austria
7
# With an input editor, command completion, etc. and ported to all sorts of
8
# things; Paul Placeway, CIS Dept., Ohio State University
16
################################################################
17
## CFLAGS. For various -D things, see config.h
18
################################################################
20
# These are the default suffixes from .c to .o and -c to get there
21
# but to use the global optimizer on the mips boxes, see below
26
CPPFLAGS=-I. -I$(srcdir)
29
#LFLAGS= -Zn10000 # hpux lint
32
CFLAGS = -g -O2 -DPROG_NAME='"qtcsh"' -DLINUXSPARC_26 # This is set by autoconf.
34
#CFLAGS= -O # production
35
#CFLAGS= # Broken optimizers....
37
#CFLAGS= -g -pg -DPROF
38
#CFLAGS= -O -pg -DPROF
41
#CFLAGS= -O -finline-functions -fstrength-reduce
44
#CFLAGS= -O -fcombine-regs -finline-functions -fstrength-reduce
45
# add -msoft-float for 68881 machines.
48
# On the sparc, don't use -O2; it breaks setjmp() and vfork()
58
#CFLAGS= -O6 -fomit-frame-pointer
64
#CFLAGS= -O -Olimit 2000
66
# Intel Paragon OSF/1 with PGI compilers
67
#CFLAGS= -O -Mnodebug -Mnoperfmon
70
#CFLAGS= -O2 -Olimit 2000 ## Normal Optimization
71
#CFLAGS= -O3 -Olimit 2000 ## Full Optimization - may not work
76
# for silicon graphics (and other mips compilers) -- use the
77
# global optimizer! (-O3).
78
# On SGI 4.0+ you need to add -D__STDC__ too.
80
#CFLAGS= -O3 -Olimit 2000 ## Ultrix 4.2a
83
#.SUFFIXES: .u ## Ultrix and gnu-make need that
86
# CFLAGS= -O -systype bsd43 -Wf,-XNd5000 -Wf,-XNp6000 -Olimit 2000
94
# Stardent Stellar or sunos4 /bin/cc or Solaris2.1 /opt/SUNWspro/bin/cc
97
# Intergraph clipper CLIX 3.1
106
# Multiflow (5M binary... if you choose -O5!)
107
#CFLAGS = -O5 -sb_trace 0
109
# DDE Supermax Unix SYSV Rel III.
113
#CFLAGS= -O # -D_POSIX_SOURCE # -kansi
115
# Apollo's with cc [apollo builtins don't work with gcc]
116
# and apollo should not define __STDC__ if it does not have
117
# the standard header files. RT's (aos4.3) need that too;
118
# you might want to skip the -O on the rt's... Not very wise.
119
# AIX/ESA needs -D_IBMESA on command line (this may disappear by GA)
122
# On aix2.2.1 we need more compiler space.
123
#DFLAGS=-Nd4000 -Nn3000
124
# AU/X 2.0 needs a flag for POSIX (read the config file)
126
# Tektronix 4300 running UTek 4.0 (BSD 4.2) needs:
127
#DFLAGS = -DUTek -DBSD
130
# Multiflow and PCC compilers don't like void typedefs.
131
# You may also need -U__STDC__ if you use pcc (i.e. ibmrt aos4.3).
137
#DFLAGS=-D_PATH_TCSHELL='"${DESTBIN}/tcsh"'
138
## The following is set by autoconf.
139
DFLAGS = -D_PATH_TCSHELL='"${DESTBIN}/tcsh"'
142
################################################################
143
## LDFLAGS. Define something here if you need to
144
################################################################
145
LDFLAGS= $(SGE_LOPTS) ## This is set by autoconf.
146
#LDFLAGS= ## The simplest, suitable for all.
147
#LDFLAGS= -s ## Stripped. Takes less space on disk.
148
#LDFLAGS= -s -n ## Pure executable. Spares paging over
149
# ## the network for machines with local
150
# ## swap but external /usr/local/bin .
151
#LDFLAGS= -s -n -Bstatic ## Without dynamic linking. (SunOS/cc)
152
#LDFLAGS= -s -n -static ## Without dynamic linking. (SunOS/gcc)
153
#LDFLAGS= -Wl,-s,-n ## Stripped, shared text (Unicos)
154
#LDFLAGS= -s -static ## Link statically. (linux)
155
#LDFLAGS= -s -N ## Impure executable (linux)
157
################################################################
158
## LIBES. Pick one, or roll your own.
159
################################################################
160
LIBES= -lncurses -lcrypt ## This is set by autoconf.
161
#LIBES= -ltermcap ## BSD style things
162
#LIBES= -ltermcap ## SunOS, HP-UX, pyramid
163
#LIBES= -ltermcap ## Linux
164
#LIBES= -ltermcap -lshadow ## Linux with PW_SHADOW
165
#LIBES= -ltermcap -lsec ## Tek XD88/10 (UTekV) with PW_SHADOW
166
#LIBES= -ltermcap -lsec ## Motorola MPC (sysV88) with PW_SHADOW
167
#LIBES= -ltermcap -lcs ## Mach
168
#LIBES= -ltermcap -lbsd ## DEC osf1 on the alpha
169
#LIBES= -ltermcap -lbsd ## Intel paragon
170
#LIBES= -ltermcap -lbsd ## Clipper intergraph
171
#LIBES= -ltermcap -lseq ## Sequent's Dynix
172
#LIBES= -ltermcap -lauth ## Ultrix with Enhanced Security
173
#LIBES= -ltermcap -ldir -lx ## Xenix 386 style things
174
#LIBES= -ltermcap -lndir -lsocket -ljobs ## masscomp RTU6.0
175
#LIBES= -lcurses ## AIX on the rt
176
#LIBES= -lcurses ## TitanOS on the stellar
177
#LIBES= -ltermlib -lsocket -lnsl ## SysV4 w/o BSDTIMES or Solaris 2
178
#LIBES= -lcurses ## SysV3 w/o networking
179
#LIBES= -lcurses -lnet ## SysV3 with networking
180
#LIBES= -lcurses -ldir ## SysV2 w/o networking & dirlib
181
#LIBES= -lcurses -ldir -lnet ## SysV2 with networking & dirlib
182
#LIBES= -lcurses -lbsd ## AIX on the IBM 370 or rs6000 or ps2
183
#LIBES= -lcurses -lbsd ## ETA10
184
#LIBES= -lcurses -lbsd ## Irix3.1 on the SGI-IRIS4D
185
#LIBES= -lcurses -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D w/o yp
186
#LIBES= -lcurses -lsun -lbsd -lc_s ## Irix3.3 on the SGI-IRIS4D with yp
187
#LIBES= -lcurses -lsocket -lbsd ## Amdahl UTS 2.1
188
#LIBES= -lcurses -lsocket ## Intel's hypercube.
189
#LIBES= -lcurses -lsocket ## ns32000 based Opus.
190
#LIBES= -lcurses -lcposix ## ISC 2.2 without networking
191
#LIBES= -lcposix -lc_s -lcurses -linet ## ISC 2.2 with networking
192
#LIBES= -lcurses -lsec -lc_s ## ISC 2.0.2 without networking
193
#LIBES= -lcurses -linet -lsec -lc_s ## ISC 2.0.2 with networking
194
#LIBES= -lcurses -lintl -lcrypt ## SCO SysVR3.2v2.0
195
#LIBES= -lcurses -lintl -lsocket -lcrypt ## SCO+ODT1.1
196
#LIBES= -lposix -ltermcap ## A/UX 2.0
197
#LIBES= -lposix -ltermcap -lc_s ## A/UX 3.0
198
#LIBES= -ldirent -lcurses ## att3b1 cc w/o shared lib & dirlib
199
#LIBES= -shlib -ldirent -lcurses ## att3b1 gcc with shared lib & dirlib
200
#LIBES= -ltermlib -lsocket -lnsl -lc /usr/ucblib/libucb.a ## SysV4 with BSDTIMES
201
#LIBES= -lcurses -lnsl -lsocket -lc /usr/ucblib/libucb.a ## Stardent Vistra
202
#LIBES= -ltermc ## emx under OS/2
203
#LIBES= ## Minix, VMS_POSIX
204
#LIBES= -ltermcap -lcrypt ## Multiflow
205
#LIBES= -ltermcap -lcrypt ## NetBSD
206
#LIBES= -lcurses ## DDE Supermax
208
################################################################
209
## EXTRAFLAGS and EXTRALIBS
210
################################################################
211
# Compiling for AFS with kerberos authentication
212
#AFSLIBDIR = /usr/afsws/lib
213
#AFSDEF = -DAFS -I/usr/afsws/include
216
#Solaris and HPUX require the BSD libraries with AFS.
217
#We use -lc to use only what we require.
218
#AFSAUXLIB = -lsocket -lnsl -lc -lucb # Solaris
219
#AFSAUXLIB = -lc -lBSD # HPUX
221
#AFSLIB = -L$(AFSLIBDIR) -L$(AFSLIBDIR)/afs -lkauth -lprot -lubik\
222
# -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err\
223
# $(AFSLIBDIR)/afs/util.a $(AFS33LIB) $(AFSAUXLIB)
227
EXTRAFLAGS = $(AFSDEF) -I../../../libs/gdi
228
EXTRALIBS = $(AFSLIB) -L../../../LINUXSPARC_26 -R/lib/lx26-sparc64 $(SGE_LIBS)
231
# The difficult choice of a c-compiler...
232
# First, you should try your own c-compiler.
233
# Gcc -traditional is also a safe choice.
234
# If you think that you have good include files try gcc -Wall...
235
# If you want to take out -traditional, make sure that your sys/ioctl.h
236
# is fixed correctly, otherwise you'll be stopped for tty input, or you
237
# will lose the editor and job control.
239
# This is for setting your C preprocessor value.
240
CPP = gcc -E # This is set by autoconf.
241
# The -B tells gcc to use /bin/ld. This is to avoid using the gnu ld, which
242
# on the suns does not know how to make dynamically linked binaries.
243
CC = gcc # This is set by autoconf.
244
#CC= gcc -Wall -pipe -B/bin/ # -ansi -pedantic
245
#CC= gcc -m486 -pipe -Wall # Generate code for Intel 486 (linux)
246
#CC= shlicc # BSDI2.1 w/ shared libraries
252
#CC= c89 # For VMS/POSIX
253
#CC= /bin/cc # For suns, w/o gcc and SVR4
254
#CC= /usr/lib/sun.compile/cc # FPS 500 (+FPX) with Sun C compiler
255
#CC= /opt/SUNWspro/bin/cc # Solaris 2.1
256
#CC= scc # Alliant fx2800
257
#CC= cc -h0,ansi,novector,float0 # for NEC SX-4
262
CXREF= /usr/ucb/cxref
263
VGRIND= csh /usr/ucb/vgrind
264
CTAGS= /usr/ucb/ctags
266
SCCS= /usr/local/sccs
267
PARALLEL=12 # Make the multi-max run fast.
268
#P=& # Use Sequent's parallel make
271
exec_prefix=${prefix}
272
bindir=${exec_prefix}/bin
275
DESTBIN=${DESTDIR}${bindir}
276
DESTMAN=${DESTDIR}${mandir}/man${MANSECT}
277
# DESTMAN=${DESTDIR}/catman/man${MANSECT} # A/UX
278
# DESTMAN=${DESTDIR}/usr/share/man/man${MANSECT} # Stardent Vistra (SysVR4)
279
# DESTMAN=/usr/catman/1l # Amiga unix (SysVR4)
280
FTPAREA=/usr/spool/ftp
282
ASSRCS= sh.c sh.dir.c sh.dol.c sh.err.c sh.exec.c sh.char.c \
283
sh.exp.c sh.file.c sh.func.c sh.glob.c sh.hist.c sh.init.c \
284
sh.lex.c sh.misc.c sh.parse.c sh.print.c sh.proc.c sh.sem.c \
285
sh.set.c sh.time.c sh.char.h sh.dir.h sh.proc.h sh.h \
287
PSSRCS= sh.decls.h glob.c glob.h mi.termios.c mi.wait.h mi.varargs.h ma.setp.c \
289
SHSRCS= ${ASSRCS} ${PSSRCS}
290
SHOBJS= sh.${SUF} sh.dir.${SUF} sh.dol.${SUF} sh.err.${SUF} sh.exec.${SUF} \
291
sh.char.${SUF} sh.exp.${SUF} sh.func.${SUF} sh.glob.${SUF} \
292
sh.hist.${SUF} sh.init.${SUF} sh.lex.${SUF} sh.misc.${SUF} \
293
sh.parse.${SUF} sh.print.${SUF} sh.proc.${SUF} sh.sem.${SUF} \
294
sh.set.${SUF} sh.time.${SUF} glob.${SUF} mi.termios.${SUF} \
295
ma.setp.${SUF} vms.termcap.${SUF}
297
TWSRCS= tw.decls.h tw.h tw.help.c tw.init.c tw.parse.c tw.spell.c \
299
TWOBJS= tw.help.${SUF} tw.init.${SUF} tw.parse.${SUF} tw.spell.${SUF} \
300
tw.comp.${SUF} tw.color.${SUF}
302
EDSRCS= ed.chared.c ed.decls.h ed.defns.c ed.h ed.init.c ed.inputl.c \
303
ed.refresh.c ed.screen.c ed.xmap.c ed.term.c ed.term.h
304
EDOBJS= ed.chared.${SUF} ed.refresh.${SUF} ed.screen.${SUF} ed.init.${SUF} \
305
ed.inputl.${SUF} ed.defns.${SUF} ed.xmap.${SUF} ed.term.${SUF}
307
TCSRCS= tc.alloc.c tc.bind.c tc.const.c tc.decls.h tc.disc.c \
308
tc.func.c tc.os.c tc.os.h tc.printf.c tc.prompt.c \
309
tc.sched.c tc.sig.c tc.sig.h tc.str.c sh.types.h tc.vers.c tc.wait.h \
311
TCOBJS= tc.alloc.${SUF} tc.bind.${SUF} tc.const.${SUF} tc.defs.${SUF} \
312
tc.disc.${SUF} tc.func.${SUF} tc.os.${SUF} tc.printf.${SUF} \
313
tc.prompt.${SUF} tc.sched.${SUF} tc.sig.${SUF} tc.str.${SUF} \
314
tc.vers.${SUF} tc.who.${SUF}
316
PVSRCS= Makefile.std Makefile.vms Makefile.in Makefile.win32
317
AVSRCS= Fixes MAKEDIFFS MAKESHAR NewThings README FAQ \
318
WishList config_f.h eight-bit.me glob.3 patchlevel.h \
319
pathnames.h tcsh.man Ported src.desc Imakefile imake.config \
320
README.imake complete.tcsh vmsreadme.txt termcap.vms snames.h \
321
host.defs gethost.c tcsh.man2html configure.in configure config.h.in
323
VHSRCS=${PVSRCS} ${AVSRCS}
327
ALLSRCS= ${SHSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${VHSRCS}
328
DISTSRCS= ${PSSRCS} ${TWSRCS} ${EDSRCS} ${TCSRCS} ${AVSRCS}
331
OBJS= ${SHOBJS} ${TWOBJS} ${EDOBJS} ${TCOBJS}
338
${CC} -o tcsh ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
343
purify `echo ${CC} | sed -e s,-B/bin/,,` -o tcsh ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${OBJS} ${LIBES} ${EXTRALIBS}
348
gethost: gethost.c sh.err.h tc.const.h sh.h
350
${CC} -o gethost ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $(srcdir)/gethost.c ${LIBES} ${EXTRALIBS}
352
tc.defs.c: gethost host.defs
354
@echo "/* Do not edit this file, make creates it */" > $@
355
./gethost $(srcdir)/host.defs >> $@
359
-ptroff -t -man $(srcdir)/tcsh.man > tcsh.ps
363
${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $<
365
# _VMS_POSIX #module addition
367
# @(echo '#module '`echo $< | sed -e 's/\./_/g'`; cat $<) > $*..c
368
# @echo ${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*.c
369
# @${CC} ${CF} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${EXTRAFLAGS} $*..c
374
# Don't do any special massaging of C files for sharing of strings!!
375
# it causes weird segmentation faults on some systems.
377
# ${CPP} ${CFLAGS} ${CPPFLAGS} $*.c | ${XSTR} -c -
378
# ${CC} ${CF} ${CFLAGS} ${CPPFLAGS} x.c
382
#ed.init.o: ed.init.c
383
# ${CPP} ${CFLAGS} ${CPPFLAGS} $*.c | ${XSTR} -c -
384
# ${CC} -R ${CF} ${CFLAGS} ${CPPFLAGS} x.c
391
# mv -f xs.o strings.o
400
ed.defns.h: ed.defns.c
402
@echo '/* Do not edit this file, make creates it. */' > $@
403
@echo '#ifndef _h_ed_defns' >> $@
404
@echo '#define _h_ed_defns' >> $@
405
grep '[FV]_' $(srcdir)/ed.defns.c | grep '^#define' >> $@
406
@echo '#endif /* _h_ed_defns */' >> $@
410
@echo '/* Do not edit this file, make creates it. */' > $@
411
@echo '#ifndef _h_sh_err' >> $@
412
@echo '#define _h_sh_err' >> $@
413
grep 'ERR_' $(srcdir)/sh.err.c | grep '^#define' >> $@
414
@echo '#endif /* _h_sh_err */' >> $@
416
tc.const.h: tc.const.c sh.char.h config.h config_f.h sh.types.h sh.err.h
418
@echo '/* Do not edit this file, make creates it. */' > $@
419
@echo '#ifndef _h_tc_const' >> $@
420
@echo '#define _h_tc_const' >> $@
421
${CPP} $(CPPFLAGS) ${DFLAGS} ${EXTRAFLAGS} -D_h_tc_const\
422
$(srcdir)/tc.const.c | grep 'Char STR' | \
423
sed -e 's/Char \([a-zA-Z0-9_]*\)\[\].*/extern Char \1[];/' | \
425
@echo '#endif /* _h_tc_const */' >> $@
427
csh.prof: ${OBJS} sh.prof.${SUF} mcrt0.${SUF}
429
ld -X mcrt0.${SUF} ${OBJS} -o csh.prof ${LIBES} -lc
433
${CC} ${CF} ${CFLAGS} ${CPPFLAGS} -DPROF sh.prof.c
435
lint: tc.const.h ed.defns.h
436
lint ${DFLAGS} ${CPPFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
438
alint: tc.const.h ed.defns.h
439
alint ${DFLAGS} ${CPPFLAGS} ${LFLAGS} sh*.c tw*.c ed*.c tc.*.c ${LIBES}
443
@pr makefile makefile.*
444
@(size -l a.out; size *.${SUF}) | pr -h SIZES
445
@${CXREF} sh*.c | pr -h XREF
447
@pr sh*.h [a-rt-z]*.h sh*.c alloc.c
450
@pr -l84 READ_ME TODO
451
@pr -l84 makefile makefile.*
452
@(size -l a.out; size *.${SUF}) | pr -l84 -h SIZES
453
@${CXREF} sh*.c | pr -l84 -h XREF
455
@${CXREF} sh*.c | pr -l84 -h XREF
456
@pr -l84 sh*.h [a-rt-z]*.h sh*.c alloc.c
460
@for i in *.h; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
461
@for i in *.c; do vgrind -t -h "C Shell" $$i >/crp/bill/csh/$$i.t; done
462
@vgrind -t -x -h Index index >/crp/bill/csh/index.t
464
install-strip: install
468
-mv -f ${DESTBIN}/tcsh ${DESTBIN}/tcsh.old
469
cp tcsh ${DESTBIN}/tcsh
470
-strip ${DESTBIN}/tcsh
471
chmod 555 ${DESTBIN}/tcsh
473
install.man: tcsh.man
475
-rm -f ${DESTMAN}/tcsh.${MANSECT}
476
cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT}
477
chmod 444 ${DESTMAN}/tcsh.${MANSECT}
480
#install.man: tcsh.man
482
# cp tcsh.man.Z ${DESTMAN}/tcsh.Z
483
# chmod 444 ${DESTMAN}/tcsh.Z
486
#install.man: tcsh.man
487
# -rm -f ${DESTMAN}/tcsh.${MANSECT}.Z
488
# nroff -man tcsh.man | compress > ${DESTMAN}/tcsh.${MANSECT}.Z
489
# chmod 444 ${DESTMAN}/tcsh.${MANSECT}.Z
492
${RM} -f a.out strings x.c xs.c tcsh tcsh.a _MAKE_LOG core gethost
493
${RM} -f *.${SUF} sh.prof.c ed.defns.h tc.const.h sh.err.h tc.defs.c
494
${RM} -f tcsh.*.m tcsh.*.cat
497
${RM} -f config.h config.status config.cache config.log Makefile tcsh.ps
506
rm -f tcsh-${VERSION}.tar.Z
507
rm -rf tcsh-${VERSION}
508
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
509
cp ${ALLSRCS} tcsh-${VERSION}
510
cp ${CONFSRCS} tcsh-${VERSION}/config
511
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
512
tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
513
rm -rf tcsh-${VERSION}
516
rm -f tcsh-${VERSION}.tar.gz
517
rm -rf tcsh-${VERSION}
518
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
519
cp ${ALLSRCS} tcsh-${VERSION}
520
cp ${CONFSRCS} tcsh-${VERSION}/config
521
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
522
tar cvf - tcsh-${VERSION} | gzip > tcsh-${VERSION}.tar.gz
523
rm -rf tcsh-${VERSION}
527
rm -rf tcsh-${VERSION}
528
mkdir tcsh-${VERSION} tcsh-${VERSION}/config
529
cp ${ALLSRCS} tcsh-${VERSION}
530
cp ${CONFSRCS} tcsh-${VERSION}/config
531
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
532
MAKESHAR -v -n tcsh-${VERSION} tcsh-${VERSION} \
533
tcsh-${VERSION}/?* tcsh-${VERSION}/config/?* \
534
tcsh-${VERSION}/?*/set?*
535
rm -rf tcsh-${VERSION}
538
@(cd nls; make catalogs)
540
tcsh-${VERSION}.tar.Z:
541
rm -rf tcsh-${VERSION}
542
rm -f tcsh-${VERSION}.tar tcsh-${VERSION}.tar.Z DIFFS.[123]
543
mkdir tcsh-${VERSION}
545
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh-${VERSION}
546
cp ${DISTSRCS} tcsh-${VERSION}
547
mkdir tcsh-${VERSION}/config
548
cp ${CONFSRCS} tcsh-${VERSION}/config
549
cp Makefile tcsh-${VERSION}/Makefile.new
550
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
551
tar cvf - tcsh-${VERSION} | compress > tcsh-${VERSION}.tar.Z
552
rm -rf tcsh-${VERSION}
554
tcsh.tahoe-${VERSION}.tar.Z:
555
rm -rf tcsh.tahoe-${VERSION}
556
rm -f tcsh.tahoe-${VERSION}.tar tcsh.tahoe-${VERSION}.tar.Z DIFFS.[123]
557
mkdir tcsh.tahoe-${VERSION}
559
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.tahoe-${VERSION}
560
cp ${DISTSRCS} tcsh.tahoe-${VERSION}
561
mkdir tcsh.tahoe-${VERSION}/config
562
cp ${CONFSRCS} tcsh.tahoe-${VERSION}/config
563
cp Makefile tcsh.tahoe-${VERSION}/Makefile.new
564
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
565
tar cvf - tcsh.tahoe-${VERSION} | compress > tcsh.tahoe-${VERSION}.tar.Z
566
rm -rf tcsh.tahoe-${VERSION}
568
tcsh.reno-${VERSION}.tar.Z:
569
rm -rf tcsh.reno-${VERSION}
570
rm -f tcsh.reno-${VERSION}.tar tcsh.reno-${VERSION}.tar.Z DIFFS.[123]
571
mkdir tcsh.reno-${VERSION}
573
mv DIFFS.1 DIFFS.2 DIFFS.3 tcsh.reno-${VERSION}
574
cp ${DISTSRCS} tcsh.reno-${VERSION}
575
mkdir tcsh.reno-${VERSION}/config
576
cp ${CONFSRCS} tcsh.reno-${VERSION}/config
577
cp Makefile tcsh.reno-${VERSION}/Makefile.new
578
tar cf - nls/Makefile nls/?*/set?* | (cd tcsh-${VERSION}; tar xpf -)
579
tar cvf - tcsh.reno-${VERSION} | compress > tcsh.reno-${VERSION}.tar.Z
580
rm -rf tcsh.reno-${VERSION}
582
ftp: tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z
583
cp tcsh-${VERSION}.tar.Z tcsh.tahoe-${VERSION}.tar.Z ${FTPAREA}
584
cp tcsh.man ${FTPAREA}
586
autoconfigure: $(srcdir)/configure $(srcdir)/config.h.in
588
$(srcdir)/configure: $(srcdir)/configure.in
589
cd $(srcdir) && autoconf
591
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
592
$(srcdir)/stamp-h.in: $(srcdir)/configure.in
593
cd $(srcdir) && autoheader
594
@echo timestamp > $(srcdir)/stamp-h.in
601
TCH=tc.h tc.const.h tc.decls.h tc.os.h tc.sig.h
602
SHH=sh.h sh.types.h sh.char.h sh.err.h sh.dir.h sh.proc.h pathnames.h \
608
EDINC=sh.${SUF} sh.func.${SUF} sh.lex.${SUF} sh.print.${SUF} sh.proc.${SUF} \
609
sh.set.${SUF} tc.bind.${SUF} tc.os.${SUF} tc.prompt.${SUF} \
610
tc.sched.${SUF} tw.parse.${SUF} tw.color.${SUF}
611
${EDOBJS} ${EDINC} : ${EDH}
614
${OBJS}: config.h ${SHH}
617
TWINC=ed.chared.${SUF} ed.inputl.${SUF} sh.exec.${SUF} sh.func.${SUF} \
618
sh.set.${SUF} tc.func.${SUF} tw.color.${SUF}
619
${TWOBJS} ${TWINC}: ${TWH}
622
glob.${SUF} sh.glob.${SUF}: glob.h
625
EDDINC=tc.bind.${SUF} tc.func.${SUF} tc.os.${SUF}
626
${EDOBJS} ${EDDINC}: ed.defns.h
629
tc.defs.${SUF}: tc.defs.c sh.h
632
@echo "No depends target for qtcsh yet"