summaryrefslogtreecommitdiff
path: root/usr/src/cmd/backup
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/backup')
-rw-r--r--usr/src/cmd/backup/lib/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/usr/src/cmd/backup/lib/Makefile b/usr/src/cmd/backup/lib/Makefile
index 0cccf936d7..60ca868cc3 100644
--- a/usr/src/cmd/backup/lib/Makefile
+++ b/usr/src/cmd/backup/lib/Makefile
@@ -67,10 +67,7 @@ CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
-LINTOUT= lint.out
-CLEANFILES= $(OBJECTS) $(LINTOUT) $(LINTLIB) $(DEBUGS) *.ln \
- $(YSRC) $(LIBRARY)
-LINTFLAGS += -y
+CLEANFILES= $(OBJECTS) $(DEBUGS) $(YSRC) $(LIBRARY)
# support for -g library
GLIB= libdump_g.a
@@ -103,15 +100,7 @@ install: all
$(POFILE): $(POFILES)
$(RM) $@; cat $(POFILES) > $@
-# rpcgen produces unused local variables that we can't easily suppress.
-# It is also stupid about 32/64 bit integers. Since we don't support
-# the RPC subsystem any more, just ignore complaints about it all.
-# We have no control over yaccpar, and it has lots of 32/64 complaints.
-# Assumes lint run with -s argument
-lint: lint.out
- sed -f lint.sed lint.out
-
-lint.out: $(LINTLIB)
+lint:
check: $(HDRS)
$(CSTYLE) $(CSTYLEFLAGS) `echo $(SRCS) | sed -e s/getdate.c//` $(HDRS)