summaryrefslogtreecommitdiff
path: root/usr/src/lib/libuutil
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libuutil')
-rw-r--r--usr/src/lib/libuutil/Makefile3
-rw-r--r--usr/src/lib/libuutil/Makefile.com18
-rw-r--r--usr/src/lib/libuutil/amd64/Makefile4
-rw-r--r--usr/src/lib/libuutil/i386/Makefile4
-rw-r--r--usr/src/lib/libuutil/sparc/Makefile4
-rw-r--r--usr/src/lib/libuutil/sparcv9/Makefile6
6 files changed, 7 insertions, 32 deletions
diff --git a/usr/src/lib/libuutil/Makefile b/usr/src/lib/libuutil/Makefile
index b8421c51f5..f8307afa5a 100644
--- a/usr/src/lib/libuutil/Makefile
+++ b/usr/src/lib/libuutil/Makefile
@@ -39,11 +39,10 @@ HDRDIR = common
SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
-all := TARGET = all
+all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
-lint := TARGET = lint
MSGFILES = \
common/uu_dprintf.c \
diff --git a/usr/src/lib/libuutil/Makefile.com b/usr/src/lib/libuutil/Makefile.com
index d9da48cc0c..8a07dda7bb 100644
--- a/usr/src/lib/libuutil/Makefile.com
+++ b/usr/src/lib/libuutil/Makefile.com
@@ -42,7 +42,7 @@ OBJECTS = \
include ../../Makefile.lib
include ../../Makefile.rootfs
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
$(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
$(NATIVE_BUILD)VERS =
@@ -60,19 +60,13 @@ SRCS = \
../common/uu_pname.c \
../common/uu_strtoint.c
-LINTS = $(OBJECTS:%.o=%.ln)
-CLOBBERFILES += $(LINTS)
-
SRCDIR = ../common
-$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LDLIBS += -lc
AVLDIR = ../../../common/avl
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I$(SRCDIR) -I../../common/inc
-LINTFLAGS += -erroff=E_GLOBAL_COULD_BE_STATIC2
-LINTFLAGS64 += -erroff=E_GLOBAL_COULD_BE_STATIC2
SMOFF += signed
@@ -85,16 +79,6 @@ $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
all: $(LIBS) $(NOT_NATIVE)
-lint: $(LINTLIB) globallint
-
-globallint: $(LINTS)
- $(LINT.c) $(LINTS) $(LDLIBS)
-
-%.ln: $(SRCDIR)/%.c
- $(LINT.c) -c $<
-
-%.ln: $(AVLDIR)/%.c
- $(LINT.c) -c $<
pics/%.o: $(AVLDIR)/%.c
$(COMPILE.c) -o $@ $<
diff --git a/usr/src/lib/libuutil/amd64/Makefile b/usr/src/lib/libuutil/amd64/Makefile
index ca019fcccf..2bbd813164 100644
--- a/usr/src/lib/libuutil/amd64/Makefile
+++ b/usr/src/lib/libuutil/amd64/Makefile
@@ -23,10 +23,8 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
include ../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)
diff --git a/usr/src/lib/libuutil/i386/Makefile b/usr/src/lib/libuutil/i386/Makefile
index c56fff345b..59045395eb 100644
--- a/usr/src/lib/libuutil/i386/Makefile
+++ b/usr/src/lib/libuutil/i386/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/libuutil/sparc/Makefile b/usr/src/lib/libuutil/sparc/Makefile
index c56fff345b..59045395eb 100644
--- a/usr/src/lib/libuutil/sparc/Makefile
+++ b/usr/src/lib/libuutil/sparc/Makefile
@@ -23,9 +23,7 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/libuutil/sparcv9/Makefile b/usr/src/lib/libuutil/sparcv9/Makefile
index 014bb86833..7270774630 100644
--- a/usr/src/lib/libuutil/sparcv9/Makefile
+++ b/usr/src/lib/libuutil/sparcv9/Makefile
@@ -23,16 +23,14 @@
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
include ../Makefile.com
include ../../Makefile.lib.64
.KEEP_STATE:
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
all: $(LIBS)
-install: all $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)