summaryrefslogtreecommitdiff
path: root/usr/src/cmd/backup
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/cmd/backup
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
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)