1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<$PLAN9/src/mkhdr TARG=auxstats OFILES=\ $SYSNAME.$O\ main.$O\ HFILES=\ dat.h\ SHORTLIB=bio 9 <$PLAN9/src/mkone KVM=`{if uname |egrep 'BSD|Darwin' >/dev/null; then echo -lkvm; fi} LDFLAGS=$LDFLAGS $KVM