Makefile revision 123911
1123911Simp# $FreeBSD: head/sys/modules/sio/Makefile 123911 2003-12-27 19:50:37Z imp $ 2123911Simp 3123911Simp.PATH: ${.CURDIR}/../../dev/sio 4123911Simp 5123911SimpKMOD= sio 6123911SimpSRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c 7123911Simp 8123911Simp.if ${MACHINE} == "sparc64" 9123911Simp### untested 10123911SimpCFLAGS += sio_ebus.c 11123911Simp.endif 12123911Simp.if ${MACHINE} == "pc98" 13123911SimpCFLAGS+= -DPC98 14123911Simp.else 15123911SimpSRCS+= sio_isa.c 16123911Simp.endif 17123911Simp 18123911Simpopt_compat.h: 19123911Simp @echo '#define COMPAT_43 1' > opt_compat.h 20123911Simp @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h 21123911Simp 22123911SimpSRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \ 23123911Simp bus_if.h card_if.h device_if.h isa_if.h pci_if.h 24123911Simp 25123911Simp.include <bsd.kmod.mk> 26