This patch add the proper .if/.else/.endif to the Makefiles, add places I forgot #ifdef __minix and remove newlines.
25 lines
890 B
Makefile
25 lines
890 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 1998/02/14 20:20:44 kleink Exp $
|
|
|
|
.PATH: ${.CURDIR}/termios
|
|
|
|
.if defined(__MINIX)
|
|
# Not supported by Minix: tcgetsid.c
|
|
SRCS+= cfgetispeed.c cfgetospeed.c cfmakeraw.c cfsetispeed.c cfsetospeed.c \
|
|
cfsetspeed.c tcdrain.c tcflow.c tcflush.c tcgetattr.c tcgetpgrp.c \
|
|
tcsendbreak.c tcsetattr.c tcsetpgrp.c
|
|
.else
|
|
SRCS+= cfgetispeed.c cfgetospeed.c cfmakeraw.c cfsetispeed.c cfsetospeed.c \
|
|
cfsetspeed.c tcdrain.c tcflow.c tcflush.c tcgetattr.c tcgetpgrp.c \
|
|
tcgetsid.c tcsendbreak.c tcsetattr.c tcsetpgrp.c
|
|
.endif
|
|
|
|
|
|
|
|
MAN+= tcgetpgrp.3 tcgetsid.3 tcsendbreak.3 tcsetattr.3 tcsetpgrp.3
|
|
|
|
MLINKS+=tcsendbreak.3 tcdrain.3 tcsendbreak.3 tcflow.3 \
|
|
tcsendbreak.3 tcflush.3
|
|
MLINKS+=tcsetattr.3 tcgetattr.3 tcsetattr.3 cfgetispeed.3 \
|
|
tcsetattr.3 cfgetospeed.3 tcsetattr.3 cfmakeraw.3 \
|
|
tcsetattr.3 cfsetispeed.3 tcsetattr.3 cfsetospeed.3 \
|
|
tcsetattr.3 cfsetspeed.3
|