kmod.mk (fac6dee9eb58b2b558fec2aea749460ca623f6d6) kmod.mk (697b271da935866850692f7e0cb76434c4e26b13)
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
2# $FreeBSD$
3#
4# The include file <bsd.kmod.mk> handles building and installing loadable
5# kernel modules.
6#
7#
8# +++ variables +++

--- 324 unchanged lines hidden (view full) ---

333.if !target(realinstall)
334KERN_DEBUGDIR?= ${DEBUGDIR}
335realinstall: _kmodinstall
336.ORDER: beforeinstall _kmodinstall
337_kmodinstall: .PHONY
338 ${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
339 ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/
340.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} != "no"
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91
2# $FreeBSD$
3#
4# The include file <bsd.kmod.mk> handles building and installing loadable
5# kernel modules.
6#
7#
8# +++ variables +++

--- 324 unchanged lines hidden (view full) ---

333.if !target(realinstall)
334KERN_DEBUGDIR?= ${DEBUGDIR}
335realinstall: _kmodinstall
336.ORDER: beforeinstall _kmodinstall
337_kmodinstall: .PHONY
338 ${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
339 ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/
340.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && ${MK_KERNEL_SYMBOLS} != "no"
341 ${INSTALL} -T debug -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
341 ${INSTALL} -T dbg -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
342 ${_INSTALLFLAGS} ${PROG}.debug ${DESTDIR}${KERN_DEBUGDIR}${KMODDIR}/
343.endif
344
345.include <bsd.links.mk>
346
347.if !defined(NO_XREF)
348afterinstall: _kldxref
349.ORDER: realinstall _kldxref

--- 189 unchanged lines hidden ---
342 ${_INSTALLFLAGS} ${PROG}.debug ${DESTDIR}${KERN_DEBUGDIR}${KMODDIR}/
343.endif
344
345.include <bsd.links.mk>
346
347.if !defined(NO_XREF)
348afterinstall: _kldxref
349.ORDER: realinstall _kldxref

--- 189 unchanged lines hidden ---