installincludes with INTERNALLIB=

Cy Schubert <[email protected]> Mon, 20 Jul 2026 08:38:55 -0700
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
Consider the Makefile fragment below.

...
LIB=		krb5profile
INTERNALLIB=

SRCS=	... \
	${GEN}

INCS=	profile.h

GEN=	profile.h ...
CLEANFILES=	... ${GEN}

profile.h:		profile.hin prof_err.h
	...

,include <bsd.lib.mk>
.include <bsd.incs.mk>
...


make installincludes and make include does not install profile.h. It did 
install profile.h when the library was not INTERNALLLIB, i.e. a shared 
library. But now that INTERNALLIB= has been specified it does not install 
profile.h. What am I missing?


-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org
NTP:           <[email protected]>    Web:  https://nwtime.org

			e**(i*pi)+1=0