Makefile revision 132218
1# $FreeBSD: head/sys/modules/fdc/Makefile 132218 2004-07-15 16:44:14Z njl $
2
3.if ${MACHINE} == "pc98"
4.PATH:  ${.CURDIR}/../../pc98/pc98
5.else
6.PATH:  ${.CURDIR}/../../dev/fdc
7.endif
8KMOD=	fdc
9WARNS?=	2
10.if ${MACHINE} == "pc98"
11SRCS=	fd.c fdc_cbus.c
12.else
13CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
14SRCS=	fdc.c fdc_acpi.c fdc_isa.c fdc_pccard.c
15.endif
16SRCS+=	opt_acpi.h opt_fdc.h acpi_if.h bus_if.h card_if.h device_if.h \
17	isa_if.h pccarddevs.h
18
19FDC_DEBUG?=	0	# 0/1
20
21opt_fdc.h:
22	touch ${.TARGET}
23.if ${FDC_DEBUG} > 0
24	echo "#define FDC_DEBUG 1" >> ${.TARGET}
25.endif
26
27.include <bsd.kmod.mk>
28