1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 |
2# $FreeBSD: head/sys/conf/kmod.mk 228124 2011-11-29 08:38:47Z fjoe $ |
3# 4# The include file <bsd.kmod.mk> handles building and installing loadable 5# kernel modules. 6# 7# 8# +++ variables +++ 9# 10# CLEANFILES Additional files to remove for the clean and cleandir targets. --- 190 unchanged lines hidden (view full) --- 201.endif 202 203.if ${__KLD_SHARED} == yes 204${KMOD}.kld: ${OBJS} 205.else 206${FULLPROG}: ${OBJS} 207.endif 208 ${LD} ${LDFLAGS} -r -d -o ${.TARGET} ${OBJS} |
209.if !defined(NO_CTF) 210 ${CTFMERGE} ${CTFFLAGS} -o ${.TARGET} ${OBJS} 211.endif |
212.if defined(EXPORT_SYMS) 213.if ${EXPORT_SYMS} != YES 214.if ${EXPORT_SYMS} == NO 215 :> export_syms 216.elif !exists(${.CURDIR}/${EXPORT_SYMS}) 217 echo ${EXPORT_SYMS} > export_syms 218.else 219 grep -v '^#' < ${EXPORT_SYMS} > export_syms --- 266 unchanged lines hidden --- |