minix/drivers/tty/Makefile
David van Moolenbroek 3d697930dd TTY: use libchardriver; clean up
- writing to a PTY master side blocks if there is not already a
  blocked reader on the slave side, and select now reflects this;
- internally, TTY now uses a test based on "caller != NONE" rather
  than "grant != GRANT_INVALID" to identify whether a call is
  currently ongoing;
- "offset" fields have been removed as they equal the corresponding
  "cum" fields;
- improved variable typing and function naming here and there;
- various other small fixes.

Change-Id: I6b51452888942e864b4e034e8c8490576184a23e
2014-03-01 09:04:52 +01:00

22 lines
368 B
Makefile

# Makefile for terminal driver (TTY)
PROG= tty
.include "arch/${MACHINE_ARCH}/Makefile.inc"
SRCS += tty.c pty.c
DPADD+= ${LIBCHARDRIVER} ${LIBSYS} ${LIBTIMERS}
LDADD+= -lchardriver -lsys -ltimers
MAN=
BINDIR?= /usr/sbin
SUBDIR= keymaps
# Needs kernel/const.h, etc
CPPFLAGS+= -I${.CURDIR} -I${NETBSDSRCDIR}
.include <minix.service.mk>
.include <bsd.subdir.mk>