Makefile revision 129740
1123911Simp# $FreeBSD: head/sys/modules/sio/Makefile 129740 2004-05-26 00:53:10Z imp $ 2123911Simp 3123935Snyan.if ${MACHINE} == "pc98" 4123935Snyan.PATH: ${.CURDIR}/../../pc98/pc98 5123935Snyan.endif 6123911Simp.PATH: ${.CURDIR}/../../dev/sio 7123911Simp 8123911SimpKMOD= sio 9123960SbdeSRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \ 10123960Sbde opt_comconsole.h opt_compat.h opt_ddb.h opt_sio.h \ 11129740Simp sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h 12123911Simp.if ${MACHINE} == "pc98" 13123935SnyanSRCS+= sio_cbus.c 14123911Simp.else 15123911SimpSRCS+= sio_isa.c 16123911Simp.endif 17123911Simp 18123959Sbdeopt_compat.h: 19123960Sbde echo "#define COMPAT_43 1" > ${.TARGET} 20123959Sbde 21123935Snyan.if ${MACHINE} == "pc98" 22123935Snyanopt_sio.h: 23123960Sbde echo "#define COM_MULTIPORT 1" > ${.TARGET} 24123960Sbde echo "#define COM_ESP 1" >> ${.TARGET} 25123935Snyan.endif 26123935Snyan 27123911Simp.include <bsd.kmod.mk> 28