Deleted Added
full compact
Makefile (146049) Makefile (151350)
1# $FreeBSD: head/sys/modules/sio/Makefile 146049 2005-05-10 12:02:18Z nyan $
1# $FreeBSD: head/sys/modules/sio/Makefile 151350 2005-10-14 23:30:17Z yar $
2
3.if ${MACHINE} == "pc98"
4.PATH: ${.CURDIR}/../../pc98/cbus
5.endif
6.PATH: ${.CURDIR}/../../dev/sio
7
8KMOD= sio
9SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
10 opt_comconsole.h opt_compat.h opt_gdb.h opt_kdb.h opt_sio.h \
11 sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h
12.if ${MACHINE} == "pc98"
13SRCS+= sio_cbus.c
14.else
15SRCS+= sio_isa.c
16.endif
17
2
3.if ${MACHINE} == "pc98"
4.PATH: ${.CURDIR}/../../pc98/cbus
5.endif
6.PATH: ${.CURDIR}/../../dev/sio
7
8KMOD= sio
9SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
10 opt_comconsole.h opt_compat.h opt_gdb.h opt_kdb.h opt_sio.h \
11 sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h
12.if ${MACHINE} == "pc98"
13SRCS+= sio_cbus.c
14.else
15SRCS+= sio_isa.c
16.endif
17
18.if !defined(KERNBUILDDIR)
18opt_compat.h:
19 echo "#define COMPAT_43 1" > ${.TARGET}
20
21.if ${MACHINE} == "pc98"
22opt_sio.h:
23 echo "#define COM_MULTIPORT 1" > ${.TARGET}
24 echo "#define COM_ESP 1" >> ${.TARGET}
25.endif
19opt_compat.h:
20 echo "#define COMPAT_43 1" > ${.TARGET}
21
22.if ${MACHINE} == "pc98"
23opt_sio.h:
24 echo "#define COM_MULTIPORT 1" > ${.TARGET}
25 echo "#define COM_ESP 1" >> ${.TARGET}
26.endif
27.endif
26
27.include <bsd.kmod.mk>
28
29.include <bsd.kmod.mk>