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