Changeset View
Changeset View
Standalone View
Standalone View
head/sys/modules/svr4/Makefile
Show All 16 Lines | |||||
svr4_assym.h: svr4_genassym.o | svr4_assym.h: svr4_genassym.o | ||||
sh ${SYSDIR}/kern/genassym.sh svr4_genassym.o > ${.TARGET} | sh ${SYSDIR}/kern/genassym.sh svr4_genassym.o > ${.TARGET} | ||||
svr4_locore.o: svr4_locore.s svr4_assym.h | svr4_locore.o: svr4_locore.s svr4_assym.h | ||||
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ | ||||
${.IMPSRC} -o ${.TARGET} | ${.IMPSRC} -o ${.TARGET} | ||||
svr4_genassym.o: svr4_genassym.c svr4.h | svr4_genassym.o: svr4_genassym.c svr4.h | ||||
${CC} -c ${CFLAGS:N-fno-common} ${.IMPSRC} | ${CC} -c ${CFLAGS:N-flto:N-fno-common} ${.IMPSRC} | ||||
.if !defined(KERNBUILDDIR) && defined(DEBUG) | .if !defined(KERNBUILDDIR) && defined(DEBUG) | ||||
opt_svr4.h: | opt_svr4.h: | ||||
echo "#define DEBUG_SVR4 1" > ${.TARGET} | echo "#define DEBUG_SVR4 1" > ${.TARGET} | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |