freebsd-skq/sys/modules/fdc/Makefile
imp 78dfca3951 Break out the isa and pccard front ends from fdc. This is the first
step in making this driver more attachment neutral.  Others plan on
adding acpi front ends.

Still need to cleanup the MI part of the driver because it isn't as
bus independent as it could be.
2004-07-07 22:35:27 +00:00

25 lines
428 B
Makefile

# $FreeBSD$
.if ${MACHINE} == "pc98"
.PATH: ${.CURDIR}/../../pc98/pc98
.else
.PATH: ${.CURDIR}/../../dev/fdc
.endif
KMOD= fdc
.if ${MACHINE} == "pc98"
SRCS= fd.c
.else
SRCS= fdc.c fdc_isa.c fdc_pccard.c
.endif
SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h
FDC_DEBUG?= 0 # 0/1
opt_fdc.h:
touch ${.TARGET}
.if ${FDC_DEBUG} > 0
echo "#define FDC_DEBUG 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>