generalize uba code to handle Q bus more gracefully
[unix-history] / usr / src / sys / vax / mdec / Makefile
#
# Copyright (c) 1980, 1986 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# @(#)Makefile 7.1 (Berkeley) %G%
#
ALL= hkboot hpboot htboot mtboot noboot raboot rlboot \
upboot utboot tmboot tsboot tuboot \
httoggle mttoggle tmtoggle tstoggle uttoggle
all: ${ALL}
hkboot: hkboot.s
as hkboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=hkboot conv=sync
hpboot: hpboot.s
as hpboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=hpboot conv=sync
htboot: htboot.s
as htboot.s
nm -u a.out
strip a.out
dd if=a.out of=b.out bs=32 skip=1
dd if=b.out of=htboot conv=sync
mtboot: mtboot.s
as mtboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=mtboot conv=sync
raboot: raboot.s
as raboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=raboot conv=sync
rlboot: rlboot.s
as rlboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=rlboot conv=sync
tmboot: tmboot.s
as tmboot.s
nm -u a.out
strip a.out
dd if=a.out of=b.out bs=32 skip=1
dd if=b.out of=tmboot conv=sync
tsboot: tsboot.s
as tsboot.s
nm -u a.out
strip a.out
dd if=a.out of=b.out bs=32 skip=1
dd if=b.out of=tsboot conv=sync
upboot: upboot.s
as upboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=upboot conv=sync
tuboot: tuboot.s
as tuboot.s
nm -u a.out
strip a.out
dd if=a.out of=b.out bs=32 skip=1
dd if=b.out of=tuboot conv=sync
utboot: utboot.s
as utboot.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=b.out
dd if=b.out of=utboot conv=sync
httoggle: httoggle.s
as httoggle.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=httoggle
mttoggle: mttoggle.s
as mttoggle.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=mttoggle
tmtoggle: tmtoggle.s
as tmtoggle.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=tmtoggle
tstoggle: tstoggle.s
as tstoggle.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=tstoggle
uttoggle: uttoggle.s
as uttoggle.s
nm -u a.out
strip a.out
dd if=a.out bs=32 skip=1 of=uttoggle
noboot:
echo | dd of=noboot conv=sync
clean:
rm -f a.out b.out ${ALL}
install:
cp *boot ${DESTDIR}/usr/mdec
rm -f ${DESTDIR}/usr/mdec/mboot
ln ${DESTDIR}/usr/mdec/htboot ${DESTDIR}/usr/mdec/mboot
rm -f ${DESTDIR}/usr/mdec/uboot
ln ${DESTDIR}/usr/mdec/hpboot ${DESTDIR}/usr/mdec/uboot