all clean install: version_check make -C driver $@ make -C utils $@ make -C test $@ version_check: @UNAME=`uname -r | sed 's/-.*//' | cut -d . -f 1-3`; \ if [ $$UNAME '>' "2.6.15" ]; then \ echo ivtv-0.4.x does NOT support kernels '>' 2.6.15! ; \ echo See www.ivtvdriver.org for more information. ; \ false; \ elif [ $$UNAME == "2.6.15" -a -e /etc/redhat-release ]; then \ if grep Bordeaux /etc/redhat-release; then \ echo ivtv-0.4.x does NOT support kernels '>' 2.6.15! ; \ echo Even though FC5 says it has a 2.6.15 kernel, it really ; \ echo is a 2.6.16-rc6 kernel, and that is not supported by ivtv. ; \ echo See www.ivtvdriver.org for more information. ; \ false; \ else \ true; \ fi; \ else \ true; \ fi