freebsd-dev/sys/modules/sio/Makefile
Bruce Evans 8a1a7f65e2 Fixed some style bugs:
- SRCS was totally disordered.
- the echos to create options headers were hidden using '@'.
- the args of echos to create options headers were single-quoted.
- the target names for the rules to create options headers were repeated.
- the unused option COMPAT_FREEBSD4 was put in opt_compat.h.
2003-12-29 08:45:38 +00:00

32 lines
620 B
Makefile

# $FreeBSD$
.if ${MACHINE} == "pc98"
.PATH: ${.CURDIR}/../../pc98/pc98
.endif
.PATH: ${.CURDIR}/../../dev/sio
KMOD= sio
SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
opt_comconsole.h opt_compat.h opt_ddb.h opt_sio.h \
sio.c sio_pccard.c sio_pci.c sio_puc.c
.if ${MACHINE} == "pc98"
SRCS+= sio_cbus.c
.else
SRCS+= sio_isa.c
.endif
.if ${MACHINE} == "sparc64"
### untested
SRCS+= sio_ebus.c
.endif
opt_compat.h:
echo "#define COMPAT_43 1" > ${.TARGET}
.if ${MACHINE} == "pc98"
opt_sio.h:
echo "#define COM_MULTIPORT 1" > ${.TARGET}
echo "#define COM_ESP 1" >> ${.TARGET}
.endif
.include <bsd.kmod.mk>