Makefile revision 159066
1# $FreeBSD: head/sys/modules/fdc/Makefile 159066 2006-05-30 09:38:54Z ru $ 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" 12CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica 13SRCS+= opt_acpi.h acpi_if.h fdc_acpi.c 14.endif 15.endif 16 17SRCS+= opt_fdc.h bus_if.h card_if.h device_if.h \ 18 isa_if.h pccarddevs.h 19 20FDC_DEBUG?= 0 # 0/1 21 22.if ${FDC_DEBUG} > 0 23 echo "#define FDC_DEBUG 1" >> ${.TARGET} 24.endif 25 26.include <bsd.kmod.mk> 27