Makefile revision 123959
1123911Simp# $FreeBSD: head/sys/modules/sio/Makefile 123959 2003-12-29 08:35:33Z bde $ 2123911Simp 3123935Snyan.if ${MACHINE} == "pc98" 4123935Snyan.PATH: ${.CURDIR}/../../pc98/pc98 5123935Snyan.endif 6123911Simp.PATH: ${.CURDIR}/../../dev/sio 7123911Simp 8123911SimpKMOD= sio 9123911SimpSRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c 10123959SbdeSRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \ 11123959Sbde bus_if.h card_if.h device_if.h isa_if.h pci_if.h 12123911Simp 13123911Simp.if ${MACHINE} == "pc98" 14123935SnyanSRCS+= sio_cbus.c 15123911Simp.else 16123911SimpSRCS+= sio_isa.c 17123911Simp.endif 18123959Sbde.if ${MACHINE} == "sparc64" 19123959Sbde### untested 20123959SbdeSRCS+= sio_ebus.c 21123959Sbde.endif 22123911Simp 23123959Sbdeopt_compat.h: 24123959Sbde @echo '#define COMPAT_43 1' > opt_compat.h 25123959Sbde @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h 26123959Sbde 27123935Snyan.if ${MACHINE} == "pc98" 28123935Snyanopt_sio.h: 29123935Snyan @echo '#define COM_MULTIPORT 1' > opt_sio.h 30123935Snyan @echo '#define COM_ESP 1' >> opt_sio.h 31123935Snyan.endif 32123935Snyan 33123911Simp.include <bsd.kmod.mk> 34