summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-12-04 00:29:40 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-12-04 00:29:40 +0000
commitbec433de08095b2933ceea82a956e68b852e606a (patch)
tree0d87fb6b066f4f2d679287c1317bfd15d61d56c8 /cddl
parent54508b6115fe4010dd2f4815ab08e2e482e2a899 (diff)
downloadFreeBSD-src-bec433de08095b2933ceea82a956e68b852e606a.zip
FreeBSD-src-bec433de08095b2933ceea82a956e68b852e606a.tar.gz
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
Diffstat (limited to 'cddl')
-rw-r--r--cddl/lib/drti/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/cddl/lib/drti/Makefile b/cddl/lib/drti/Makefile
index c715809..b62d2c2 100644
--- a/cddl/lib/drti/Makefile
+++ b/cddl/lib/drti/Makefile
@@ -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>
OpenPOWER on IntegriCloud