Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kmod.mk
Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Lines | |||||
assym.s: ${SYSDIR}/kern/genassym.sh | assym.s: ${SYSDIR}/kern/genassym.sh | ||||
sh ${SYSDIR}/kern/genassym.sh genassym.o > ${.TARGET} | sh ${SYSDIR}/kern/genassym.sh genassym.o > ${.TARGET} | ||||
genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c | genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c | ||||
genassym.o: ${SRCS:Mopt_*.h} | genassym.o: ${SRCS:Mopt_*.h} | ||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} \ | ${CC} -c ${CFLAGS:N-flto:N-fno-common} \ | ||||
${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c | ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c | ||||
.endif | .endif | ||||
lint: ${SRCS} | |||||
${LINT} ${LINTKERNFLAGS} ${CFLAGS:M-[DILU]*} ${.ALLSRC:M*.c} | |||||
.if defined(KERNBUILDDIR) | .if defined(KERNBUILDDIR) | ||||
${OBJS}: opt_global.h | ${OBJS}: opt_global.h | ||||
.endif | .endif | ||||
CLEANDEPENDFILES+= ${_ILINKS} | CLEANDEPENDFILES+= ${_ILINKS} | ||||
# .depend needs include links so we remove them only together. | # .depend needs include links so we remove them only together. | ||||
cleanilinks: | cleanilinks: | ||||
rm -f ${_ILINKS} | rm -f ${_ILINKS} | ||||
OBJS_DEPEND_GUESS+= ${SRCS:M*.h} | OBJS_DEPEND_GUESS+= ${SRCS:M*.h} | ||||
.include <bsd.dep.mk> | .include <bsd.dep.mk> | ||||
.include <bsd.clang-analyze.mk> | .include <bsd.clang-analyze.mk> | ||||
.include <bsd.obj.mk> | .include <bsd.obj.mk> | ||||
.include "kern.mk" | .include "kern.mk" |