1 2.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE} 3.PATH: ${SRCTOP}/sys/dev/efidev 4 5KMOD= efirt 6SRCS= efirt.c efirt_machdep.c efidev.c 7SRCS+= efirtc.c 8SRCS+= device_if.h bus_if.h clock_if.h 9 10.if ${MACHINE_CPUARCH} == "amd64" 11SRCS+= opt_hwpmc_hooks.h opt_kstack_pages.h 12SRCS+= efirt_support.S 13DPSRCS+= assym.inc 14efirt_support.o: efirt_support.S assym.inc 15 ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ 16 ${.IMPSRC} -o ${.TARGET} 17.endif 18 19EXPORT_SYMS= YES 20 21.include <bsd.kmod.mk> 22