+lint:
+ rm -f lint.out
+ for f in *.c; do \
+ echo "checking $$f ..."; \
+ splint $$f $(LINTARGS) -I./.. -I./../portab $(AM_CFLAGS) > lint.out 2>&1; \
+ grep "no warnings" lint.out > /dev/null 2>&1; \
+ if [ $$? -ne 0 ]; then \
+ echo; cat lint.out; echo; \
+ fi; \
+ done;
+
+ngircd.c: cvs-date cvs-version.h
+
+cvs-date:
+ grep VERSION ../config.h | grep "CVS" \
+ && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
+ | $(AWK) "{ print \$$9 }" | sort | tail -1 \
+ | sed -e "s/\//-/g" )\"" > cvs-version.new \
+ || echo "" > cvs-version.new
+ diff cvs-version.h cvs-version.new || cp cvs-version.new cvs-version.h