1# $FreeBSD: head/sys/modules/sio/Makefile 123911 2003-12-27 19:50:37Z imp $
| 1# $FreeBSD: head/sys/modules/sio/Makefile 123935 2003-12-28 12:27:34Z nyan $
|
2
| 2
|
| 3.if ${MACHINE} == "pc98" 4.PATH: ${.CURDIR}/../../pc98/pc98 5.endif
|
3.PATH: ${.CURDIR}/../../dev/sio 4 5KMOD= sio 6SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c 7 8.if ${MACHINE} == "sparc64" 9### untested
| 6.PATH: ${.CURDIR}/../../dev/sio 7 8KMOD= sio 9SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c 10 11.if ${MACHINE} == "sparc64" 12### untested
|
10CFLAGS += sio_ebus.c
| 13SRCS+= sio_ebus.c
|
11.endif 12.if ${MACHINE} == "pc98"
| 14.endif 15.if ${MACHINE} == "pc98"
|
13CFLAGS+= -DPC98
| 16SRCS+= sio_cbus.c
|
14.else 15SRCS+= sio_isa.c 16.endif 17
| 17.else 18SRCS+= sio_isa.c 19.endif 20
|
| 21.if ${MACHINE} == "pc98" 22opt_sio.h: 23 @echo '#define COM_MULTIPORT 1' > opt_sio.h 24 @echo '#define COM_ESP 1' >> opt_sio.h 25.endif 26
|
18opt_compat.h: 19 @echo '#define COMPAT_43 1' > opt_compat.h 20 @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h 21 22SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \ 23 bus_if.h card_if.h device_if.h isa_if.h pci_if.h 24 25.include <bsd.kmod.mk>
| 27opt_compat.h: 28 @echo '#define COMPAT_43 1' > opt_compat.h 29 @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h 30 31SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \ 32 bus_if.h card_if.h device_if.h isa_if.h pci_if.h 33 34.include <bsd.kmod.mk>
|