<commit_before># $FreeBSD$

.if ${MACHINE} == "pc98"
.PATH: ${.CURDIR}/../../pc98/pc98
.endif
.PATH: ${.CURDIR}/../../dev/sio

KMOD=	sio
SRCS=	sio.c sio_pccard.c sio_pci.c sio_puc.c
SRCS+=	opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \
	bus_if.h card_if.h device_if.h isa_if.h pci_if.h

.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' > opt_compat.h
	@echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h

.if ${MACHINE} == "pc98"
opt_sio.h:
	@echo '#define COM_MULTIPORT 1' > opt_sio.h
	@echo '#define COM_ESP 1' >> opt_sio.h
.endif

.include <bsd.kmod.mk><commit_msg>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.<commit_after># $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>
{'fraction_non_alphanumeric': 0.17301875378100423, 'fraction_numerical': 0.02238354506957048, 'mean_word_length': 3.7257142857142855, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2939961', 'n_tokens_mistral': 775, 'n_tokens_neox': 744, 'n_words': 181}