|
|
Power 6/32 Unix version 1.2b
#
# HDRS included files
#
# SRCS source files
#
MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
HDRS1 = prvreg.h psl.h pte.h pcboffset.h const.h scboffset.h \
sptoffset.h trap.h
LD_FLG = -T 0
.SUFFIXES:
.SUFFIXES: .x .s .o .c .lst
.x.o:
cat INCLUDE $*.x | sed 's/^#\([^id]\)/ #\1/' | /lib/cpp >temp.s
${AS} -o $*.o temp.s
rm temp.s
.s.o:
cat INCLUDE $*.s | /ua/usr/bin/${AS} -o $*.o
.c.o:
${CC} -c $*.c
TESTS = init.o cp.o bio.o trap.o monitor.o test1.o test2.o test3.o \
test4.o test5.o test6.o error.o locate.o
all : memtst.sp
install: all
install -c memtst.sp ${DESTDIR}/d/memtst
object : memtst.st memtst.sp
memtst.st : $(TESTS)
ld -N -x -o memtst.st $(TESTS)
memtst.sp : memtst.st
cp memtst.st $$memtst.st
strip $$memtst.st
dd if=$$memtst.st of=memtst.sp skip=1 bs=2080
rm -f $$memtst.st
clean :
rm -f *.o *.sp *.st
cleansrc:
rm -f *.[cshx] *.def comt definitions INCLUDE
depend:
grep '^#include' *.[cs] | grep -v '<' | \
sed 's/:[^"]*"\([^"]*\)".*/: \1/' | \
sed 's/\.c/.o/' | \
awk ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
else rec = rec " " $$2 } } \
END { print rec } ' > makedep
echo '/^# DO NOT DELETE THIS LINE/+1,$$d' >eddep
echo '$$r makedep' >>eddep
echo 'w' >>eddep
cp makefile makefile.bak
ed - makefile < eddep
rm -f eddep makedep
# DO NOT DELETE THIS LINE -- make depend uses it
dmemtst.o: ../h/param.h ../h/systm.h ../h/seg.h ../h/buf.h ../h/conf.h
dmemtst.o: ../h/mtpr.h ../h/reboot.h ../h/vm.h ../h/msgbuf.h ../h/dir.h
dmemtst.o: ../h/user.h ../h/tty.h ../h/param.h ../h/conf.h ../h/dir.h
dmemtst.o: ../h/user.h ../h/tty.h ../h/systm.h ../h/cons.h ../h/mtpr.h ../h/mx.h
dmemtst.o: ../h/cpu.h ../h/param.h ../h/systm.h ../h/dir.h ../h/user.h
dmemtst.o: ../h/map.h ../h/reg.h ../h/mtpr.h ../h/clock.h ../h/pte.h ../h/vm.h
dmemtst.o: ../h/proc.h ../h/psl.h ../h/buf.h ../h/ubavar.h ../h/ubareg.h
dmemtst.o: ../h/cons.h ../h/reboot.h ../h/conf.h ../h/mem.h ../h/cpu.h
dmemtst.o: ../h/inode.h ../h/file.h ../h/text.h ../h/clist.h ../h/callout.h
dmemtst.o: ../h/cmap.h ../h/rpb.h ../h/param.h ../h/systm.h ../h/dir.h
dmemtst.o: ../h/user.h ../h/proc.h ../h/reg.h ../h/seg.h ../h/trap.h ../h/psl.h
dmemtst.o: ../h/pte.h ../h/inline.h ../h/mtpr.h
vinit.o: /va/accts/ngo/evt/h/prvreg.h /va/accts/ngo/evt/h/psl.h
vinit.o: /va/accts/ngo/evt/h/pte.h /va/accts/ngo/evt/h/pcboffset.h
vinit.o: /va/accts/ngo/evt/h/const.h /va/accts/ngo/evt/h/scboffset.h
vinit.o: /va/accts/ngo/evt/h/sptoffset.h /va/accts/ngo/evt/h/trap.h pstorage.s
vinit.o: scblock.s evthandlers.s
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.