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