#	stty(1) for the phone, from src/bin/stty (docs/PORTING-USERLAND.md)
#
# stty(1) speaks NetBSD's tty interface; glibc's differs in a dozen names
# (linedn_t/TIOCGLINED/TIOCGQSIZE, OXTABS, ALTWERASE, NOKERNINFO, MDMBUF,
# CDTRCTS, VDSUSP, VSTATUS).  src/lib/libmxlinux/mx_termios.h carries
# exactly those, with the reason and the Linux value for each (since
# 2026-11-12 for every program of src/: mxlinux.h includes it outside this
# frame), and is named by its full path because
# Makefile.host reads the program's Makefile with .CURDIR switched to
# src/bin/stty, where this directory's .SRCDIR is not in scope (measured for
# the test port: -I${.SRCDIR} came out as a bare -I).

CPPFLAGS+=	-include ${NETBSDSRCDIR}/lib/libmxlinux/mx_termios.h

MX_SRCDIR=	bin/stty

.include "../mk/mx.prog.mk"
