summaryrefslogtreecommitdiff
path: root/usr/src/lib/libfru
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libfru')
-rw-r--r--usr/src/lib/libfru/Makefile5
-rw-r--r--usr/src/lib/libfru/Makefile.flag14
-rw-r--r--usr/src/lib/libfru/libfrupicl/Makefile7
-rw-r--r--usr/src/lib/libfru/libfrupicl/Makefile.com19
-rw-r--r--usr/src/lib/libfru/libfrupicltree/Makefile9
-rw-r--r--usr/src/lib/libfru/libfrupicltree/Makefile.com18
-rw-r--r--usr/src/lib/libfru/libfruraw/Makefile5
-rw-r--r--usr/src/lib/libfru/libfruraw/Makefile.com18
-rw-r--r--usr/src/lib/libfru/libfrureg/Makefile7
-rw-r--r--usr/src/lib/libfru/libfrureg/Makefile.com18
-rw-r--r--usr/src/lib/libfru/libnvfru/Makefile5
-rw-r--r--usr/src/lib/libfru/libnvfru/Makefile.com18
12 files changed, 17 insertions, 126 deletions
diff --git a/usr/src/lib/libfru/Makefile b/usr/src/lib/libfru/Makefile
index db52f8ccb3..8dce827c23 100644
--- a/usr/src/lib/libfru/Makefile
+++ b/usr/src/lib/libfru/Makefile
@@ -39,18 +39,17 @@ SUBDIRS = $(SUBDIRS_$(MACH))
# conditional assignments
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
POFILE= libfru.po
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
diff --git a/usr/src/lib/libfru/Makefile.flag b/usr/src/lib/libfru/Makefile.flag
index 46fef309e9..6ab6a48b72 100644
--- a/usr/src/lib/libfru/Makefile.flag
+++ b/usr/src/lib/libfru/Makefile.flag
@@ -27,12 +27,6 @@
# lib/libfru/Makefile.flag
#
-LINTFLAGS = -uxn
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
CPPFLAGS += -I../include -I$(SRC)/lib/libpicl
CPPFLAGS += -I$(SRC)/lib/libfruutils
@@ -49,11 +43,6 @@ CCERRWARN += -_gcc=-Wno-reorder
CCERRWARN += -_gcc=-Wno-type-limits
CLEANFILES += pics/lex.fru.cc pics/y.tab.cc pics/y.tab.h
-
-$(LINTLIB) := SRCS = ../llib-lfru
-$(LINTLIB) := LINTFLAGS = -nvx -I../include
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I../include
-
CLOBBERFILES += $(DYNLIBCCC) libfru.so
.KEEP_STATE:
@@ -62,6 +51,3 @@ all : pics .WAIT $(DYNLIBCCC)
$(RM) libfru.so
$(LN) $(DYNLIBCCC) libfru.so
$(CHMOD) 755 libfru.so
-
-lint :
- @ $(ECHO) "No C code here, only C++ code: skipping"
diff --git a/usr/src/lib/libfru/libfrupicl/Makefile b/usr/src/lib/libfru/libfrupicl/Makefile
index cd361c6ba3..10090e7f62 100644
--- a/usr/src/lib/libfru/libfrupicl/Makefile
+++ b/usr/src/lib/libfru/libfrupicl/Makefile
@@ -23,19 +23,16 @@
# Copyright (c) 2000 by Sun Microsystems, Inc.
# All rights reserved.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
include $(SRC)/lib/Makefile.lib
SUBDIRS = .WAIT $(MACH) $(BUILD64) $(MACH64)
# conditional assignments
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
sparc_HDRS=
@@ -48,7 +45,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MACH) $(MACH64)
diff --git a/usr/src/lib/libfru/libfrupicl/Makefile.com b/usr/src/lib/libfru/libfrupicl/Makefile.com
index 4ecacb06af..435038f71d 100644
--- a/usr/src/lib/libfru/libfrupicl/Makefile.com
+++ b/usr/src/lib/libfru/libfrupicl/Makefile.com
@@ -38,27 +38,15 @@ LIBS = $(DYNLIB)
# There should be a mapfile here
MAPFILES =
-LINTFLAGS = -mnux
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-CLEANFILES= $(LINTOUT)
-
CPPFLAGS += -I.. \
-I$(SRC)/lib/libfru/include \
-I$(SRC)/cmd/picl/plugins/sun4u/frudata \
-I$(SRC)/lib/libpicl \
-I$(SRC)/lib/libfruutils \
-I$(SRC)/cmd/picl/plugins/inc
-CPPFLAGS += -D_REENTRANT
+CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
-$(LINTLIB) := LINTFLAGS = -nvx -I..
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
-
XGETFLAGS += -a
POFILE= picl.po
@@ -67,8 +55,6 @@ POFILE= picl.po
all : $(LIBS)
chmod 755 $(DYNLIB)
-lint : lintcheck
-
%.po: ../%.c
$(CP) $< $<.i
$(BUILD.po)
@@ -83,6 +69,3 @@ include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)
diff --git a/usr/src/lib/libfru/libfrupicltree/Makefile b/usr/src/lib/libfru/libfrupicltree/Makefile
index 0bdf6ea08f..599986465a 100644
--- a/usr/src/lib/libfru/libfrupicltree/Makefile
+++ b/usr/src/lib/libfru/libfrupicltree/Makefile
@@ -23,20 +23,15 @@
# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
-# lib/libfru/libfrupicltree/Makefile
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
include $(SRC)/lib/Makefile.lib
SUBDIRS = .WAIT $(MACH)
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
sparc_HDRS=
@@ -49,7 +44,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MACH) $(MACH64)
diff --git a/usr/src/lib/libfru/libfrupicltree/Makefile.com b/usr/src/lib/libfru/libfrupicltree/Makefile.com
index ea099655a9..ebf91c5663 100644
--- a/usr/src/lib/libfru/libfrupicltree/Makefile.com
+++ b/usr/src/lib/libfru/libfrupicltree/Makefile.com
@@ -37,26 +37,15 @@ LIBS = $(DYNLIB)
# There should be a mapfile here
MAPFILES =
-LINTFLAGS = -mnux
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-CLEANFILES= $(LINTOUT)
-
CPPFLAGS += -I.. \
-I$(SRC)/lib/libfru/include \
-I$(SRC)/cmd/picl/plugins/sun4u/frudata \
-I$(SRC)/lib/libpicl \
-I$(SRC)/lib/libfruutils \
-I$(SRC)/cmd/picl/plugins/inc
-CPPFLAGS += -D_REENTRANT
+CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
-$(LINTLIB) := LINTFLAGS = -nvx -I..
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
XGETFLAGS += -a
POFILE= picl.po
@@ -66,8 +55,6 @@ POFILE= picl.po
all : $(LIBS)
chmod 755 $(DYNLIB)
-lint : lintcheck
-
%.po: ../%.c
$(CP) $< $<.i
$(BUILD.po)
@@ -81,6 +68,3 @@ include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)
diff --git a/usr/src/lib/libfru/libfruraw/Makefile b/usr/src/lib/libfru/libfruraw/Makefile
index 3d39b02828..a99f4f5c38 100644
--- a/usr/src/lib/libfru/libfruraw/Makefile
+++ b/usr/src/lib/libfru/libfruraw/Makefile
@@ -29,11 +29,10 @@ include $(SRC)/lib/Makefile.lib
SUBDIRS = .WAIT $(MACH) $(BUILD64) $(MACH64)
# conditional assignments
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
sparc_HDRS=
@@ -46,7 +45,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MACH) $(MACH64)
diff --git a/usr/src/lib/libfru/libfruraw/Makefile.com b/usr/src/lib/libfru/libfruraw/Makefile.com
index e4e7e67eab..ef9837ecb2 100644
--- a/usr/src/lib/libfru/libfruraw/Makefile.com
+++ b/usr/src/lib/libfru/libfruraw/Makefile.com
@@ -38,19 +38,10 @@ LIBS = $(DYNLIB)
MAPFILES =
-LINTFLAGS = -uxn
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-CLEANFILES= $(LINTOUT)
-
CPPFLAGS += -I.. \
-I$(SRC)/lib/libfru/include \
-I$(SRC)/lib/libfruutils
-CPPFLAGS += -D_REENTRANT
+CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
CERRWARN += $(CNOWARN_UNINIT)
@@ -58,8 +49,6 @@ CERRWARN += $(CNOWARN_UNINIT)
# not linted
SMATCH=off
-$(LINTLIB) := LINTFLAGS = -nvx -I..
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
XGETFLAGS += -a
POFILE= picl.po
@@ -69,8 +58,6 @@ POFILE= picl.po
all : $(LIBS)
chmod 755 $(DYNLIB)
-lint : lintcheck
-
%.po: ../%.c
$(CP) $< $<.i
$(BUILD.po)
@@ -85,6 +72,3 @@ include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)
diff --git a/usr/src/lib/libfru/libfrureg/Makefile b/usr/src/lib/libfru/libfrureg/Makefile
index 9543bc389f..fd442d391b 100644
--- a/usr/src/lib/libfru/libfrureg/Makefile
+++ b/usr/src/lib/libfru/libfrureg/Makefile
@@ -23,19 +23,16 @@
# Copyright (c) 2000-2001 by Sun Microsystems, Inc.
# All rights reserved.
#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
include $(SRC)/lib/Makefile.lib
SUBDIRS = .WAIT $(MACH) $(BUILD64) $(MACH64)
# conditional assignments
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
sparc_HDRS=
@@ -48,7 +45,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MACH) $(MACH64)
diff --git a/usr/src/lib/libfru/libfrureg/Makefile.com b/usr/src/lib/libfru/libfrureg/Makefile.com
index f52ae73c86..5d9a300ffa 100644
--- a/usr/src/lib/libfru/libfrureg/Makefile.com
+++ b/usr/src/lib/libfru/libfrureg/Makefile.com
@@ -38,28 +38,17 @@ LIBS = $(DYNLIB)
# There should be a mapfile here
MAPFILES =
-LINTFLAGS = -uxn
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-CLEANFILES= $(LINTOUT)
-
CPPFLAGS += -I.. \
-I$(SRC)/lib/libfru/include \
-I$(SRC)/cmd/picl/plugins/sun4u/frudata \
-I$(SRC)/lib/libpicl \
-I$(SRC)/lib/libfruutils \
-I$(SRC)/cmd/picl/plugins/inc
-CPPFLAGS += -D_REENTRANT
+CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-variable
-$(LINTLIB) := LINTFLAGS = -nvx -I..
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
XGETFLAGS += -a
POFILE= picl.po
@@ -69,8 +58,6 @@ POFILE= picl.po
all : $(LIBS)
chmod 755 $(DYNLIB)
-lint : lintcheck
-
%.po: ../%.c
$(CP) $< $<.i
$(BUILD.po)
@@ -85,6 +72,3 @@ include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)
diff --git a/usr/src/lib/libfru/libnvfru/Makefile b/usr/src/lib/libfru/libnvfru/Makefile
index a2c44539ab..b7c0896e0f 100644
--- a/usr/src/lib/libfru/libnvfru/Makefile
+++ b/usr/src/lib/libfru/libnvfru/Makefile
@@ -30,11 +30,10 @@ SUBDIRS = $(MACH)
$(BUILD64)SUBDIRS += $(MACH64)
# conditional assignments
-all := TARGET= all
+all := TARGET= all
install := TARGET= install
clean := TARGET= clean
clobber := TARGET= clobber
-lint := TARGET= lint
_msg := TARGET= _msg
sparc_HDRS=
@@ -47,7 +46,7 @@ CHECKHDRS= $(HDRS:%.h=%.check)
.KEEP_STATE:
-all install clean clobber lint: $(SUBDIRS)
+all install clean clobber: $(SUBDIRS)
_msg: $(MACH) $(MACH64)
diff --git a/usr/src/lib/libfru/libnvfru/Makefile.com b/usr/src/lib/libfru/libnvfru/Makefile.com
index 5dc2723b30..216f9d029f 100644
--- a/usr/src/lib/libfru/libnvfru/Makefile.com
+++ b/usr/src/lib/libfru/libnvfru/Makefile.com
@@ -35,25 +35,14 @@ CLOBBERFILES += $(LIBLINKS)
LIBS = $(DYNLIB)
-LINTFLAGS = -uxn
-LINTFLAGS64 = $(LINTFLAGS) -m64
-LINTOUT= lint.out
-LINTSRC = $(LINTLIB:%.ln=%)
-ROOTLINTDIR = $(ROOTLIBDIR)
-ROOTLINT = $(LINTSRC:%=$(ROOTLINTDIR)/%)
-
-CLEANFILES= $(LINTOUT)
-
CPPFLAGS += -I.. \
-I$(SRC)/lib/libfru/include \
-I$(SRC)/lib/libfruutils
-CPPFLAGS += -D_REENTRANT
+CPPFLAGS += -D_REENTRANT
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
-$(LINTLIB) := LINTFLAGS = -nvx -I..
-$(LINTLIB) := LINTFLAGS64 = -nvx -m64 -I..
XGETFLAGS += -a
@@ -61,14 +50,9 @@ XGETFLAGS += -a
all : $(LIBS)
-lint : lintcheck
-
# include library targets
include $(SRC)/lib/Makefile.targ
pics/%.o: ../%.c
$(COMPILE.c) -o $@ $<
$(POST_PROCESS_O)
-
-$(ROOTLINTDIR)/%: ../%
- $(INS.file)