freebsd-dev/sys/modules/fdc/Makefile
Joerg Wunsch 323fed60a5 Two more "oops"es here: i didn't mean to turn on fdc debugging by
default in the KLD, and to turn off pccard support, so reverse each of
the flags.  Also, the flags should be overridable by /etc/make.conf.
2001-06-29 15:23:31 +00:00

30 lines
483 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../isa
KMOD= fdc
SRCS= fd.c \
opt_fdc.h card.h \
bus_if.h card_if.h device_if.h isa_if.h
NOMAN=
FDC_DEBUG?= 0 # 0/1
FDC_PCCARD?= 1 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA
# # fdc) is desired
CLEANFILES= card.h
opt_fdc.h:
touch ${.TARGET}
.if ${FDC_DEBUG} > 0
echo "#define FDC_DEBUG 1" >> ${.TARGET}
.endif
card.h:
touch ${.TARGET}
.if ${FDC_PCCARD} > 0
echo "#define NCARD 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>