summaryrefslogtreecommitdiff
path: root/usr/src/lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/Makefile')
-rw-r--r--usr/src/lib/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/src/lib/Makefile b/usr/src/lib/Makefile
index 7c461eb3fc..8c5142641d 100644
--- a/usr/src/lib/Makefile
+++ b/usr/src/lib/Makefile
@@ -31,6 +31,7 @@
# Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
# Copyright 2017 RackTop Systems.
# Copyirght 2018 Jason King
+# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
#
include ../Makefile.master
@@ -512,7 +513,6 @@ clean := TARGET= clean
clobber := TARGET= clobber
install := TARGET= install
install_h := TARGET= install_h
-lint := TARGET= lint
_dc := TARGET= _dc
_msg := TARGET= _msg
@@ -521,12 +521,12 @@ _msg := TARGET= _msg
#
# For the all and install targets, we clearly must respect library
# dependencies so that the libraries link correctly. However, for
-# the remaining targets (check, clean, clobber, install_h, lint, _dc
+# the remaining targets (check, clean, clobber, install_h, _dc
# and _msg), libraries do not have any dependencies on one another
# and thus respecting dependencies just slows down the build.
# As such, for these rules, we use pattern replacement to explicitly
-# avoid triggering the dependency information. Note that for clean,
-# clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
+# avoid triggering the dependency information. Note that for clean and
+# clobber, we must use $(NOWAIT_SUBDIRS) rather than
# $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
#
@@ -539,7 +539,9 @@ install_extra:
@cd ../cmd/sgs; pwd; $(MAKE) install_lib
@pwd
-clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
+clean clobber: $(NOWAIT_SUBDIRS:%=%-nodepend)
+
+lint:
install_h check: $(HDRSUBDIRS:%=%-nodepend)