|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T f
Length: 8212 (0x2014)
Types: TextFile
Names: »fix6«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec1/ditroff-fix/fix6«
This is just the makefile. But none the less important for all that.
I would have liked to have enclosed some helpful documentation, but it wasn't
possible. Sorry. There is no point asking for some, as I won't be able to
give you any.
The stuff was tested on VAX/4.1bsd with local mods. There are superficial
fixes for BSD 4.2; there should be no moredifficulty porting this version to
Sys V than any other version...
Russell
#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
# makefile
# This archive created: Thu Nov 20 21:50:15 1986
export PATH; PATH=/bin:$PATH
echo shar: extracting "'makefile'" '(6588 characters)'
if test -f 'makefile'
then
echo shar: will not over-write existing file "'makefile'"
else
sed 's/^X//' << \SHAR_EOF > 'makefile'
XDESTDIR=$R/usr/bin
XSEPID=
XOPT=-O
XHACKS=-DENVIRONMENT -DDESCHASNAME -DPAPERSIZEREG -DLOCALWARN -DRIBSFIX\
X-DCHECKNFONTS -DMOREPREFONTS -DMOVEAFTERDRAW -DMAKEDEVITDEF \
X-UUSEDOTFORTMPIFA -DZEROLINES -DTOOLATEFIX -DREPORTERRS -DWARNLEVELREG\
X-DLINENUMFIX -DPROTECTBUILTINS -DEVREG -DLOTSOFENVS -DROTATEPAGE -DUSEFONTPATH\
X-DFONTFAMILIES -DNOOPTARGFIX -UANYBASESTR -DDXLIM=200 -DGREMLIN -DBLANKSMACRO \
X-DBUILTINCONTROLFIX -DLONGOVFIX -DALIGNFIXES -UBSD42 -DTCHARTOS -DNHEX=256\
X-DSKIPFIX -DTESTFILES
X# additional flags for Makedev
XMAKEDEVHACKS=-DCHECKDESCFILES
X# -DCOMMENT ------- various comments added by req. No code difference.
X# -DENVIRONMENT --- look at "TYPESETTER" for -Txxx - req
X# -DDESCHASNAME --- DESC.out contains the name of the typesetter - req
X# -DPAPERSIZEREG -- read-only registers .W and .M for paper width/length - req
X# -DLOCALWARN ----- warn if local features are used - req
X# -DRIBSFIX ------- R, I, B, S, X are the same as 1, 2, 3, smnt, 4 resp. --
X# ('X' is Bold Italic) - req
X# -DCHECKNFONTS --- check the number of pre-loaded fonts before loading them,
X# instead of simply core-dumping if there were too many...
X# -DMOREPREFONTS -- allow more than 10 preloaded fonts. It's a good idea to
X# set CHECKNFONTS with this too, as NFONTS is defined in lots of places...
X# -DMOVEAFTERDRAW - put out a move function after a DRAW (from \D) command.
X# This is because the various filters seem to disagree about where we should
X# end up after drawing a spline or line or... - req
X# -DMAKEDEVITDEF -- Makedev includes tdef.h to ensure synchronisation of magic
X# numbers... - req
X# -UUSEDOTFORTMPIFA --- as distributed, if troff's name begins with "a", it
X# uses the current directory for tmp files (presumably for testing). - req
X# -DZEROLINES ----- cope with \l'3i x' where x is a zero-width character - req
X# -DREPORTERRS ---- give more helpful (and complete) error messages - req
X# -DTOOLATEFIX ---- don't let integer overflow in total # chars o/p cause
X# the tty flags to be corrupted (!) - req
X# -DWARNLEVELREG -- use a troff number register (wl) to store the warning level
X# for warnings about local features. Then it can be turned on/off from within
X# troff (without producing a warning!) - req
X# -DPROTECTBUILTINS --- give a warning message if a built-in request is
X# changed (eg. ".de rm" or ".rm rm"). There doesn't seem any advantage in
X# actually forbidding this.
X# -DEVREG --------- The .e read-only number register = current environment #
X# -DLOTSOFENVS ---- allow more (currently 7) environments
X# -DROTATEPAGE ---- add .rp n to rotate the page through 90 degrees
X# -DUSEFONTPATH --- fontfile is a colon-delimited path (eg. with -F option)
X# -DFONTFAMILIES -- allow ".ff font-family"
X# -DNOOPTARGFIX --- fix "troff -F" etc. (need an argument, but wasn't checked)
X# -DDXLIM=200 ----- limit for number of pairs of points in \D'~ x y ...' (was
X# wired in as 50) - req
X# -DGREMLIN ------- allow ucb gremlin features
X# -DANYBASESTR ---- allow arbitrary baseline strings (not finished yet)
X# -DCOLOUR -------- allow colour to be specified (not done yet)
X# -DBLANKSMACRO --- allow user-defined request called on leading whitespace
X# -DBUILTINCONTROLFIX - control() calls built-ins as well as others for
X# .em or .bm -- req
X# -DLONGOVFIX ----- produce a warning if \o'xxxxxx' overflows the buffer
X# (instead of dumping core)
X# -DALIGNFIXES ---- fixes to make troff slightly more careful about pointer
X# alignment & sizeof()... - req
X# -UBSD42 --------- op sys is Berkeley 4.2BSD. Most fixes taken from 4.2bsd
X# troff and compared by hand. This might well not be good enough. - req
X# -DTCHARTOS ------ use tchartos() to provide a printable representation of
X# a tchar. One day this should clearly be combined with the output routines
X# of t10.c -- req.
X# -DSKIPFIX ------- make skip() passe over tabs as well as spaces -- req
X# -DTESTFILES ----- allow ".if r file" (true if can read file)
X#
XFBASE=$R/usr/lib/troff/descs
XCFLAGS=$(OPT) -g -DFONTFILE=\"$(FBASE)\" -DFONTPATH=\"$(FBASE)/dev%s\" $(HACKS)
XCC=cc
XMAKE=make
XCLEAN=clean
X
XCFILES=n1.c n2.c n3.c n4.c n5.c t6.c n7.c n8.c n9.c t10.c ni.c nii.c hytab.c suftab.c local.c
XHFILES=tdef.h v.h d.h s.h tw.h dev.h
XTFILES=n1.o n2.o n3.o n4.o n5.o t6.o n7.o n8.o n9.o t10.o ni.o nii.o hytab.o suftab.o local.o
XDRIVERS=daps dva dcat d202 dcan d8400 dxerox
X
Xall: titroff makedev $(DRIVERS)
X
Xtitroff: $(TFILES)
X $(CC) -o titroff $(TFILES)
X
Xinstall: all
X -strip titroff
X cp titroff makedev $R/usr/bin
X cp $R/usr/bin/titroff $R/usr/bin/ditroff
X -tar fc - dev* | (cd $R/usr/lib/troff/descs; tar fxv -)
X cp $(DRIVERS) $R/usr/lib/troff/drivers
X $(MAKE) $(CLEAN)
X
Xlocal.o: ext.h local.h tdef.h
Xn1.o: tdef.h d.h v.h tw.h s.h local.h
Xn2.o: tdef.h d.h v.h tw.h s.h
Xn3.o: tdef.h d.h v.h tw.h s.h
Xn4.o: tdef.h d.h v.h tw.h s.h dev.h
Xn5.o: tdef.h d.h v.h tw.h s.h
Xn6.o: tdef.h d.h v.h tw.h s.h
Xt6.o: tdef.h d.h v.h tw.h s.h dev.h
Xn7.o: tdef.h d.h v.h tw.h s.h
Xn8.o: tdef.h d.h v.h tw.h s.h
Xn9.o: tdef.h d.h v.h tw.h s.h
Xn10.o: tdef.h d.h v.h tw.h s.h
Xt10.o: tdef.h d.h v.h tw.h s.h dev.h
Xni.o: tdef.h d.h v.h tw.h s.h
Xnii.o: tdef.h d.h v.h tw.h s.h local.h
X
Xhytab.o: hytab.c
X
Xsuftab.o: suftab.c
X
X
Xlist:
X @pr TODO n[1-6].c t6.c n[7-9].c [nt]10.c ni.c nii.c *.h
X
Xlint:
X lint -phc $(CFILES)
X
Xlib: titroff
X cp titroff $R/usr/bin/titroff
X
Xdxerox: dxerox.c
X $(CC) $(CFLAGS) -o dxerox dxerox.c -lm
X
Xdva.o: dva.c
X $(CC) $(CFLAGS) -c -DDEBUG dva.c -lm
X
Xdva: dva.o draw.o dev.h
X $(CC) $(CFLAGS) -o dva dva.o draw.o -lm
X
Xdcat: dcat.o draw.o dev.h
X $(CC) $(CFLAGS) -o dcat dcat.o draw.o -lm
X
Xd202: d202.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o d202 d202.o draw.o -lm
X
Xd8400: d8400.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o d8400 d8400.o draw.o -lm
X
Xjc: jc.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o jc jc.o draw.o -lm
X
Xdcan: dcan.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o dcan dcan.o draw.o -lm
X
Xdsort: dsort.o dev.h
X $(CC) $(CFLAGS) -i -O -o dsort dsort.o
X
Xdaps: daps.o draw.o aps.h dev.h
X $(CC) $(CFLAGS) -o daps daps.o draw.o -lm
X
Xtc: tc.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o tc tc.o draw.o -lm
X
Xhc: hc.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o hc hc.o draw.o -lm
X
Xta: ta.o draw.o dev.h
X $(CC) $(CFLAGS) -O -o ta ta.o draw.o -lm
X
Xmakedev: makedev.c dev.h
X $(CC) $(MAKEDEVHACKS) $(CFLAGS) -o makedev makedev.c
X
Xdumpaps: dumpaps.c
X $(CC) $(CFLAGS) dumpaps.c -o dumpaps
X
Xsrc:
X cp makefile $(CFILES) $(HFILES) $R/usr1/src/cmd/troff
X
Xdriverlist:
X pr d202.c dev.h dva.c dcat.c daps.c makedev.c $R/usr/src/cmd/troff/tc.c
X
Xbackup:
X cp $R/usr/lib/troff.new $R/usr/lib/otroff.new
X
Xclean:
X rm -f titroff *.o a.out make.out core $(DRIVERS) makedev
SHAR_EOF
if test 6588 -ne "`wc -c < 'makefile'`"
then
echo shar: error transmitting "'makefile'" '(should have been 6588 characters)'
fi
fi # end of overwriting check
# End of shell archive
exit 0
--
ARPA req%uu.warwick.ac.uk@ucl-cs.arpa
EARN/BITNET req%UK.AC.WARWICK.UU@AC.UK
JANET req@uk.ac.warwick.uu
UUCP seismo!mcvax!ukc!warwick!req (req@warwick.UUCP)
PHONE +44 203 523485
For mail.frplist, use "frplist" instead of "req" in the above lines.
The BITNET path only works from sites that have AC.UK in their tables. Sorry.