summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk17
1 files changed, 5 insertions, 12 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index b8ac275..4a97f96 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -167,16 +167,9 @@ ${KMOD}.kld: ${OBJS}
.endif
-.if !target(all-man)
-all-man: _SUBDIR
-.endif
-.if !target(maninstall)
-maninstall: _SUBDIR
-.endif
-
_ILINKS=@ machine
-all: objwarn ${PROG} _SUBDIR
+all: objwarn ${PROG}
beforedepend: ${_ILINKS}
@rm -f .depend
@@ -225,11 +218,11 @@ _INSTALLFLAGS:= ${INSTALLFLAGS}
_INSTALLFLAGS:= ${_INSTALLFLAGS${ie}}
.endfor
-install.debug: _SUBDIR
+install.debug:
${INSTALL} ${COPY} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
${_INSTALLFLAGS} ${FULLPROG} ${DESTDIR}${KMODDIR}/
-realinstall: _SUBDIR
+realinstall:
${INSTALL} ${COPY} -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/
.if defined(LINKS) && !empty(LINKS)
@@ -258,14 +251,14 @@ realinstall: _SUBDIR
-kldxref ${DESTDIR}${KMODDIR}
.endif
-install: afterinstall _SUBDIR
+install: afterinstall
afterinstall: realinstall
realinstall: beforeinstall
.endif
DISTRIBUTION?= bin
.if !target(distribute)
-distribute: _SUBDIR
+distribute:
.for dist in ${DISTRIBUTION}
cd ${.CURDIR} ; $(MAKE) install DESTDIR=${DISTDIR}/${dist} SHARED=copies
.endfor
OpenPOWER on IntegriCloud