# DF-3797 full-path replica — compiles the REAL ena-com translation unit
# (unmodified, from the audited tree, shipped in ./ena-com/) plus the
# replica driver.
#
#   make -f Makefile.full              -> baseline (unpatched) enafull.ko
#   make -f Makefile.full FIXED=1      -> build against ./ena-com-fix/
#                                          (fix.diff applied) — for the
#                                          fix-validation run the include
#                                          path is switched and
#                                          -DENAFULL_FIXED sets reg_bar_len.
#
# Run: kldload ./enafull.ko && sysctl hw.enafull=1

KMOD=	enafull
FIXED?=	0

.if ${FIXED} != 0
COPTS+=	-DENAFULL_FIXED
.endif

SRCS=	enafull.c device_if.h bus_if.h pci_if.h

.include <bsd.kmod.mk>
