diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-05-17 13:02:49 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2007-05-17 13:02:49 -0700 |
commit | 77cadcef6ea687e7181aa222c47402f34644a6ea (patch) | |
tree | b6eaf42ae39b3694b445322595fbb26611ef2e02 /Makefile.am | |
parent | 2afbb4393b1053fcb2edbec7c92575245efabffe (diff) | |
download | iceauth-77cadcef6ea687e7181aa222c47402f34644a6ea.tar.gz |
Add option to check code with lint/sparse/etc.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b1838be..d5692d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,3 +72,10 @@ 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) $(iceauth_CFLAGS) +lint: + $(LINT) $(ALL_LINT_FLAGS) $(iceauth_SOURCES) +endif LINT |