summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcmd
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libcmd')
-rw-r--r--usr/src/lib/libcmd/Makefile5
-rw-r--r--usr/src/lib/libcmd/Makefile.com14
-rw-r--r--usr/src/lib/libcmd/i386/Makefile4
-rw-r--r--usr/src/lib/libcmd/sparc/Makefile4
4 files changed, 6 insertions, 21 deletions
diff --git a/usr/src/lib/libcmd/Makefile b/usr/src/lib/libcmd/Makefile
index 45c808effe..f958be9ad9 100644
--- a/usr/src/lib/libcmd/Makefile
+++ b/usr/src/lib/libcmd/Makefile
@@ -36,12 +36,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
-_msg := TARGET= _msg
+_msg := TARGET= _msg
.KEEP_STATE:
-all clean clobber install lint _msg: $(SUBDIRS)
+all clean clobber install _msg: $(SUBDIRS)
HDRS= \
cmd.h \
diff --git a/usr/src/lib/libcmd/Makefile.com b/usr/src/lib/libcmd/Makefile.com
index 0e8f049eef..4382f40764 100644
--- a/usr/src/lib/libcmd/Makefile.com
+++ b/usr/src/lib/libcmd/Makefile.com
@@ -91,9 +91,7 @@ MAPFILES= ../mapfile-vers
# Set common AST build flags (e.g. C99/XPG6, needed to support the math stuff)
include ../../../Makefile.ast
-LIBS = $(DYNLIB) $(LINTLIB)
-
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
+LIBS = $(DYNLIB)
LDLIBS += \
-lsum \
@@ -148,14 +146,6 @@ pics/vmstate.o := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
.KEEP_STATE:
-all: $(LIBS)
-
-#
-# libcmd is not lint-clean yet; fake up a target. (You can use
-# "make lintcheck" to actually run lint; please send all lint fixes
-# upstream (to AT&T) so the next update will pull them into ON.)
-#
-lint:
- @ print "usr/src/lib/libcmd is not lint-clean: skipping"
+all: $(LIBS)
include ../../Makefile.targ
diff --git a/usr/src/lib/libcmd/i386/Makefile b/usr/src/lib/libcmd/i386/Makefile
index c3ea53cfe4..6cbbf06d61 100644
--- a/usr/src/lib/libcmd/i386/Makefile
+++ b/usr/src/lib/libcmd/i386/Makefile
@@ -23,11 +23,9 @@
# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
all: $(LIBS)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libcmd/sparc/Makefile b/usr/src/lib/libcmd/sparc/Makefile
index c3ea53cfe4..6cbbf06d61 100644
--- a/usr/src/lib/libcmd/sparc/Makefile
+++ b/usr/src/lib/libcmd/sparc/Makefile
@@ -23,11 +23,9 @@
# Copyright (c) 1997-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
all: $(LIBS)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)