xref: /freebsd/lib/libutil/Makefile (revision 39beb93c3f8bdbf72a61fda42300b5ebed7390c8)
1#	@(#)Makefile	8.1 (Berkeley) 6/4/93
2#	$FreeBSD$
3
4SHLIBDIR?= /lib
5
6.include <bsd.own.mk>
7
8LIB=	util
9SHLIB_MAJOR= 7
10
11SRCS=	_secure_path.c auth.c expand_number.c flopen.c fparseln.c gr_util.c \
12	hexdump.c humanize_number.c kinfo_getfile.c kinfo_getvmmap.c kld.c \
13	login.c login_auth.c login_cap.c \
14	login_class.c login_crypt.c login_ok.c login_times.c login_tty.c \
15	logout.c logwtmp.c pidfile.c property.c pty.c pw_util.c realhostname.c \
16	stub.c trimdomain.c uucplock.c
17INCS=	libutil.h login_cap.h
18
19WARNS?=	6
20
21CFLAGS+= -DLIBC_SCCS
22
23.if ${MK_INET6_SUPPORT} != "no"
24CFLAGS+= -DINET6
25.endif
26
27CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
28
29MAN+=	kld.3 login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
30	login_cap.3 login_class.3 login_times.3 login_ok.3 \
31	_secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \
32	realhostname_sa.3 trimdomain.3 fparseln.3 humanize_number.3 \
33	pidfile.3 flopen.3 expand_number.3 hexdump.3 \
34	kinfo_getfile.3 kinfo_getvmmap.3
35MAN+=	login.conf.5 auth.conf.5
36MLINKS+= kld.3 kld_isloaded.3 kld.3 kld_load.3
37MLINKS+= property.3 properties_read.3  property.3 properties_free.3
38MLINKS+= property.3 property_find.3
39MLINKS+= auth.3 auth_getval.3
40MLINKS+= pty.3 openpty.3  pty.3 forkpty.3
41MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
42	login_cap.3 login_getclass.3 login_cap.3 login_getuserclass.3 \
43	login_cap.3 login_getcapstr.3 login_cap.3 login_getcaplist.3 \
44	login_cap.3 login_getstyle.3 login_cap.3 login_getcaptime.3 \
45	login_cap.3 login_getcapnum.3 login_cap.3 login_getcapsize.3 \
46	login_cap.3 login_getcapbool.3 login_cap.3 login_getpath.3 \
47	login_cap.3 login_getpwclass.3 login_cap.3 login_setcryptfmt.3
48MLINKS+=login_class.3 setusercontext.3 login_class.3 setclasscontext.3 \
49	login_class.3 setclassenvironment.3 login_class.3 setclassresources.3
50MLINKS+=login_times.3 parse_lt.3 login_times.3 in_ltm.3 \
51	login_times.3 in_lt.3 login_times.3 in_ltms.3 \
52	login_times.3 in_lts.3
53MLINKS+=login_ok.3 auth_ttyok.3 login_ok.3 auth_hostok.3 \
54	login_ok.3 auth_timeok.3
55MLINKS+=login_auth.3 auth_checknologin.3 login_auth.3 auth_cat.3
56MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
57	uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3
58MLINKS+=pidfile.3 pidfile_open.3 \
59	pidfile.3 pidfile_write.3 \
60	pidfile.3 pidfile_close.3 \
61	pidfile.3 pidfile_remove.3
62
63.include <bsd.lib.mk>
64