483f4c8371
also add the missing declaration of forkpty() to libutil.h. Btw., the calling interface for login(3) is crude. Some better abstraction is needed, perhaps similar to logwtmp(3). 2.2 candidate, but i'll wait for the spelling police first. :)
16 lines
428 B
Makefile
16 lines
428 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
|
|
|
LIB= util
|
|
SHLIB_MAJOR= 2
|
|
SHLIB_MINOR= 1
|
|
CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I/sys
|
|
SRCS= login.c login_tty.c logout.c logwtmp.c pty.c setproctitle.c
|
|
MAN3+= login.3 login_tty.3 logout.3 logwtmp.3 pty.3 setproctitle.3
|
|
MLINKS+= pty.3 openpty.3 pty.3 forkpty.3
|
|
|
|
beforeinstall:
|
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/libutil.h \
|
|
${DESTDIR}/usr/include
|
|
|
|
.include <bsd.lib.mk>
|