install: ntp.o VERSION=`uname -r` ; export PATH=/lib/modules/$$VERSION ; \ echo "installing ntp.o to $$PATH" ; \ test -d $$PATH || exit 1 ; \ /usr/bin/install -o root -g root -m 700 \ ntp.o $$PATH/ntp.o || exit 1 ; \ /bin/grep 'ntp.o' /etc/rc.d/boot.local > /dev/null && { \ echo "already installed in /etc/rc.d/boot.local?" ; \ exit 1; } ; \ echo "/sbin/insmod $$PATH/ntp.o" >> /etc/rc.d/boot.local ntp.o: ntp.c $(CC) -c ntp.c -o ntp.o @echo "do as root: insmod ntp.o" clean: rm -f ntp.o