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