1# $FreeBSD$ 2 3KMOD= fdc 4 5.PATH: ${.CURDIR}/../../dev/fdc 6.if ${MACHINE} == "pc98" 7SRCS= fdc.c fdc_cbus.c 8.else 9SRCS= fdc.c fdc_isa.c fdc_pccard.c 10.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 11SRCS+= opt_acpi.h acpi_if.h fdc_acpi.c 12.endif 13.endif 14 15SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \ 16 isa_if.h pccarddevs.h 17 18FDC_DEBUG?= 0 # 0/1 19 20.if ${FDC_DEBUG} > 0 21 echo "#define FDC_DEBUG 1" >> ${.TARGET} 22.endif 23 24.include <bsd.kmod.mk> 25