summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpp
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/libpp
parent8ca018083101bf1cb175869679bc123187fb1bab (diff)
parent2a1277d3064386cd5c4e372301007aa330bf1d5e (diff)
downloadillumos-joyent-gcc9.tar.gz
mergegcc9
Diffstat (limited to 'usr/src/lib/libpp')
-rw-r--r--usr/src/lib/libpp/Makefile7
-rw-r--r--usr/src/lib/libpp/Makefile.com21
-rw-r--r--usr/src/lib/libpp/i386/Makefile2
-rw-r--r--usr/src/lib/libpp/sparc/Makefile2
4 files changed, 11 insertions, 21 deletions
diff --git a/usr/src/lib/libpp/Makefile b/usr/src/lib/libpp/Makefile
index 30cbb5e49f..f5ebfd574b 100644
--- a/usr/src/lib/libpp/Makefile
+++ b/usr/src/lib/libpp/Makefile
@@ -34,14 +34,13 @@ 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)
-LIBRARY= libpp.a
+LIBRARY= libpp.a
HDRS= \
pp.h \
diff --git a/usr/src/lib/libpp/Makefile.com b/usr/src/lib/libpp/Makefile.com
index 0ea3146862..b42419ce01 100644
--- a/usr/src/lib/libpp/Makefile.com
+++ b/usr/src/lib/libpp/Makefile.com
@@ -66,13 +66,12 @@ MAPFILES= ../mapfile-vers
# Set common AST build flags (e.g. C99/XPG6, needed to support the math stuff)
include ../../../Makefile.ast
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
LDLIBS += \
-last \
-lc
-$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
SRCDIR = ../common
@@ -108,14 +107,14 @@ CERRWARN += -_gcc=-Wno-unused-value
# "pplex() parse error: turning off implications after 60 seconds"
SMATCH = off
-pics/ppcall.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
-pics/ppcontrol.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
+pics/ppcall.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
+pics/ppcontrol.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
pics/ppcpp.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
pics/ppexpr.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
pics/pplex.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
-pics/ppop.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
-pics/ppsearch.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
-pics/ppsearch.o := CERRWARN += -_gcc=-Wno-sequence-point
+pics/ppop.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
+pics/ppsearch.o := CERRWARN += -erroff=E_INTEGER_OVERFLOW_DETECTED
+pics/ppsearch.o := CERRWARN += -_gcc=-Wno-sequence-point
pics/pplex.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
pics/ppcpp.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
pics/ppproto.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
@@ -124,12 +123,4 @@ pics/ppproto.o := CERRWARN += -_gcc=-Wno-implicit-fallthrough
all: $(LIBS)
-#
-# libpp 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/libpp is not lint-clean: skipping"
-
include ../../Makefile.targ
diff --git a/usr/src/lib/libpp/i386/Makefile b/usr/src/lib/libpp/i386/Makefile
index 34cbd52eb3..0620d7d10f 100644
--- a/usr/src/lib/libpp/i386/Makefile
+++ b/usr/src/lib/libpp/i386/Makefile
@@ -27,4 +27,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/libpp/sparc/Makefile b/usr/src/lib/libpp/sparc/Makefile
index 79cb51eae6..6c35d1fc88 100644
--- a/usr/src/lib/libpp/sparc/Makefile
+++ b/usr/src/lib/libpp/sparc/Makefile
@@ -26,4 +26,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)