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