# # This is the UMIST super-makefile for ded (see also ded.make). # It has been corrected to be consistent with ded.make and to allow # easier configuration for different sites. # To make a new ded on your own machine, edit this file so that # the SITE, VERSION and DRIVER entries below are correct:- SITE=UMIST VERSION=7 DRIVER=UMV # then: # make ded # make install # # Note SITE denotes the site definition file to be used. # Version should be 6 or 7 (7 used for vax as well). # DRIVER should be QMC for the QMC V6 or V7 tty drivers # H_W for the EUUG (Herriot-Watt) V7 driver # UMV for the UMIST paging vax driver # For BELL or Berkeley drivers, it may be left blank. # # This makefile requires the augmented version of make (system III,V ...) CFILES = alloc.c break.c change.c comm.c cursor.c dedprintf.c diag.c dlog.c\ draw.c editfile.c find.c global.c insert.c iocomm.c iofile.c join.c main.c\ mainloop.c map.c match.c range.c re.c rowcol.c scroll.c shuffile.c split.c\ str.c ter.c tmpfile.c tty.c unix.c word.c dedsel.c LIBFILES = clrh0.c clrh1.c clrs0.c clrs1.c clrt0.c clrt1.c delc0.c delc1.c\ delc2.c dbug3.c dbug2.c dbug0.c dbug1.c insc0.c insc1.c insc2.c join0.c\ join1.c join2.c join3.c join4.c scr0.c scr1.c scr2.c scr3.c split0.c\ split1.c split2.c split3.c split4.c ttyback.c HFILES = char.h ded.h file.h jmp.h lines.h match.h range.h signal.h ter.h \ tty.h DEFFILES = chars.def def.template QMC.def UCL.def INMOS.def BIRKBECK.def \ LOGICA.def CC.def UMIST.def UMISTc.def UMISTv.def UMISTh.def UMISTt.def \ COMPU.def BRISTOL.def UMISTchars.def \ itt.def qmc1510.def txtter.def hazeltine.def newbury.def systime.def \ tvi920.def tec630.def vt100.def vt52.def dt22.def cifer.def \ UMISThazel.def UMISTnewb.def tek4023.def sjs.def SOURCEFILES = $(HFILES) $(CFILES) $(LIBFILES) $(DEFFILES) WRAPFILES = $(SOURCEFILES) makefile ded.make ../CHANGES \ ../manuals/ded.1 ../manuals/ded.summary all: @if vax; \ then $(MAKE) vaxded; \ else $(MAKE) ded; \ fi dedlint: $(SOURCEFILES) cp $(SITE).def SITE.def lint -DV$(VERSION) -D$(SITE) -D$(DRIVER)DRIVER -DDBUG -DINTCOMP\ $(CFILES) $(LIBFILES) | tee v$(VERSION)lint touch dedlint dedprint: $(SOURCEFILES) makefile ded.make ../CHANGES pr $? | pr -2 -t -w217 | la120 -h16 touch dedprint ded: . $(MAKE) -f ded.make $(SITE)DED VERSION=$(VERSION)\ SITE=$(SITE) DRIVER=$(DRIVER) rm -f ded ln $(SITE)DED ded debug: . $(MAKE) -f ded.debug $(SITE)DED VERSION=$(VERSION)\ SITE=$(SITE) DRIVER=$(DRIVER) rm -f ded ln $(SITE)DED ded # normal install sequence for big machine! install: strip ded mv /bin/ded /bin/ded.old mv ded /bin/ded chmod 1755 /bin/ded clean: rm *.o