summaryrefslogtreecommitdiff
path: root/greeter
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-07-14 13:02:02 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-07-14 13:02:02 -0700
commit41211f8c849de67cebeb9d9f7516eb5a4a7eb3cf (patch)
tree36474cf7728960ce8802daedd3acdf6e3af1e377 /greeter
parentbfe7bc6a04d468f7943ebed9a7ea571cbf916d9e (diff)
Add XORG_WITH_LINT & lint targets for checking code with lint/sparse/etc.
Diffstat (limited to 'greeter')
-rw-r--r--greeter/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/greeter/Makefile.am b/greeter/Makefile.am
index d035811..7dc8a98 100644
--- a/greeter/Makefile.am
+++ b/greeter/Makefile.am
@@ -16,3 +16,12 @@ AM_CFLAGS = $(XDMGREET_CFLAGS) -I$(top_srcdir)
libXdmGreet_la_LDFLAGS = -module -avoid-version
endif
+
+if LINT
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) $(libXdmGreet_la_SOURCES)
+
+endif LINT