+ cp tpcopy ${DESTDIR}/tp/copy
+ cp tpboot ${DESTDIR}/tp/boot
+ cp boot copy ../floppy
+ cp bootup boothk boothp ${DESTDIR}/usr/mdec
+
+# beware...
+
+boothk.o: xxboot.c
+ cc -c -S ${COPTS} -DBOOTRK xxboot.c
+ /lib/c2 -i xxboot.s | as -o boothk.o
+ rm -f xxboot.s
+
+boothk: relsrt0.o boothk.o confrk.o
+ ld -N -T ${RELOC} relsrt0.o boothk.o confrk.o -lsa -lc
+ cp a.out b.out; strip b.out; dd if=b.out of=boothk ibs=32 skip=1; rm b.out
+
+boothp.o: xxboot.c
+ cc -c -S ${COPTS} -DBOOTHP xxboot.c
+ /lib/c2 -i xxboot.s | as -o boothp.o
+ rm -f xxboot.s
+
+boothp: relsrt0.o boothp.o confhp.o
+ ld -N -T ${RELOC} relsrt0.o boothp.o confhp.o -lsa -lc
+ cp a.out b.out; strip b.out; dd if=b.out of=boothp ibs=32 skip=1; rm b.out
+
+bootup.o: xxboot.c
+ cc -c -S ${COPTS} -DBOOTUP xxboot.c
+ /lib/c2 -i xxboot.s | as -o bootup.o
+ /lib/c2 -i xxboot.s | as -o upboot.o
+ rm -f xxboot.s
+
+bootup: relsrt0.o bootup.o confup.o
+ ld -N -T ${RELOC} relsrt0.o bootup.o confup.o -lsa -lc
+ cp a.out b.out; strip b.out; dd if=b.out of=bootup ibs=32 skip=1; rm b.out
+
+boothp.o: xxboot.c ../h/param.h ../h/inode.h ../h/pte.h ../h/reboot.h
+boothp.o: ../h/fs.h saio.h
+boothk.o: xxboot.c ../h/param.h ../h/inode.h ../h/pte.h ../h/reboot.h
+boothk.o: ../h/fs.h saio.h
+bootup.o: xxboot.c ../h/param.h ../h/inode.h ../h/pte.h ../h/reboot.h
+
+confrk.o: confrk.c ../h/param.h ../h/fs.h ../h/pte.h ../h/inode.h saio.h
+ $(CC) -c $(CFLAGS) confrk.c
+confhp.o: confhp.c ../h/param.h ../h/fs.h ../h/pte.h ../h/inode.h saio.h
+ $(CC) -c $(CFLAGS) confhp.c
+confup.o: confup.c ../h/param.h ../h/fs.h ../h/pte.h ../h/inode.h saio.h
+ $(CC) -c $(CFLAGS) confup.c
+
+confrk.c: confxx.c
+ sed -e 's/XX/hk/' -e 's/xx/rk/g' <confxx.c >confrk.c
+confhp.c: confxx.c
+ sed -e 's/XX/hp/' -e 's/xx/hp/g' <confxx.c >confhp.c
+confup.c: confxx.c
+ sed -e 's/XX/up/' -e 's/xx/up/g' <confxx.c >confup.c