opnsense-src/sys/modules/digi/digi/Makefile
Warner Losh 9e51595ce6 Per email to arch@ a little while ago (that was greeted with silence),
prefer the more common > ${.TARGET} over > opt_foo.h in modules
makefiles.
2008-09-01 23:59:00 +00:00

16 lines
360 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../dev/digi
KMOD= digi
SRCS= digi.c digi_pci.c digi_isa.c
SRCS+= digi.h digi_pci.h digireg.h digi_mod.h
SRCS+= bus_if.h pci_if.h device_if.h
SRCS+= opt_compat.h
.if !defined(KERNBUILDDIR)
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
echo "#define COMPAT_FREEBSD6 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>