From: Ivo Timmermans Date: Fri, 22 Dec 2000 17:15:26 +0000 (+0000) Subject: Added lint target, requires lclint. X-Git-Tag: release-1.0pre4~84 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=ecae72de94222302aa326888f70cfacdbd775b23;p=tinc Added lint target, requires lclint. --- diff --git a/src/Makefile.am b/src/Makefile.am index 185e5a06..27a891e1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ ## Produce this file with automake to get Makefile.in -# $Id: Makefile.am,v 1.4.4.10 2000/11/22 16:19:06 zarq Exp $ +# $Id: Makefile.am,v 1.4.4.11 2000/12/22 17:15:26 zarq Exp $ sbin_PROGRAMS = tincd @@ -20,3 +20,6 @@ localedir = $(datadir)/locale CFLAGS = @CFLAGS@ -DPKGLIBDIR=$(pkglibdir) -DCONFDIR=\"$(sysconfdir)\" \ -DLOCALEDIR=\"$(localedir)\" -DLOCALSTATEDIR=\"$(localstatedir)\" + +lint: $(tincd_SOURCES) + lclint -nullassign -nullret +trytorecover +posixlib -skipansiheaders -skipposixheaders +gnuextensions -I/usr/include -I/usr/lib/gcc-lib/i386-linux/2.95.2/include -I. -I/home/zarq/p/tinc/cvs/cabal/src -I.. -I.. -I/home/zarq/p/tinc/cvs/cabal/lib -I/home/zarq/p/tinc/cvs/cabal/intl -D_POSIX_SOURCE -D__ELF__ -Dunix -D__i386__ -Dlinux -DHAVE_CONFIG_H -DPKGLIBDIR=/usr/local/lib/tinc -DCONFDIR=\"/usr/local/etc\" -DLOCALEDIR=\"/usr/local/share/locale\" $^