
START_SCR = /etc/init.d/ncad

install:
	test -f /sbin/ncad || (  echo "/sbin/ncad must be installed first" && exit -1 ) 
	./fix_libs.pl
	install -m 0755 ncad.template $(START_SCR)
	@echo 
	@echo A start/stop script for ncad has been installed in $(START_SCR).
	@echo Please edit $(START_SCR) to set up your network settings and 
	@echo create an appropriate symlink to it from /etc/rcS.d/, e.g.:
	@echo   ln -s ../init.d/ncad /etc/rcS.d/S07ncad

