Simplify the LIBRARIES_ONLY hacks so that install: is not needed here.

This uses the same pattern that I applied to the other cases of this in
the csu directories.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-12-04 00:29:40 +00:00
parent 6d7e289318
commit fe893d53e4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291729

View File

@ -9,8 +9,8 @@ FILESGRP= ${LIBGRP}
FILESMODE= ${LIBMODE}
FILESDIR= ${LIBDIR}/dtrace
CLEANFILES= ${FILES}
LIB= drti-dummy
INTERNALLIB=
# These FILES qualify as libraries for the purpose of LIBRARIES_ONLY.
.undef LIBRARIES_ONLY
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${.CURDIR}/../../../cddl/compat/opensolaris/include \
@ -20,10 +20,4 @@ CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
-DPIC ${PICFLAG}
.if make(install) && defined(LIBRARIES_ONLY)
install:
${INSTALL} -o ${FILESOWN} -g ${FILESGRP} -m ${FILESMODE} \
${FILES} ${DESTDIR}${FILESDIR}
.endif
.include <bsd.lib.mk>