Makefile revision 158124
1123911Simp# $FreeBSD: head/sys/modules/sio/Makefile 158124 2006-04-28 21:21:53Z marcel $ 2123911Simp 3123935Snyan.if ${MACHINE} == "pc98" 4146049Snyan.PATH: ${.CURDIR}/../../pc98/cbus 5123935Snyan.endif 6123911Simp.PATH: ${.CURDIR}/../../dev/sio 7123911Simp 8123911SimpKMOD= sio 9158124SmarcelSRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h serdev_if.h \ 10137947Smarcel opt_comconsole.h opt_compat.h opt_gdb.h opt_kdb.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 18151350Syar.if !defined(KERNBUILDDIR) 19123959Sbdeopt_compat.h: 20123960Sbde echo "#define COMPAT_43 1" > ${.TARGET} 21123959Sbde 22123935Snyan.if ${MACHINE} == "pc98" 23123935Snyanopt_sio.h: 24123960Sbde echo "#define COM_MULTIPORT 1" > ${.TARGET} 25123960Sbde echo "#define COM_ESP 1" >> ${.TARGET} 26123935Snyan.endif 27151350Syar.endif 28123935Snyan 29123911Simp.include <bsd.kmod.mk> 30