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