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