diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-17 11:17:13 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-04-17 11:17:13 -0700 |
commit | f5eb468f0ca87917488bdd8bdecf9e31fce88945 (patch) | |
tree | a896eb1b3b03865d0e6f04e3b8d8027add08336d /Makefile.am | |
parent | 2d43b8fa9b21bcf9f5c289ab1afba3e73c42f661 (diff) |
Add rules for checking code with sparse/lint/etc.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 318b801..d9db3e0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,3 +70,11 @@ SUFFIXES = .$(APP_MAN_SUFFIX) .man .man.$(APP_MAN_SUFFIX): sed $(MAN_SUBSTS) < $< > $@ + +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(setxkbmap_CFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(setxkbmap_SOURCES) +endif LINT |