1############################################################################### 2# 3# File: PXU:Makefile 4# Description: Makefile for psl sun4 specific utilities directory. 5# Author: Harold Carr and Leigh Stoller. 6# Created: 08-Oct-86 7# Modified: 8# Mode: Text 9# Package: 10# Status: 11# 12# (c) Copyright 1986, University of Utah, all rights reserved. 13# 14############################################################################### 15 16PROOT = /Users/winfried/psl 17 18PSL = $(PROOT)/dist 19PSYS = $(PROOT)/bin 20PK = $(PSL)/kernel 21PXK = $(PK)/$(MACHINE) 22PNK = $(PSL)/nonkernel 23PXNK = $(PNK)/$(MACHINE) 24PNKL = $(PSL)/nonkernel/$(MACHINE)/lap 25PC = $(PSL)/comp 26PXC = $(PC)/$(MACHINE) 27PU = $(PSL)/util 28PXU = $(PU)/$(MACHINE) 29PDIST = $(PSL)/distrib 30PXDIST = $(PDIST)/$(MACHINE) 31PL = $(PSL)/lap/$(MACHINE) 32 33all: \ 34 $(PL)/disassemble.b $(PL)/get-options.b \ 35 $(PL)/qualified-counting.b $(PL)/qualified-timing.b \ 36 $(PL)/helferlein.b $(PL)/spy.b $(PL)/symget.b \ 37 $(PL)/nbig30.b $(PL)/nbig30a.b $(PL)/mbarith.b $(PL)/double.b \ 38 $(PL)/fc-indirect.b $(PL)/oload.b $(PL)/l2cdatacon.b \ 39 $(PL)/quotx30.b 40#$(PL)/c2l.o \ 41 42 43# MODEL should be either AREGMODEL for 3.2 or DREGMODEL for 3.4. 44MODEL = DREGMODEL 45 46$(PL)/c2l.o: $(PXU)/c2l.c 47 $(CC) -D$(MODEL) -D$(MACHINE) -S c2l.c 48 sed 's/_SYM/SYM/g' c2l.s > c2ltemp.s 49 rm -f c2l.s 50 as c2ltemp.s -o $(PL)/c2l.o 51 rm -f c2ltemp.s 52 53$(PL)/disassemble.b: $(PXU)/disassemble.sl 54 $(PDIST)/make-lap $(PXU) disassemble 55 56$(PL)/qualified-counting.b: $(PXU)/qualified-counting.sl 57 $(PDIST)/make-lap $(PXU) qualified-counting 58 59$(PL)/qualified-timing.b: $(PXU)/qualified-timing.sl 60 $(PDIST)/make-lap $(PXU) qualified-timing 61 62$(PL)/helferlein.b: $(PXU)/helferlein.sl $(PL)/if-system.b $(PL)/inum.b 63 $(PDIST)/make-lap $(PXU) helferlein 64 65$(PL)/spy.b: $(PXU)/spy.sl 66 $(PDIST)/make-lap $(PXU) spy 67 68$(PL)/symget.b: $(PXU)/symget.sl 69 $(PDIST)/make-lap $(PXU) symget 70 71$(PL)/fc-indirect.b: $(PXU)/fc-indirect.sl 72 $(PDIST)/make-lap $(PXU) fc-indirect 73 74$(PL)/get-options.b: $(PXU)/get-options.sl 75 $(PDIST)/make-lap $(PXU) get-options 76 77$(PL)/l2cdatacon.b: $(PXU)/l2cdatacon.sl 78 $(PDIST)/make-lap $(PXU) l2cdatacon 79 80$(PL)/oload.b: $(PXU)/oload.sl 81 $(PDIST)/make-lap $(PXU) oload 82 83$(PL)/nbig30.b: $(PXU)/nbig30.sl 84 $(PDIST)/make-lap $(PXU) nbig30 85 86$(PL)/nbig30a.b: $(PXU)/nbig30a.sl $(PL)/vfvect.b $(PL)/muls.b $(PL)/double.b \ 87 $(PL)/inum.b 88 $(PDIST)/make-lap $(PXU) nbig30a 89 90$(PL)/quotx30.b: $(PU)/quotx30.sl $(PL)/muls.b $(PL)/double.b 91 $(PDIST)/make-lap $(PU) quotx30 92 93 94$(PL)/double.b: $(PXU)/double.sl $(PL)/muls.b 95 $(PDIST)/make-lap $(PXU) double 96 97$(PL)/mbarith.b: $(PXU)/mbarith.sl $(PL)/muls.b 98 $(PDIST)/make-lap $(PXU) mbarith 99 100# 101 102$(PL)/if-system.b b: $(PU)/if-system.sl 103 (cd $(PU) ; make $(MFLAGS) MACHINE=$(MACHINE) $(PL)/if-system.b) 104 105$(PL)/inum.b: $(PU)/inum.sl 106 (cd $(PU) ; make $(MFLAGS) MACHINE=$(MACHINE) $(PL)/inum.b) 107 108$(PL)/syslisp.b: $(PU)/syslisp.sl 109 (cd $(PU) ; make $(MFLAGS) MACHINE=$(MACHINE) $(PL)/syslisp.b) 110 111$(PL)/vfvect.b: $(PXU)/vfvect.sl 112 $(PDIST)/make-lap $(PXU) vfvect 113 114$(PL)/muls.b: $(PXU)/muls.sl 115 $(PDIST)/make-lap $(PXU) muls 116 117# Nothing needs to be done, but it needs to be here to interact with the 118# top level Makefile. 119clean: 120 121