Makefile revision 89260
1# $FreeBSD: head/sys/modules/fdc/Makefile 89260 2002-01-11 15:49:02Z ru $ 2 3.if ${MACHINE} == "pc98" 4.PATH: ${.CURDIR}/../../pc98/pc98 5CFLAGS+= -DPC98 6.else 7.PATH: ${.CURDIR}/../../isa 8.endif 9 10KMOD= fdc 11SRCS= fd.c \ 12 opt_fdc.h card.h \ 13 bus_if.h card_if.h device_if.h isa_if.h 14 15FDC_DEBUG?= 0 # 0/1 16FDC_PCCARD?= 1 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA 17# # fdc) is desired 18 19CLEANFILES= card.h 20 21opt_fdc.h: 22 touch ${.TARGET} 23.if ${FDC_DEBUG} > 0 24 echo "#define FDC_DEBUG 1" >> ${.TARGET} 25.endif 26 27card.h: 28 touch ${.TARGET} 29.if ${FDC_PCCARD} > 0 30 echo "#define NCARD 1" >> ${.TARGET} 31.endif 32 33.include <bsd.kmod.mk> 34