diff options
Diffstat (limited to 'dviware/beebe/src/tops20/makefile.kcc')
-rw-r--r-- | dviware/beebe/src/tops20/makefile.kcc | 470 |
1 files changed, 470 insertions, 0 deletions
diff --git a/dviware/beebe/src/tops20/makefile.kcc b/dviware/beebe/src/tops20/makefile.kcc new file mode 100644 index 0000000000..48fcecf6c9 --- /dev/null +++ b/dviware/beebe/src/tops20/makefile.kcc @@ -0,0 +1,470 @@ +# Makefile for files in <.TEX.DVI> using TOPS-20 MAKE and KCC compiler +# +# Current target list: +# all clean +# 00arit dvialw dvibit dvican dvie72 dvieps dvigd dviimp +# dvijep dvijet dvil3p dvil75 dvim72 dvimac dvimpi dvio72 +# dvioki dviPGM dviprx dvitos keytst lptops lw78 texidx +# tosprx xxu +# +# [21-Oct-87] -- added dvie72 and dvieps +# [22-Sep-87] -- added generic target dviPGM (say "make PGM=foo" to build +# dvifoo); add XCFLAGS to allow extra compile-time options +# without having to respecify the long path variables +# [15-Apr-87] -- rebuilt dependency lists using "awk -f include.awk *.c" +# [08-Jul-87] + +# Want large version of the compiler +CC = KCCX + +# extra CFLAGS +XCFLAGS = + +CFLAGS = -DKCC_20 -DOS_TOPS20 $(XCFLAGS) + +# Need liblcl to get jfnof() for dvibit +LFLAGS = -llcl + +# Object and executable file extensions + +O = .rel + +X = .exe + +DVIHEAD = dvihead.h machdefs.h typedefs.h + +MAIN = main.h commands.h gendefs.h gblprocs.h gblvars.h + +# Targets + +all: dvialw dvibit dvican dvie72 dvieps dvigd dviimp dvijep\ + dvijet dvil3p dvil75 dvim72 dvimac dvimpi dvio72 dvioki\ + dviprx dvitos keytst lptops lw78 texidx tosprx + +clean: + delete *$(O) + delete *$(X) + +00arit: 00arit$(X) + +dvialw: dvialw$(X) + +dvibit: dvibit$(X) + +dvican: dvican$(X) + +dvie72: dvie72$(X) + +dvieps: dvieps$(X) + +dvigd: dvigd$(X) + +dviimp: dviimp$(X) + +dvijep: dvijep$(X) + +dvijet: dvijet$(X) + +dvil3p: dvil3p$(X) + +dvil75: dvil75$(X) + +dvim72: dvim72$(X) + +dvimac: dvimac$(X) + +dvimpi: dvimpi$(X) + +dvio72: dvio72$(X) + +dvioki: dvioki$(X) + +dvi$(PGM): dvi$(PGM)$(X) + +dviprx: dviprx$(X) + +dvitos: dvitos$(X) + +keytst: keytst$(X) + +lptops: lptops$(X) + +lw78: lw78$(X) + +texidx: texidx$(X) + +tosprx: tosprx$(X) + +# ====================================================================== +# Dependency lists and rules + +00arit$(X): + $(RM) 00arit$(O) + $(RM) 00arit$(X) + $(CC) -DSIZE=short $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS) + 00arit$(X) + $(RM) 00arit$(O) + $(RM) 00arit$(X) + $(CC) -DSIZE=int $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS) + 00arit$(X) + $(RM) 00arit$(O) + $(RM) 00arit$(X) + $(CC) -DSIZE=long $(CFLAGS) 00arit$(C) -o 00arit$(X) $(LFLAGS) + 00arit$(X) + $(RM) 00arit$(O) + $(RM) 00arit$(X) + +dvialw$(X): dvialw$(O) cuseri$(O) + $(CC) $(CFLAGS) dvialw$(O) cuseri$(O) -o dvialw$(X) $(LFLAGS) + +dvibit$(X): dvibit$(O) keybrd$(O) + $(CC) $(CFLAGS) dvibit$(O) keybrd$(O) -o dvibit$(X) $(LFLAGS) + +dvican$(X): dvican$(O) + $(CC) $(CFLAGS) dvican$(O) -o dvican$(X) $(LFLAGS) + +dvie72$(X): dvie72$(O) + $(CC) $(CFLAGS) dvie72$(O) -o dvie72$(X) $(LFLAGS) + +dvieps$(X): dvieps$(O) + $(CC) $(CFLAGS) dvieps$(O) -o dvieps$(X) $(LFLAGS) + +dvigd$(X): dvigd$(O) + $(CC) $(CFLAGS) dvigd$(O) -o dvigd$(X) $(LFLAGS) + +dviimp$(X): dviimp$(O) + $(CC) $(CFLAGS) dviimp$(O) -o dviimp$(X) $(LFLAGS) + +dvijep$(X): dvijep$(O) + $(CC) $(CFLAGS) dvijep$(O) -o dvijep$(X) $(LFLAGS) + +dvijet$(X): dvijet$(O) + $(CC) $(CFLAGS) dvijet$(O) -o dvijet$(X) $(LFLAGS) + +dvil3p$(X): dvil3p$(O) + $(CC) $(CFLAGS) dvil3p$(O) -o dvil3p$(X) $(LFLAGS) + +dvil75$(X): dvil75$(O) + $(CC) $(CFLAGS) dvil75$(O) -o dvil75$(X) $(LFLAGS) + +dvim72$(X): dvim72$(O) + $(CC) $(CFLAGS) dvim72$(O) -o dvim72$(X) $(LFLAGS) + +dvimac$(X): dvimac$(O) + $(CC) $(CFLAGS) dvimac$(O) -o dvimac$(X) $(LFLAGS) + +dvimpi$(X): dvimpi$(O) + $(CC) $(CFLAGS) dvimpi$(O) -o dvimpi$(X) $(LFLAGS) + +dvio72$(X): dvio72$(O) + $(CC) $(CFLAGS) dvio72$(O) -o dvio72$(X) $(LFLAGS) + +dvioki$(X): dvioki$(O) + $(CC) $(CFLAGS) dvioki$(O) -o dvioki$(X) $(LFLAGS) + +dvi$(PGM)$(X): dvi$(PGM)$(O) cuseri$(O) + $(CC) $(CFLAGS) dvi$(PGM)$(O) cuseri$(O) \ + -o dvi$(PGM)$(X) $(LFLAGS) + +dviprx$(X): dviprx$(O) + $(CC) $(CFLAGS) dviprx$(O) -o dviprx$(X) $(LFLAGS) + +dvitos$(X): dvitos$(O) + $(CC) $(CFLAGS) dvitos$(O) -o dvitos$(X) $(LFLAGS) + +keytst$(X): keytst$(O) keybrd$(O) + $(CC) $(CFLAGS) keytst$(O) keybrd$(O) -o keytst$(X) $(LFLAGS) + +lptops$(X): lptops$(O) cuseri$(O) + $(CC) $(CFLAGS) lptops$(O) cuseri$(O) -o lptops$(X) $(LFLAGS) + +lw78$(X): lw78$(O) + $(CC) $(CFLAGS) lw78$(O) -o lw78$(X) $(LFLAGS) + +texidx$(X): texidx$(O) + $(CC) $(CFLAGS) texidx$(O) -o texidx$(X) $(LFLAGS) + +tosprx$(X): tosprx$(O) zrmkcc$(O) + $(CC) $(CFLAGS) tosprx$(O) zrmkcc$(O) -o tosprx$(X) $(LFLAGS) + +# Object file dependencies + +dvialw$(O): dvialw.c\ + $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\ + chargf.h charpk.h charpxl.h clrrow.h dbgopen.h dvifile.h\ + dviinit.h dviterm.h f20open.h fatal.h findpost.h\ + fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h movedown.h moveover.h\ + moveto.h nosignex.h openfont.h option.h prtpage.h\ + readfont.h readgf.h readpk.h readpost.h readpxl.h\ + reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\ + skgfspec.h skipfont.h skpkspec.h strchr.h strcm2.h\ + strid2.h strrchr.h tctos.h usage.h warning.h + + +dvibit$(O): dvibit.c\ + $(DVIHEAD) keydef.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h\ + clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h findpost.h fixpos.h fontfile.h\ + fontsub.h getbytes.h getfntdf.h getpgtab.h inch.h\ + initglob.h movedown.h moveover.h moveto.h nosignex.h\ + openfont.h option.h prtpage.h readfont.h readgf.h\ + readpk.h readpost.h readpxl.h reldfont.h rulepxl.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvican$(O): dvican.c\ + $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\ + chargf.h charpk.h charpxl.h clrrow.h dbgopen.h dvifile.h\ + dviinit.h dviterm.h f20open.h fatal.h findpost.h\ + fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h movedown.h moveover.h\ + moveto.h nosignex.h openfont.h option.h prtpage.h\ + readfont.h readgf.h readpk.h readpost.h readpxl.h\ + reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\ + skgfspec.h skipfont.h skpkspec.h special.h strchr.h\ + strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h + + +dvie72$(O): dvie72.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h initglob.h inch.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvieps$(O): dvieps.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h initglob.h inch.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvigd$(O): dvigd.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h initglob.h inch.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dviimp$(O): dviimp.c\ + $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\ + chargf.h charpk.h charpxl.h clrrow.h dbgopen.h dvifile.h\ + dviinit.h dviterm.h f20open.h fatal.h findpost.h\ + fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h movedown.h moveover.h\ + moveto.h nosignex.h openfont.h option.h prtpage.h\ + readfont.h readgf.h readpk.h readpost.h readpxl.h\ + reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\ + skgfspec.h skipfont.h skpkspec.h special.h strchr.h\ + strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h + + +dvijep$(O): dvijep.c\ + $(DVIHEAD) $(MAIN) abortrun.h actfact.h alldone.h\ + chargf.h charpk.h charpxl.h clrrow.h dbgopen.h dvifile.h\ + dviinit.h dviterm.h f20open.h fatal.h findpost.h\ + fixpos.h fontfile.h fontsub.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h movedown.h moveover.h\ + moveto.h nosignex.h openfont.h option.h prtpage.h\ + readfont.h readgf.h readpk.h readpost.h readpxl.h\ + reldfont.h rulepxl.h setfntnm.h setrule.h signex.h\ + skgfspec.h skipfont.h skpkspec.h special.h strchr.h\ + strcm2.h strid2.h strrchr.h tctos.h usage.h warning.h + + +dvijet$(O): dvijet.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dbgopen.h dvifile.h dviinit.h dviterm.h dispchar.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h initglob.h inch.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvil3p$(O): dvil3p.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvil75$(O): dvil75.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvim72$(O): dvim72.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvimac$(O): dvimac.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvimpi$(O): dvimpi.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvio72$(O): dvio72.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvioki$(O): dvioki.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +# Generic target (useful for debugging test versions) +dvi$(PGM)$(O): dvi$(PGM).c $(HFILES) + + +dviprx$(O): dviprx.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +dvitos$(O): dvitos.c\ + $(DVIHEAD) bitmap.h $(MAIN) abortrun.h actfact.h\ + alldone.h chargf.h charpk.h charpxl.h clrbmap.h\ + clrrow.h dispchar.h dbgopen.h dvifile.h dviinit.h dviterm.h\ + f20open.h fatal.h fillrect.h findpost.h fixpos.h\ + fontfile.h fontsub.h getbmap.h getbytes.h getfntdf.h\ + getpgtab.h inch.h initglob.h loadchar.h movedown.h\ + moveover.h moveto.h nosignex.h openfont.h option.h\ + outrow.h prtpage.h readfont.h readgf.h readpk.h\ + readpost.h readpxl.h reldfont.h rulepxl.h setchar.h\ + setfntnm.h setrule.h signex.h skgfspec.h skipfont.h\ + skpkspec.h special.h strchr.h strcm2.h strid2.h\ + strrchr.h tctos.h usage.h warning.h + + +keybrd$(O): keybrd.c\ + keydef.h + + +keytst$(O): keytst.c\ + keydef.h + + +lptops$(O): lptops.c\ + inch.h strcm2.h + + +tosprx$(O): tosprx.c\ + machdefs.h typedefs.h gendefs.h gblprocs.h clrbmap.h |