diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc index 94e4202bd640..63df5f958266 100644 --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -36,6 +36,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20200323: INTERNALLIB don't install headers anymore +OLD_FILES+=usr/include/libelftc.h +OLD_FILES+=usr/include/libifconfig.h +OLD_FILES+=usr/include/libpmcstat.h + # 20200320: cx and ctau drivers retired OLD_FILES+=usr/share/man/man4/ctau.4.gz OLD_FILES+=usr/share/man/man4/cx.4.gz diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index ee870b84fd96..85fbb0dac84e 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -489,8 +489,11 @@ _libinstall: .include .include .include +#No need to install header for INTERNALLIB +.if !defined(INTERNALLIB) .include .endif +.endif LINKOWN?= ${LIBOWN} LINKGRP?= ${LIBGRP}