c40ecff845
This brings in various CLEANFILES/DEPENDOBJS handling. MFC after: 2 weeks Sponsored by: DellEMC
21 lines
474 B
Makefile
21 lines
474 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/${MACHINE}/${MACHINE}
|
|
.PATH: ${SRCTOP}/sys/dev/efidev
|
|
|
|
KMOD= efirt
|
|
SRCS= efirt.c efirt_machdep.c efidev.c
|
|
SRCS+= efirtc.c
|
|
SRCS+= device_if.h bus_if.h clock_if.h
|
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
|
SRCS+= opt_hwpmc_hooks.h opt_kstack_pages.h
|
|
SRCS+= efirt_support.S
|
|
DPSRCS+= assym.inc
|
|
efirt_support.o: efirt_support.S assym.inc
|
|
${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \
|
|
${.IMPSRC} -o ${.TARGET}
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|