2003-12-27 19:50:37 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2003-12-28 12:27:34 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
.PATH: ${.CURDIR}/../../pc98/pc98
|
|
|
|
.endif
|
2003-12-27 19:50:37 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/sio
|
|
|
|
|
|
|
|
KMOD= sio
|
2003-12-29 08:45:38 +00:00
|
|
|
SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
|
|
|
|
opt_comconsole.h opt_compat.h opt_ddb.h opt_sio.h \
|
2004-05-26 00:53:10 +00:00
|
|
|
sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h
|
2003-12-27 19:50:37 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
2003-12-28 12:27:34 +00:00
|
|
|
SRCS+= sio_cbus.c
|
2003-12-27 19:50:37 +00:00
|
|
|
.else
|
|
|
|
SRCS+= sio_isa.c
|
|
|
|
.endif
|
2003-12-28 12:27:34 +00:00
|
|
|
|
2003-12-27 19:50:37 +00:00
|
|
|
opt_compat.h:
|
2003-12-29 08:45:38 +00:00
|
|
|
echo "#define COMPAT_43 1" > ${.TARGET}
|
2003-12-27 19:50:37 +00:00
|
|
|
|
2003-12-29 08:35:33 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
opt_sio.h:
|
2003-12-29 08:45:38 +00:00
|
|
|
echo "#define COM_MULTIPORT 1" > ${.TARGET}
|
|
|
|
echo "#define COM_ESP 1" >> ${.TARGET}
|
2003-12-29 08:35:33 +00:00
|
|
|
.endif
|
2003-12-27 19:50:37 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|