#!/bin/sh

if [ "x${PORTOBJFORMAT}" = "xaout" ]; then
	cd ${WRKSRC}
	rm -f smi.S.elf
	mv -f smi.S smi.S.elf
	cat smi.S.elf | sed 's/smi/_smi/g' > smi.S.aout
	ln -s smi.S.aout smi.S
fi
