fixabslinks 1.43 KB
#!/bin/sh
#
# This script patchs the absolute symbolic links in the original SGI source
# tree. Absolute symbolics are terrible (eg. /mdev2/../..) because they are
# not portable.
#
# These are the "not found" errors generated by mvlinks.
#
# $1 = Destination tree root
#

cd $1/apps/rdpatt_hw

ln -s ../rdpcov_hw/cfb.c,v .
ln -s ../rdpcov_hw/controller.c,v .
ln -s ../rdpcov_hw/controller.h,v .
ln -s ../rdpcov_hw/init.c,v .
ln -s ../rdpcov_hw/main.c,v .
ln -s ../rdpcov_hw/spec,v .
ln -s ../rdpcov_hw/spec_em,v .
ln -s ../rdpcov_hw/zbuffer.c,v .

cd $1/apps/rdpew_hw

ln -s ../rdpcov_hw/cfb.c,v .
ln -s ../rdpcov_hw/controller.c,v .
ln -s ../rdpcov_hw/controller.h,v .
ln -s ../rdpcov_hw/init.c,v .
ln -s ../rdpcov_hw/main.c,v .
ln -s ../rdpcov_hw/spec,v .
ln -s ../rdpcov_hw/spec_em,v .
ln -s ../rdpcov_hw/zbuffer.c,v .

cd $1/apps/rdpfb_hw
ln -s ../rdpcov_hw/controller.c,v .
ln -s ../rdpcov_hw/controller.h,v .

cd $1/apps/rdpms_hw

ln -s ../rdpcov_hw/cfb.c,v .
ln -s ../rdpcov_hw/controller.c,v .
ln -s ../rdpcov_hw/controller.h,v .
ln -s ../rdpcov_hw/init.c,v .
ln -s ../rdpcov_hw/main.c,v .
ln -s ../rdpcov_hw/spec,v .
ln -s ../rdpcov_hw/spec_em,v .
ln -s ../rdpcov_hw/zbuffer.c,v .

cd $1/apps/rdptex_hw

ln -s ../rdpcov_hw/cfb.c,v .
ln -s ../rdpcov_hw/controller.c,v .
ln -s ../rdpcov_hw/controller.h,v .
ln -s ../rdpcov_hw/init.c,v .
ln -s ../rdpcov_hw/main.c,v .
ln -s ../rdpcov_hw/spec,v .
ln -s ../rdpcov_hw/spec_em,v .
ln -s ../rdpcov_hw/zbuffer.c,v .