From b00dcc90e490454fdd983b4bf6d0fa92ab91d0be Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 4 Oct 2006 18:50:44 -0700 Subject: Add XORG_WITH_LINT support for checking source code with lint/sparse/etc. --- src/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 34355d9..3c6c3f6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,3 +20,10 @@ libfontencincludedir = $(includedir)/X11/fonts libfontencinclude_HEADERS = \ $(top_srcdir)/include/X11/fonts/fontenc.h +if LINT +ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) + +lint: + $(LINT) $(ALL_LINT_FLAGS) $(libfontenc_la_SOURCES) $(libfontenc_la_LIBADD) $(LIBS) +endif LINT -- cgit v1.2.3