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