kern.post.mk (be64968040dcbab18ffe3dc9c14966e681f8ff83) kern.post.mk (6d75a7a852fe046e3866858ff995447498904e95)
1# $FreeBSD$
2
3# Part of a unified Makefile for building kernels. This part includes all
4# the definitions that need to be after all the % directives except %RULES
5# and ones that act like they are part of %RULES.
6#
7# Most make variables should not be defined in this file. Instead, they
8# should be defined in the kern.pre.mk so that port makefiles can

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

30# Allow overriding the kernel debug directory, so kernel and user debug may be
31# installed in different directories. Setting it to "" restores the historical
32# behavior of installing debug files in the kernel directory.
33KERN_DEBUGDIR?= ${DEBUGDIR}
34
35.MAIN: all
36
37.for target in all clean cleandepend cleandir clobber depend install \
1# $FreeBSD$
2
3# Part of a unified Makefile for building kernels. This part includes all
4# the definitions that need to be after all the % directives except %RULES
5# and ones that act like they are part of %RULES.
6#
7# Most make variables should not be defined in this file. Instead, they
8# should be defined in the kern.pre.mk so that port makefiles can

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

30# Allow overriding the kernel debug directory, so kernel and user debug may be
31# installed in different directories. Setting it to "" restores the historical
32# behavior of installing debug files in the kernel directory.
33KERN_DEBUGDIR?= ${DEBUGDIR}
34
35.MAIN: all
36
37.for target in all clean cleandepend cleandir clobber depend install \
38 obj reinstall tags
38 ${_obj} reinstall tags
39${target}: kernel-${target}
40.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
41${target}: modules-${target}
42modules-${target}:
43 cd $S/modules; ${MKMODULESENV} ${MAKE} \
44 ${target:S/^reinstall$/install/:S/^clobber$/cleandir/}
45.endif
46.endfor

--- 358 unchanged lines hidden ---
39${target}: kernel-${target}
40.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)
41${target}: modules-${target}
42modules-${target}:
43 cd $S/modules; ${MKMODULESENV} ${MAKE} \
44 ${target:S/^reinstall$/install/:S/^clobber$/cleandir/}
45.endif
46.endfor

--- 358 unchanged lines hidden ---