summaryrefslogtreecommitdiff
path: root/usr/src/lib/libads
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2020-03-26 21:07:34 -0400
committerRichard Lowe <richlowe@richlowe.net>2020-05-04 16:57:13 -0400
commit241c90a06e8d1708235651863df515a2d522a03a (patch)
treec2d53e1063e09d626cfc0c9cc0c80f51256e7363 /usr/src/lib/libads
parent282d4a2d330d797757f16d55e1df9569f3e52d10 (diff)
downloadillumos-joyent-241c90a06e8d1708235651863df515a2d522a03a.tar.gz
12454 remove lint library machinery
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libads')
-rw-r--r--usr/src/lib/libads/Makefile5
-rw-r--r--usr/src/lib/libads/Makefile.com13
-rw-r--r--usr/src/lib/libads/i386/Makefile2
-rw-r--r--usr/src/lib/libads/sparc/Makefile2
4 files changed, 6 insertions, 16 deletions
diff --git a/usr/src/lib/libads/Makefile b/usr/src/lib/libads/Makefile
index 41b86fab1d..e1b85c9312 100644
--- a/usr/src/lib/libads/Makefile
+++ b/usr/src/lib/libads/Makefile
@@ -45,11 +45,10 @@ RPCGENFLAGS = -CMN
CLEANFILES += $(DERIVED_FILES)
-all := TARGET = all
+all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
-lint := TARGET = lint
.KEEP_STATE:
@@ -59,7 +58,7 @@ install: all .WAIT $(SUBDIRS)
install_h: $(DERIVED_FILES) $(ROOTHDRS)
-clean clobber lint: $(SUBDIRS)
+clean clobber: $(SUBDIRS)
check: $(CHECKHDRS)
diff --git a/usr/src/lib/libads/Makefile.com b/usr/src/lib/libads/Makefile.com
index aa5fde985e..0d235d4272 100644
--- a/usr/src/lib/libads/Makefile.com
+++ b/usr/src/lib/libads/Makefile.com
@@ -27,18 +27,15 @@
LIBRARY = libads.a
VERS = .1
-LINT_OBJECTS = dsgetdc.o poke.o
-OBJECTS = $(LINT_OBJECTS) adspriv_xdr.o
+OBJECTS = dsgetdc.o poke.o adspriv_xdr.o
include ../../Makefile.lib
CSTD= $(CSTD_GNU99)
-C99LMODE= -Xc99=%all
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
LDLIBS += -lnsl -lc
SRCDIR = ../common
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(SRCDIR) -I..
@@ -52,11 +49,5 @@ CERRWARN += -_gcc=-Wno-unused-variable
all: $(LIBS)
-lint := OBJECTS = $(LINT_OBJECTS)
-
-lint: lintcheck
-
-#LINTFLAGS += -erroff=E_CONSTANT_CONDITION
-#LINTFLAGS64 += -erroff=E_CONSTANT_CONDITION
include ../../Makefile.targ
diff --git a/usr/src/lib/libads/i386/Makefile b/usr/src/lib/libads/i386/Makefile
index 3cf14ec6d8..be76a683a2 100644
--- a/usr/src/lib/libads/i386/Makefile
+++ b/usr/src/lib/libads/i386/Makefile
@@ -27,4 +27,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libads/sparc/Makefile b/usr/src/lib/libads/sparc/Makefile
index 3cf14ec6d8..be76a683a2 100644
--- a/usr/src/lib/libads/sparc/Makefile
+++ b/usr/src/lib/libads/sparc/Makefile
@@ -27,4 +27,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)