<commit_before>VPATH+=	${TOPDIR}/io

SRCS+=	block_device.cc
SRCS+=	file_descriptor.cc
SRCS+=	io_system.cc
SRCS+=	pipe_link.cc
SRCS+=	pipe_null.cc
SRCS+=	pipe_sink.cc
SRCS+=	pipe_pair_echo.cc
SRCS+=	pipe_simple.cc
SRCS+=	socket.cc
SRCS+=	splice.cc
SRCS+=	splice_pair.cc
SRCS+=	unix_client.cc
SRCS+=	unix_server.cc

ifeq "${OSNAME}" "SunOS"
# Required for sockets.
LDADD+=		-lnsl
LDADD+=		-lsocket
endif

IO_REQUIRES=	event<commit_msg>Use libnetwork on Haiku.<commit_after>VPATH+=	${TOPDIR}/io

SRCS+=	block_device.cc
SRCS+=	file_descriptor.cc
SRCS+=	io_system.cc
SRCS+=	pipe_link.cc
SRCS+=	pipe_null.cc
SRCS+=	pipe_sink.cc
SRCS+=	pipe_pair_echo.cc
SRCS+=	pipe_simple.cc
SRCS+=	socket.cc
SRCS+=	splice.cc
SRCS+=	splice_pair.cc
SRCS+=	unix_client.cc
SRCS+=	unix_server.cc

ifeq "${OSNAME}" "Haiku"
# Required for sockets.
LDADD+=		-lnetwork
endif

ifeq "${OSNAME}" "SunOS"
# Required for sockets.
LDADD+=		-lnsl
LDADD+=		-lsocket
endif

IO_REQUIRES=	event
{'fraction_non_alphanumeric': 0.148109243697479, 'fraction_numerical': 0.0, 'mean_word_length': 5.572413793103448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6378431', 'n_tokens_mistral': 434, 'n_tokens_neox': 436, 'n_words': 93}