xref: /freebsd/sys/modules/efirt/Makefile (revision 856d3167995a5c9e1fc69a69ad393ab9e552c420)
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+=	efirt_support.S
8SRCS+=  device_if.h bus_if.h clock_if.h
9DPSRCS+= assym.inc
10
11.if ${MACHINE_CPUARCH} == "amd64"
12SRCS+=	opt_hwpmc_hooks.h opt_kstack_pages.h
13.endif
14
15efirt_support.o:	efirt_support.S assym.inc
16	${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
17	    ${.IMPSRC} -o ${.TARGET}
18
19EXPORT_SYMS=	YES
20
21.include <bsd.kmod.mk>
22