2001-06-29 07:36:29 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
KMOD= fdc
|
2004-07-16 18:37:00 +00:00
|
|
|
|
2014-09-25 20:40:24 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/fdc
|
2004-05-17 10:48:42 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
2005-05-10 12:02:18 +00:00
|
|
|
SRCS= fdc.c fdc_cbus.c
|
2004-05-17 10:48:42 +00:00
|
|
|
.else
|
2004-07-16 18:37:00 +00:00
|
|
|
SRCS= fdc.c fdc_isa.c fdc_pccard.c
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
|
|
SRCS+= opt_acpi.h acpi_if.h fdc_acpi.c
|
2004-05-17 10:48:42 +00:00
|
|
|
.endif
|
2004-07-16 18:37:00 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \
|
2004-07-15 16:44:14 +00:00
|
|
|
isa_if.h pccarddevs.h
|
2001-06-29 07:36:29 +00:00
|
|
|
|
2001-06-29 15:23:31 +00:00
|
|
|
FDC_DEBUG?= 0 # 0/1
|
2001-06-29 07:36:29 +00:00
|
|
|
|
|
|
|
.if ${FDC_DEBUG} > 0
|
|
|
|
echo "#define FDC_DEBUG 1" >> ${.TARGET}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|