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