xref: /freebsd/lib/libutil/Makefile (revision 6b129086dcee14496517fae085b448e3edc69bc7)
1#	@(#)Makefile	8.1 (Berkeley) 6/4/93
2#	$FreeBSD$
3
4SHLIBDIR?= /lib
5
6.include <src.opts.mk>
7
8LIB=	util
9SHLIB_MAJOR= 9
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_getfile.c \
13	kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c kld.c \
14	login_auth.c login_cap.c \
15	login_class.c login_crypt.c login_ok.c login_times.c login_tty.c \
16	pidfile.c property.c pty.c pw_util.c quotafile.c realhostname.c \
17	stub.c trimdomain.c uucplock.c
18INCS=	libutil.h login_cap.h
19
20CFLAGS+= -DLIBC_SCCS
21
22.if ${MK_INET6_SUPPORT} != "no"
23CFLAGS+= -DINET6
24.endif
25
26CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
27
28MAN+=	expand_number.3 flopen.3 fparseln.3 hexdump.3 \
29	humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
30	kinfo_getproc.3 kinfo_getvmmap.3 kld.3 login_auth.3 login_cap.3 \
31	login_class.3 login_ok.3 login_times.3 login_tty.3 pidfile.3 \
32	property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \
33	_secure_path.3 trimdomain.3 uucplock.3 pw_util.3
34MAN+=	login.conf.5
35MLINKS+= kld.3 kld_isloaded.3 kld.3 kld_load.3
36MLINKS+=login_auth.3 auth_cat.3 login_auth.3 auth_checknologin.3
37MLINKS+=login_cap.3 login_close.3 login_cap.3 login_getcapbool.3 \
38	login_cap.3 login_getcaplist.3 login_cap.3 login_getcapnum.3 \
39	login_cap.3 login_getcapsize.3 login_cap.3 login_getcapstr.3 \
40	login_cap.3 login_getcaptime.3 login_cap.3 login_getclass.3 \
41	login_cap.3 login_getclassbyname.3 login_cap.3 login_getpath.3 \
42	login_cap.3 login_getpwclass.3 login_cap.3 login_getstyle.3 \
43	login_cap.3 login_getuserclass.3 login_cap.3 login_setcryptfmt.3
44MLINKS+=login_class.3 setclasscontext.3 login_class.3 setclassenvironment.3 \
45	login_class.3 setclassresources.3 login_class.3 setusercontext.3
46MLINKS+=login_ok.3 auth_hostok.3 login_ok.3 auth_timeok.3 \
47	login_ok.3 auth_ttyok.3
48MLINKS+=login_times.3 in_lt.3 login_times.3 in_ltm.3 \
49	login_times.3 in_ltms.3 \
50	login_times.3 in_lts.3 \
51	login_times.3 parse_lt.3
52MLINKS+=pidfile.3 pidfile_close.3 \
53	pidfile.3 pidfile_fileno.3 \
54	pidfile.3 pidfile_open.3 \
55	pidfile.3 pidfile_remove.3 \
56	pidfile.3 pidfile_write.3
57MLINKS+= property.3 property_find.3  property.3 properties_free.3
58MLINKS+= property.3 properties_read.3
59MLINKS+= pty.3 forkpty.3  pty.3 openpty.3
60MLINKS+=quotafile.3 quota_close.3 \
61	quotafile.3 quota_fsname.3 \
62	quotafile.3 quota_open.3 \
63	quotafile.3 quota_qfname.3 \
64	quotafile.3 quota_read.3 \
65	quotafile.3 quota_statfs.3 \
66	quotafile.3 quota_write_limits.3 \
67	quotafile.3 quota_write_usage.3
68MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
69	uucplock.3 uu_lockerr.3 uucplock.3 uu_unlock.3
70MLINKS+=pw_util.3 pw_copy.3 \
71	pw_util.3 pw_dup.3 \
72	pw_util.3 pw_edit.3 \
73	pw_util.3 pw_equal.3 \
74	pw_util.3 pw_fini.3 \
75	pw_util.3 pw_init.3 \
76	pw_util.3 pw_make.3 \
77	pw_util.3 pw_make_v7.3 \
78	pw_util.3 pw_mkdb.3 \
79	pw_util.3 pw_lock.3 \
80	pw_util.3 pw_scan.3 \
81	pw_util.3 pw_tempname.3 \
82	pw_util.3 pw_tmp.3
83
84.if ${MK_TESTS} != "no"
85SUBDIR+=	tests
86.endif
87
88.include <bsd.lib.mk>
89