summaryrefslogtreecommitdiff
path: root/usr/src/lib/libfakekernel
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
committerJohn Levon <john.levon@joyent.com>2020-05-26 13:57:13 +0000
commit5b2acc0949194447bba6e45a0fa44d0b5f42f208 (patch)
tree7ea9eb87bc68fee386dd39035ce715e87a0e673c /usr/src/lib/libfakekernel
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/lib/libfakekernel')
-rw-r--r--usr/src/lib/libfakekernel/Makefile3
-rw-r--r--usr/src/lib/libfakekernel/Makefile.com10
-rw-r--r--usr/src/lib/libfakekernel/amd64/Makefile2
-rw-r--r--usr/src/lib/libfakekernel/i386/Makefile2
-rw-r--r--usr/src/lib/libfakekernel/sparc/Makefile2
-rw-r--r--usr/src/lib/libfakekernel/sparcv9/Makefile2
6 files changed, 6 insertions, 15 deletions
diff --git a/usr/src/lib/libfakekernel/Makefile b/usr/src/lib/libfakekernel/Makefile
index 34ed30c6a1..eb488dff8a 100644
--- a/usr/src/lib/libfakekernel/Makefile
+++ b/usr/src/lib/libfakekernel/Makefile
@@ -41,11 +41,10 @@ all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
-lint := TARGET= lint
.KEEP_STATE:
-all clean clobber install lint: $(SUBDIRS)
+all clean clobber install: $(SUBDIRS)
install_h: $(ROOTHDRDIR) $(ROOTHDRS)
diff --git a/usr/src/lib/libfakekernel/Makefile.com b/usr/src/lib/libfakekernel/Makefile.com
index 95d690f117..72fad2f3af 100644
--- a/usr/src/lib/libfakekernel/Makefile.com
+++ b/usr/src/lib/libfakekernel/Makefile.com
@@ -49,13 +49,10 @@ include ../../Makefile.rootfs
SRCDIR= ../common
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
SRCS= $(COBJS:%.o=$(SRCDIR)/%.c)
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
-
CSTD = $(CSTD_GNU99)
-C99LMODE = -Xc99=%all
CFLAGS += $(CCVERBOSE)
@@ -73,16 +70,11 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
# this library is for debugging, let's always define DEBUG here.
CPPFLAGS += -DDEBUG
-LINTCHECKFLAGS += -erroff=E_INCONS_ARG_DECL2
-LINTCHECKFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
-LINTCHECKFLAGS += -erroff=E_INCONS_VAL_TYPE_USED2
-
LDLIBS += -lumem -lcryptoutil -lsocket -lc
.KEEP_STATE:
all: $(LIBS)
-lint: lintcheck
include ../../Makefile.targ
diff --git a/usr/src/lib/libfakekernel/amd64/Makefile b/usr/src/lib/libfakekernel/amd64/Makefile
index 6792bbc3bb..5039a0aea7 100644
--- a/usr/src/lib/libfakekernel/amd64/Makefile
+++ b/usr/src/lib/libfakekernel/amd64/Makefile
@@ -29,4 +29,4 @@
include ../Makefile.com
include ../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)
diff --git a/usr/src/lib/libfakekernel/i386/Makefile b/usr/src/lib/libfakekernel/i386/Makefile
index c3b3d13b05..6c3e24318c 100644
--- a/usr/src/lib/libfakekernel/i386/Makefile
+++ b/usr/src/lib/libfakekernel/i386/Makefile
@@ -28,4 +28,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/libfakekernel/sparc/Makefile b/usr/src/lib/libfakekernel/sparc/Makefile
index c3b3d13b05..6c3e24318c 100644
--- a/usr/src/lib/libfakekernel/sparc/Makefile
+++ b/usr/src/lib/libfakekernel/sparc/Makefile
@@ -28,4 +28,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTCOMPATLINKS)
diff --git a/usr/src/lib/libfakekernel/sparcv9/Makefile b/usr/src/lib/libfakekernel/sparcv9/Makefile
index e4445a2843..cbe3c9c9fb 100644
--- a/usr/src/lib/libfakekernel/sparcv9/Makefile
+++ b/usr/src/lib/libfakekernel/sparcv9/Makefile
@@ -29,4 +29,4 @@
include ../Makefile.com
include ../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTCOMPATLINKS64)