kern.post.mk (111606) | kern.post.mk (111684) |
---|---|
1# Part of unified Makefile for building kernels. This includes all 2# the definitions that need to be included after all the % directives, 3# except %RULES and things that act like they are part of %RULES 4# 5# Most make variables should not be defined in this file. Instead, they 6# should be defined in the kern.pre.mk so that port makefiles can 7# override or augment them. 8# | 1# Part of unified Makefile for building kernels. This includes all 2# the definitions that need to be included after all the % directives, 3# except %RULES and things that act like they are part of %RULES 4# 5# Most make variables should not be defined in this file. Instead, they 6# should be defined in the kern.pre.mk so that port makefiles can 7# override or augment them. 8# |
9# $FreeBSD: head/sys/conf/kern.post.mk 111606 2003-02-27 08:52:11Z phk $ | 9# $FreeBSD: head/sys/conf/kern.post.mk 111684 2003-02-28 21:59:14Z ru $ |
10# 11 12.MAIN: all 13 14.for target in all clean cleandepend cleandir depend install obj reinstall tags 15${target}: kernel-${target} 16.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules) 17${target}: modules-${target} --- 93 unchanged lines hidden (view full) --- 111 112# XXX this belongs elsewhere (inside GEN_CFILES if possible). 113GEN_M_CFILES= ${MFILES:T:S/.m$/.c/} 114 115# The argument list can be very long, so use make -V and xargs to 116# pass it to mkdep. 117_kernel-depend: assym.s vnode_if.h miidevs.h ${BEFORE_DEPEND} \ 118 ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${GEN_M_CFILES} \ | 10# 11 12.MAIN: all 13 14.for target in all clean cleandepend cleandir depend install obj reinstall tags 15${target}: kernel-${target} 16.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules) 17${target}: modules-${target} --- 93 unchanged lines hidden (view full) --- 111 112# XXX this belongs elsewhere (inside GEN_CFILES if possible). 113GEN_M_CFILES= ${MFILES:T:S/.m$/.c/} 114 115# The argument list can be very long, so use make -V and xargs to 116# pass it to mkdep. 117_kernel-depend: assym.s vnode_if.h miidevs.h ${BEFORE_DEPEND} \ 118 ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${GEN_M_CFILES} \ |
119 ${SFILES} ${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/} | 119 ${SFILES} ${MFILES:T:S/.m$/.h/} |
120 if [ -f .olddep ]; then mv .olddep .depend; fi 121 rm -f .newdep 122 ${MAKE} -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES | \ 123 MKDEP_CPP="${CC} -E" CC="${CC}" xargs mkdep -a -f .newdep ${CFLAGS} | 120 if [ -f .olddep ]; then mv .olddep .depend; fi 121 rm -f .newdep 122 ${MAKE} -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES | \ 123 MKDEP_CPP="${CC} -E" CC="${CC}" xargs mkdep -a -f .newdep ${CFLAGS} |
124 ${MAKE} -V SFILES -V SYSTEM_SFILES | \ | 124 ${MAKE} -V SFILES | \ |
125 MKDEP_CPP="${CC} -E" xargs mkdep -a -f .newdep ${ASM_CFLAGS} 126 rm -f .depend 127 mv .newdep .depend 128 129kernel-cleandepend: 130 rm -f .depend 131 132links: --- 92 unchanged lines hidden --- | 125 MKDEP_CPP="${CC} -E" xargs mkdep -a -f .newdep ${ASM_CFLAGS} 126 rm -f .depend 127 mv .newdep .depend 128 129kernel-cleandepend: 130 rm -f .depend 131 132links: --- 92 unchanged lines hidden --- |