From a527e14d16de2955dcdd6d14141f51987af7af2c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Mon, 11 Dec 2006 18:54:51 -0800 Subject: Add hooks for checking source code with lint/sparse/etc. --- Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1e3b2f5..948c2aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -41,6 +41,15 @@ appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@) EXTRA_DIST = $(appman_PRE) ChangeLog CLEANFILES = $(appman_DATA) +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(xauth_CFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(xauth_SOURCES) $(xauth_LDADD) +endif LINT + + SED = sed # Strings to replace in man pages -- cgit v1.2.1