xref: /freebsd/lib/libutil/Makefile (revision 24b687b8ded891e8fb39dca58135df6c6c5b9bb9)
1#	@(#)Makefile	8.1 (Berkeley) 6/4/93
2
3LIB=	util
4SHLIB_MAJOR= 2
5SHLIB_MINOR= 2
6CFLAGS+=-Wall -DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys
7#CFLAGS+=LOGIN_CAP_AUTH
8SRCS=	login.c login_tty.c logout.c logwtmp.c pty.c setproctitle.c \
9	login_cap.c login_class.c login_auth.c login_times.c login_ok.c \
10	_secure_path.c uucplock.c
11MAN3+=	login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
12	setproctitle.3 login_cap.3 login_class.3 login_times.3 login_ok.3 \
13	_secure_path.3 uucplock.3
14MAN5+=	login.conf.5
15MLINKS+= pty.3 openpty.3  pty.3 forkpty.3
16MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
17	login_cap.3 login_getclass.3 login_cap.3 login_getuserclass.3 \
18	login_cap.3 login_getcapstr.3 login_cap.3 login_getcaplist.3 \
19	login_cap.3 login_getstyle.3 login_cap.3 login_getcaptime.3 \
20	login_cap.3 login_getcapnum.3 login_cap.3 login_getcapsize.3 \
21	login_cap.3 login_getcapbool.3 login_cap.3 login_getpath.3
22MLINKS+=login_class.3 setusercontext.3 login_class.3 setclasscontext.3 \
23	login_class.3 setclassenvironment.3 login_class.3 setclassresources.3
24MLINKS+=login_times.3 parse_lt.3 login_times.3 in_ltm.3 \
25	login_times.3 in_lt.3 login_times.3 in_ltms.3 \
26	login_times.3 in_lts.3
27MLINKS+=login_ok.3 auth_ttyok.3 login_ok.3 auth_hostok.3 \
28	login_ok.3 auth_timeok.3
29MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3
30
31beforeinstall:
32	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/libutil.h \
33		${DESTDIR}/usr/include
34	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/login_cap.h \
35		${DESTDIR}/usr/include
36
37.include <bsd.lib.mk>
38