summaryrefslogtreecommitdiff
path: root/usr/src/lib/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/scsi')
-rw-r--r--usr/src/lib/scsi/Makefile.subdirs18
-rw-r--r--usr/src/lib/scsi/libscsi/Makefile4
-rw-r--r--usr/src/lib/scsi/libscsi/Makefile.com5
-rw-r--r--usr/src/lib/scsi/libscsi/amd64/Makefile3
-rw-r--r--usr/src/lib/scsi/libscsi/i386/Makefile3
-rw-r--r--usr/src/lib/scsi/libscsi/sparc/Makefile3
-rw-r--r--usr/src/lib/scsi/libscsi/sparcv9/Makefile3
-rw-r--r--usr/src/lib/scsi/libses/Makefile4
-rw-r--r--usr/src/lib/scsi/libses/Makefile.defs3
-rw-r--r--usr/src/lib/scsi/libses/Makefile.targ4
-rw-r--r--usr/src/lib/scsi/libses/amd64/Makefile3
-rw-r--r--usr/src/lib/scsi/libses/i386/Makefile3
-rw-r--r--usr/src/lib/scsi/libses/sparc/Makefile3
-rw-r--r--usr/src/lib/scsi/libses/sparcv9/Makefile3
-rw-r--r--usr/src/lib/scsi/libsmp/Makefile3
-rw-r--r--usr/src/lib/scsi/libsmp/Makefile.com5
-rw-r--r--usr/src/lib/scsi/libsmp/amd64/Makefile2
-rw-r--r--usr/src/lib/scsi/libsmp/i386/Makefile2
-rw-r--r--usr/src/lib/scsi/libsmp/sparc/Makefile2
-rw-r--r--usr/src/lib/scsi/libsmp/sparcv9/Makefile2
-rw-r--r--usr/src/lib/scsi/plugins/scsi/engines/Makefile.engine10
-rw-r--r--usr/src/lib/scsi/plugins/scsi/engines/Makefile.targ17
-rw-r--r--usr/src/lib/scsi/plugins/scsi/engines/uscsi/Makefile4
-rw-r--r--usr/src/lib/scsi/plugins/ses/Makefile.lib10
-rw-r--r--usr/src/lib/scsi/plugins/ses/Makefile.plugin4
-rw-r--r--usr/src/lib/scsi/plugins/ses/Makefile.targ17
-rw-r--r--usr/src/lib/scsi/plugins/smp/Makefile.lib10
-rw-r--r--usr/src/lib/scsi/plugins/smp/Makefile.plugin3
-rw-r--r--usr/src/lib/scsi/plugins/smp/Makefile.targ17
29 files changed, 41 insertions, 129 deletions
diff --git a/usr/src/lib/scsi/Makefile.subdirs b/usr/src/lib/scsi/Makefile.subdirs
index 246da18969..f47e18331b 100644
--- a/usr/src/lib/scsi/Makefile.subdirs
+++ b/usr/src/lib/scsi/Makefile.subdirs
@@ -23,20 +23,18 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
.KEEP_STATE:
-all := TARGET += all
-check := TARGET += check
-clean := TARGET += clean
-clobber := TARGET += clobber
-install := TARGET += install
-install_h := TARGET += install_h
-lint := TARGET += lint
-_msg := TARGET += _msg
+all := TARGET = all
+check := TARGET = check
+clean := TARGET = clean
+clobber := TARGET = clobber
+install := TARGET = install
+install_h := TARGET = install_h
+_msg := TARGET = _msg
-all check clean clobber install install_h lint: $(SUBDIRS)
+all check clean clobber install install_h: $(SUBDIRS)
$(SUBDIRS): FRC
@cd $@; pwd; VERSION='$(VERSION)' $(MAKE) $(TARGET)
diff --git a/usr/src/lib/scsi/libscsi/Makefile b/usr/src/lib/scsi/libscsi/Makefile
index c21f8e06fd..6bde94ef10 100644
--- a/usr/src/lib/scsi/libscsi/Makefile
+++ b/usr/src/lib/scsi/libscsi/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
include ../Makefile.defs
@@ -41,12 +40,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/scsi/libscsi/Makefile.com b/usr/src/lib/scsi/libscsi/Makefile.com
index d8e18b1fb3..470da55161 100644
--- a/usr/src/lib/scsi/libscsi/Makefile.com
+++ b/usr/src/lib/scsi/libscsi/Makefile.com
@@ -47,21 +47,18 @@ CERRWARN += -_gcc=-Wno-type-limits
LDLIBS += \
-lumem \
-lc
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
ROOTLIBDIR = $(ROOTSCSILIBDIR)
ROOTLIBDIR64 = $(ROOTSCSILIBDIR)/$(MACH64)
CLEANFILES += \
../common/scsi_errno.c
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
.KEEP_STATE:
all : $(LIBS)
-lint : lintcheck
-
../common/scsi_errno.c: ../common/mkerrno.sh ../common/libscsi.h
sh ../common/mkerrno.sh < ../common/libscsi.h > $@
diff --git a/usr/src/lib/scsi/libscsi/amd64/Makefile b/usr/src/lib/scsi/libscsi/amd64/Makefile
index e3fab7e838..75b07600ad 100644
--- a/usr/src/lib/scsi/libscsi/amd64/Makefile
+++ b/usr/src/lib/scsi/libscsi/amd64/Makefile
@@ -23,9 +23,8 @@
# Copyright 2008 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) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/scsi/libscsi/i386/Makefile b/usr/src/lib/scsi/libscsi/i386/Makefile
index b68583c86f..6c35d1fc88 100644
--- a/usr/src/lib/scsi/libscsi/i386/Makefile
+++ b/usr/src/lib/scsi/libscsi/i386/Makefile
@@ -23,8 +23,7 @@
# Copyright 2008 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)
diff --git a/usr/src/lib/scsi/libscsi/sparc/Makefile b/usr/src/lib/scsi/libscsi/sparc/Makefile
index b68583c86f..6c35d1fc88 100644
--- a/usr/src/lib/scsi/libscsi/sparc/Makefile
+++ b/usr/src/lib/scsi/libscsi/sparc/Makefile
@@ -23,8 +23,7 @@
# Copyright 2008 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)
diff --git a/usr/src/lib/scsi/libscsi/sparcv9/Makefile b/usr/src/lib/scsi/libscsi/sparcv9/Makefile
index e3fab7e838..75b07600ad 100644
--- a/usr/src/lib/scsi/libscsi/sparcv9/Makefile
+++ b/usr/src/lib/scsi/libscsi/sparcv9/Makefile
@@ -23,9 +23,8 @@
# Copyright 2008 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) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/scsi/libses/Makefile b/usr/src/lib/scsi/libses/Makefile
index abb400b621..cde5b044b1 100644
--- a/usr/src/lib/scsi/libses/Makefile
+++ b/usr/src/lib/scsi/libses/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../../Makefile.lib
include ../Makefile.defs
@@ -41,12 +40,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/scsi/libses/Makefile.defs b/usr/src/lib/scsi/libses/Makefile.defs
index 0c31d9af9f..6d112f65b0 100644
--- a/usr/src/lib/scsi/libses/Makefile.defs
+++ b/usr/src/lib/scsi/libses/Makefile.defs
@@ -51,9 +51,8 @@ LDLIBS += \
-lumem \
-lc
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
CLEANFILES += \
../common/ses_errno.c
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
diff --git a/usr/src/lib/scsi/libses/Makefile.targ b/usr/src/lib/scsi/libses/Makefile.targ
index a73a46eae4..ab51445fad 100644
--- a/usr/src/lib/scsi/libses/Makefile.targ
+++ b/usr/src/lib/scsi/libses/Makefile.targ
@@ -23,14 +23,10 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-
.KEEP_STATE:
all : $(LIBS)
-lint : lintcheck
-
../common/ses_errno.c: ../common/mkerrno.sh ../common/libses.h
sh ../common/mkerrno.sh < $(ROOTSCSIHDRDIR)/libses.h > $@
diff --git a/usr/src/lib/scsi/libses/amd64/Makefile b/usr/src/lib/scsi/libses/amd64/Makefile
index aaa948e5ae..1caea4ea49 100644
--- a/usr/src/lib/scsi/libses/amd64/Makefile
+++ b/usr/src/lib/scsi/libses/amd64/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../Makefile.com
include ../../../Makefile.lib
@@ -31,6 +30,6 @@ include ../../../Makefile.lib.64
include ../Makefile.defs
include ../Makefile.defs.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
include ../Makefile.targ
diff --git a/usr/src/lib/scsi/libses/i386/Makefile b/usr/src/lib/scsi/libses/i386/Makefile
index b2454048f0..6cf1050b9e 100644
--- a/usr/src/lib/scsi/libses/i386/Makefile
+++ b/usr/src/lib/scsi/libses/i386/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../Makefile.com
include ../../../Makefile.lib
@@ -31,6 +30,6 @@ include ../Makefile.defs
DYNFLAGS += $(DYNFLAGS32)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
include ../Makefile.targ
diff --git a/usr/src/lib/scsi/libses/sparc/Makefile b/usr/src/lib/scsi/libses/sparc/Makefile
index b2454048f0..6cf1050b9e 100644
--- a/usr/src/lib/scsi/libses/sparc/Makefile
+++ b/usr/src/lib/scsi/libses/sparc/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../Makefile.com
include ../../../Makefile.lib
@@ -31,6 +30,6 @@ include ../Makefile.defs
DYNFLAGS += $(DYNFLAGS32)
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
include ../Makefile.targ
diff --git a/usr/src/lib/scsi/libses/sparcv9/Makefile b/usr/src/lib/scsi/libses/sparcv9/Makefile
index aaa948e5ae..1caea4ea49 100644
--- a/usr/src/lib/scsi/libses/sparcv9/Makefile
+++ b/usr/src/lib/scsi/libses/sparcv9/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include ../Makefile.com
include ../../../Makefile.lib
@@ -31,6 +30,6 @@ include ../../../Makefile.lib.64
include ../Makefile.defs
include ../Makefile.defs.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
include ../Makefile.targ
diff --git a/usr/src/lib/scsi/libsmp/Makefile b/usr/src/lib/scsi/libsmp/Makefile
index d530e09093..7511401181 100644
--- a/usr/src/lib/scsi/libsmp/Makefile
+++ b/usr/src/lib/scsi/libsmp/Makefile
@@ -39,12 +39,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRS)
diff --git a/usr/src/lib/scsi/libsmp/Makefile.com b/usr/src/lib/scsi/libsmp/Makefile.com
index 748963db4e..9ef7621c70 100644
--- a/usr/src/lib/scsi/libsmp/Makefile.com
+++ b/usr/src/lib/scsi/libsmp/Makefile.com
@@ -50,21 +50,18 @@ SMOFF += all_func_returns
LDLIBS += \
-lumem \
-lc
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
ROOTLIBDIR = $(ROOTSCSILIBDIR)
ROOTLIBDIR64 = $(ROOTSCSILIBDIR)/$(MACH64)
CLEANFILES += \
../common/smp_errno.c
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
.KEEP_STATE:
all : $(LIBS)
-lint : lintcheck
-
../common/smp_errno.c: ../common/mkerrno.sh ../common/libsmp.h
sh ../common/mkerrno.sh < ../common/libsmp.h > $@
diff --git a/usr/src/lib/scsi/libsmp/amd64/Makefile b/usr/src/lib/scsi/libsmp/amd64/Makefile
index e59eb2b811..7a85eb1e6c 100644
--- a/usr/src/lib/scsi/libsmp/amd64/Makefile
+++ b/usr/src/lib/scsi/libsmp/amd64/Makefile
@@ -26,4 +26,4 @@
include ../Makefile.com
include ../../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/scsi/libsmp/i386/Makefile b/usr/src/lib/scsi/libsmp/i386/Makefile
index c6e75c4787..51dea8dd0e 100644
--- a/usr/src/lib/scsi/libsmp/i386/Makefile
+++ b/usr/src/lib/scsi/libsmp/i386/Makefile
@@ -25,4 +25,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/scsi/libsmp/sparc/Makefile b/usr/src/lib/scsi/libsmp/sparc/Makefile
index c6e75c4787..51dea8dd0e 100644
--- a/usr/src/lib/scsi/libsmp/sparc/Makefile
+++ b/usr/src/lib/scsi/libsmp/sparc/Makefile
@@ -25,4 +25,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/scsi/libsmp/sparcv9/Makefile b/usr/src/lib/scsi/libsmp/sparcv9/Makefile
index e59eb2b811..7a85eb1e6c 100644
--- a/usr/src/lib/scsi/libsmp/sparcv9/Makefile
+++ b/usr/src/lib/scsi/libsmp/sparcv9/Makefile
@@ -26,4 +26,4 @@
include ../Makefile.com
include ../../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/scsi/plugins/scsi/engines/Makefile.engine b/usr/src/lib/scsi/plugins/scsi/engines/Makefile.engine
index 12b742ef1a..0bad757481 100644
--- a/usr/src/lib/scsi/plugins/scsi/engines/Makefile.engine
+++ b/usr/src/lib/scsi/plugins/scsi/engines/Makefile.engine
@@ -51,19 +51,13 @@ DMOD_OBJS = $(DMOD_SRCS:%.c=%.o)
ROOTPROG = $(ROOTPLUGINLIBDIR)/scsi/engines/$(PROG)
ROOTPROG64 = $(ROOTPLUGINLIBDIR)/scsi/engines/$(MACH64)/$(PROG)
-LINTFLAGS += -mu
-LINTFILES = $(SRCS:%.c=%.ln)
-
-DMODLINTTGT = $(DMOD:%=lint_dmod)
-DMODLINTFILES = $(DMOD_SRCS:%.c=%.ln)
-
APIMAP = ../../../../../libscsi/libscsi_api.map
CSTD = $(CSTD_GNU99)
CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS += -G $(XREGSFLAG)
+CFLAGS += -G $(XREGSFLAG)
CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS64 += -G $(XREGSFLAG)
+CFLAGS64 += -G $(XREGSFLAG)
CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
CPPFLAGS += -I../../../../../libscsi/common
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
diff --git a/usr/src/lib/scsi/plugins/scsi/engines/Makefile.targ b/usr/src/lib/scsi/plugins/scsi/engines/Makefile.targ
index edeaa039e3..e60697fbed 100644
--- a/usr/src/lib/scsi/plugins/scsi/engines/Makefile.targ
+++ b/usr/src/lib/scsi/plugins/scsi/engines/Makefile.targ
@@ -29,7 +29,7 @@
all: $(PROG) $(DMODPROG)
.NO_PARALLEL:
-.PARALLEL: $(OBJS) $(LINTFILES) $(DMOD_OBJS) $(DMODLINTFILES)
+.PARALLEL: $(OBJS) $(DMOD_OBJS)
$(PROG): $(OBJS) $(APIMAP)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
@@ -50,24 +50,11 @@ $(DMODPROG): $(DMOD_OBJS)
$(CTFCONVERT_O)
clean:
- $(RM) $(OBJS) $(DMOD_OBJS) $(LINTFILES) $(DMODLINTFILES) $(CLEANFILES)
+ $(RM) $(OBJS) $(DMOD_OBJS) $(CLEANFILES)
clobber: clean
$(RM) $(PROG) $(DMODPROG)
-%.ln: %.c
- $(LINT.c) -c $<
-
-%.ln: ../%.c
- $(LINT.c) -c $<
-
-lint_prog: $(LINTFILES)
- $(LINT) $(LINTFLAGS) $(LINTFILES) $(LDLIBS)
-
-lint_dmod: $(DMODLINTFILES)
- $(LINT) $(LINTFLAGS) $(DMODLINTFILES) $(LDLIBS)
-
-lint: lint_prog $(DMODLINTTGT)
install_h:
diff --git a/usr/src/lib/scsi/plugins/scsi/engines/uscsi/Makefile b/usr/src/lib/scsi/plugins/scsi/engines/uscsi/Makefile
index ae7db6b449..bcc158c629 100644
--- a/usr/src/lib/scsi/plugins/scsi/engines/uscsi/Makefile
+++ b/usr/src/lib/scsi/plugins/scsi/engines/uscsi/Makefile
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
include $(SRC)/Makefile.master
@@ -34,12 +33,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h check:
diff --git a/usr/src/lib/scsi/plugins/ses/Makefile.lib b/usr/src/lib/scsi/plugins/ses/Makefile.lib
index c8bbd52561..4d9d106f2e 100644
--- a/usr/src/lib/scsi/plugins/ses/Makefile.lib
+++ b/usr/src/lib/scsi/plugins/ses/Makefile.lib
@@ -61,19 +61,13 @@ ROOTPROG64 = $(ROOTPLUGINDIR64)/$(PROG)
ROOTALIASES = $(ALIASES:%=$(ROOTPLUGINDIR)/%.so)
ROOTALIASES64 = $(ALIASES:%=$(ROOTPLUGINDIR64)/%.so)
-LINTFLAGS += -mu
-LINTFILES = $(SRCS:%.c=%.ln)
-
-DMODLINTTGT = $(DMOD:%=lint_dmod)
-DMODLINTFILES = $(DMOD_SRCS:%.c=%.ln)
-
APIMAP = ../../../../libses/libses_api.map
CSTD = $(CSTD_GNU99)
CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS += -G $(XREGSFLAG)
+CFLAGS += -G $(XREGSFLAG)
CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS64 += -G $(XREGSFLAG)
+CFLAGS64 += -G $(XREGSFLAG)
CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
LDFLAGS += $(ZTEXT) $(ZIGNORE)
diff --git a/usr/src/lib/scsi/plugins/ses/Makefile.plugin b/usr/src/lib/scsi/plugins/ses/Makefile.plugin
index fe0f796fd2..9f86dc0b89 100644
--- a/usr/src/lib/scsi/plugins/ses/Makefile.plugin
+++ b/usr/src/lib/scsi/plugins/ses/Makefile.plugin
@@ -23,7 +23,6 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
include $(SRC)/Makefile.master
@@ -39,12 +38,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
diff --git a/usr/src/lib/scsi/plugins/ses/Makefile.targ b/usr/src/lib/scsi/plugins/ses/Makefile.targ
index 1753da2da4..a7a3ac5a84 100644
--- a/usr/src/lib/scsi/plugins/ses/Makefile.targ
+++ b/usr/src/lib/scsi/plugins/ses/Makefile.targ
@@ -29,7 +29,7 @@
all: $(PROG) $(DMODPROG)
.NO_PARALLEL:
-.PARALLEL: $(OBJS) $(LINTFILES) $(DMOD_OBJS) $(DMODLINTFILES)
+.PARALLEL: $(OBJS) $(DMOD_OBJS)
$(PROG): $(OBJS) $(APIMAP)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
@@ -50,24 +50,11 @@ $(DMODPROG): $(DMOD_OBJS)
$(CTFCONVERT_O)
clean:
- $(RM) $(OBJS) $(DMOD_OBJS) $(LINTFILES) $(DMODLINTFILES) $(CLEANFILES)
+ $(RM) $(OBJS) $(DMOD_OBJS) $(CLEANFILES)
clobber: clean
$(RM) $(PROG) $(DMODPROG)
-%.ln: %.c
- $(LINT.c) -c $<
-
-%.ln: $(SRCDIR)/%.c
- $(LINT.c) -c $<
-
-lint_prog: $(LINTFILES)
- $(LINT) $(LINTFLAGS) $(LINTFILES) $(LDLIBS)
-
-lint_dmod: $(DMODLINTFILES)
- $(LINT) $(LINTFLAGS) $(DMODLINTFILES) $(LDLIBS)
-
-lint: lint_prog $(DMODLINTTGT)
install_h:
diff --git a/usr/src/lib/scsi/plugins/smp/Makefile.lib b/usr/src/lib/scsi/plugins/smp/Makefile.lib
index 3ef898705c..0474284472 100644
--- a/usr/src/lib/scsi/plugins/smp/Makefile.lib
+++ b/usr/src/lib/scsi/plugins/smp/Makefile.lib
@@ -60,19 +60,13 @@ ROOTPROG64 = $(ROOTPLUGINDIR64)/$(PROG)
ROOTALIASES = $(ALIASES:%=$(ROOTPLUGINDIR)/%.so)
ROOTALIASES64 = $(ALIASES:%=$(ROOTPLUGINDIR64)/%.so)
-LINTFLAGS += -mu
-LINTFILES = $(SRCS:%.c=%.ln)
-
-DMODLINTTGT = $(DMOD:%=lint_dmod)
-DMODLINTFILES = $(DMOD_SRCS:%.c=%.ln)
-
APIMAP = ../../../../libsmp/libsmp_api.map
CSTD = $(CSTD_GNU99)
CFLAGS += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS += -G $(XREGSFLAG)
+CFLAGS += -G $(XREGSFLAG)
CFLAGS64 += $(CTF_FLAGS) $(CCVERBOSE) $(XSTRCONST) $(CC_PICFLAGS)
-CFLAGS64 += -G $(XREGSFLAG)
+CFLAGS64 += -G $(XREGSFLAG)
CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
$(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
LDFLAGS += $(ZTEXT) $(ZCOMBRELOC) $(ZIGNORE)
diff --git a/usr/src/lib/scsi/plugins/smp/Makefile.plugin b/usr/src/lib/scsi/plugins/smp/Makefile.plugin
index add83a92c4..9a0ee38b71 100644
--- a/usr/src/lib/scsi/plugins/smp/Makefile.plugin
+++ b/usr/src/lib/scsi/plugins/smp/Makefile.plugin
@@ -37,12 +37,11 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
install_h:= TARGET = install_h
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
diff --git a/usr/src/lib/scsi/plugins/smp/Makefile.targ b/usr/src/lib/scsi/plugins/smp/Makefile.targ
index 450fbd9562..4ee9ad587d 100644
--- a/usr/src/lib/scsi/plugins/smp/Makefile.targ
+++ b/usr/src/lib/scsi/plugins/smp/Makefile.targ
@@ -27,7 +27,7 @@
all: $(PROG) $(DMODPROG)
.NO_PARALLEL:
-.PARALLEL: $(OBJS) $(LINTFILES) $(DMOD_OBJS) $(DMODLINTFILES)
+.PARALLEL: $(OBJS) $(DMOD_OBJS)
$(PROG): $(OBJS) $(APIMAP)
$(LINK.c) $(OBJS) -o $@ $(LDLIBS)
@@ -48,24 +48,11 @@ $(DMODPROG): $(DMOD_OBJS)
$(CTFCONVERT_O)
clean:
- $(RM) $(OBJS) $(DMOD_OBJS) $(LINTFILES) $(DMODLINTFILES) $(CLEANFILES)
+ $(RM) $(OBJS) $(DMOD_OBJS) $(CLEANFILES)
clobber: clean
$(RM) $(PROG) $(DMODPROG)
-%.ln: %.c
- $(LINT.c) -c $<
-
-%.ln: $(SRCDIR)/%.c
- $(LINT.c) -c $<
-
-lint_prog: $(LINTFILES)
- $(LINT) $(LINTFLAGS) $(LINTFILES) $(LDLIBS)
-
-lint_dmod: $(DMODLINTFILES)
- $(LINT) $(LINTFLAGS) $(DMODLINTFILES) $(LDLIBS)
-
-lint: lint_prog $(DMODLINTTGT)
install_h: