1994-05-27 05:00:24 +00:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1999-11-04 08:33:18 +00:00
|
|
|
# $FreeBSD$
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2016-02-04 21:16:35 +00:00
|
|
|
PACKAGE=lib${LIB}
|
2006-06-11 09:14:06 +00:00
|
|
|
SHLIBDIR?= /lib
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2006-06-09 18:11:29 +00:00
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
LIB= util
|
2010-01-13 18:59:51 +00:00
|
|
|
SHLIB_MAJOR= 9
|
2006-06-11 09:14:06 +00:00
|
|
|
|
2008-11-23 23:26:12 +00:00
|
|
|
SRCS= _secure_path.c auth.c expand_number.c flopen.c fparseln.c gr_util.c \
|
2015-06-10 15:07:13 +00:00
|
|
|
hexdump.c humanize_number.c kinfo_getfile.c \
|
2015-05-27 18:11:05 +00:00
|
|
|
kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c \
|
|
|
|
kinfo_getvmobject.c kld.c \
|
2010-01-13 18:59:51 +00:00
|
|
|
login_auth.c login_cap.c \
|
2008-07-01 22:30:57 +00:00
|
|
|
login_class.c login_crypt.c login_ok.c login_times.c login_tty.c \
|
2010-03-04 13:35:57 +00:00
|
|
|
pidfile.c property.c pty.c pw_util.c quotafile.c realhostname.c \
|
2007-05-10 14:43:31 +00:00
|
|
|
stub.c trimdomain.c uucplock.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= libutil.h login_cap.h
|
2000-08-22 02:15:54 +00:00
|
|
|
|
2018-05-23 17:02:12 +00:00
|
|
|
CFLAGS+= -DNO__SCCSID
|
2006-07-27 12:36:46 +00:00
|
|
|
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
CFLAGS+= -DINET6
|
|
|
|
.endif
|
|
|
|
|
2017-01-20 04:29:05 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libc/gen/
|
2006-07-27 12:36:46 +00:00
|
|
|
|
2012-06-12 17:02:53 +00:00
|
|
|
MAN+= expand_number.3 flopen.3 fparseln.3 hexdump.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \
|
2015-05-27 18:11:05 +00:00
|
|
|
kinfo_getproc.3 kinfo_getvmmap.3 kinfo_getvmobject.3 kld.3 \
|
|
|
|
login_auth.3 login_cap.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
login_class.3 login_ok.3 login_times.3 login_tty.3 pidfile.3 \
|
|
|
|
property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \
|
2012-10-30 22:18:08 +00:00
|
|
|
_secure_path.3 trimdomain.3 uucplock.3 pw_util.3
|
2012-06-12 17:02:53 +00:00
|
|
|
MAN+= login.conf.5
|
2017-08-04 14:24:24 +00:00
|
|
|
MLINKS+=flopen.3 flopenat.3
|
2017-02-08 09:24:25 +00:00
|
|
|
MLINKS+=kld.3 kld_isloaded.3 kld.3 kld_load.3
|
2012-01-12 15:45:08 +00:00
|
|
|
MLINKS+=login_auth.3 auth_cat.3 login_auth.3 auth_checknologin.3
|
|
|
|
MLINKS+=login_cap.3 login_close.3 login_cap.3 login_getcapbool.3 \
|
|
|
|
login_cap.3 login_getcaplist.3 login_cap.3 login_getcapnum.3 \
|
|
|
|
login_cap.3 login_getcapsize.3 login_cap.3 login_getcapstr.3 \
|
|
|
|
login_cap.3 login_getcaptime.3 login_cap.3 login_getclass.3 \
|
|
|
|
login_cap.3 login_getclassbyname.3 login_cap.3 login_getpath.3 \
|
|
|
|
login_cap.3 login_getpwclass.3 login_cap.3 login_getstyle.3 \
|
|
|
|
login_cap.3 login_getuserclass.3 login_cap.3 login_setcryptfmt.3
|
|
|
|
MLINKS+=login_class.3 setclasscontext.3 login_class.3 setclassenvironment.3 \
|
|
|
|
login_class.3 setclassresources.3 login_class.3 setusercontext.3
|
|
|
|
MLINKS+=login_ok.3 auth_hostok.3 login_ok.3 auth_timeok.3 \
|
|
|
|
login_ok.3 auth_ttyok.3
|
|
|
|
MLINKS+=login_times.3 in_lt.3 login_times.3 in_ltm.3 \
|
|
|
|
login_times.3 in_ltms.3 \
|
|
|
|
login_times.3 in_lts.3 \
|
|
|
|
login_times.3 parse_lt.3
|
|
|
|
MLINKS+=pidfile.3 pidfile_close.3 \
|
|
|
|
pidfile.3 pidfile_fileno.3 \
|
|
|
|
pidfile.3 pidfile_open.3 \
|
2012-01-10 22:22:35 +00:00
|
|
|
pidfile.3 pidfile_remove.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
pidfile.3 pidfile_write.3
|
2017-02-08 09:24:25 +00:00
|
|
|
MLINKS+=property.3 property_find.3 property.3 properties_free.3
|
|
|
|
MLINKS+=property.3 properties_read.3
|
|
|
|
MLINKS+=pty.3 forkpty.3 pty.3 openpty.3
|
2012-01-12 15:45:08 +00:00
|
|
|
MLINKS+=quotafile.3 quota_close.3 \
|
2009-09-26 23:16:06 +00:00
|
|
|
quotafile.3 quota_fsname.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
quotafile.3 quota_open.3 \
|
2009-09-26 23:16:06 +00:00
|
|
|
quotafile.3 quota_qfname.3 \
|
2009-01-30 13:54:03 +00:00
|
|
|
quotafile.3 quota_read.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
quotafile.3 quota_statfs.3 \
|
2009-09-26 23:16:06 +00:00
|
|
|
quotafile.3 quota_write_limits.3 \
|
2012-01-12 15:45:08 +00:00
|
|
|
quotafile.3 quota_write_usage.3
|
|
|
|
MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
|
2017-02-08 09:24:25 +00:00
|
|
|
uucplock.3 uu_lockerr.3 uucplock.3 uu_unlock.3
|
2012-10-30 22:18:08 +00:00
|
|
|
MLINKS+=pw_util.3 pw_copy.3 \
|
|
|
|
pw_util.3 pw_dup.3 \
|
|
|
|
pw_util.3 pw_edit.3 \
|
|
|
|
pw_util.3 pw_equal.3 \
|
|
|
|
pw_util.3 pw_fini.3 \
|
|
|
|
pw_util.3 pw_init.3 \
|
|
|
|
pw_util.3 pw_make.3 \
|
|
|
|
pw_util.3 pw_make_v7.3 \
|
|
|
|
pw_util.3 pw_mkdb.3 \
|
|
|
|
pw_util.3 pw_lock.3 \
|
|
|
|
pw_util.3 pw_scan.3 \
|
|
|
|
pw_util.3 pw_tempname.3 \
|
|
|
|
pw_util.3 pw_tmp.3
|
1994-05-27 05:00:24 +00:00
|
|
|
|
2017-08-02 08:50:42 +00:00
|
|
|
HAS_TESTS=
|
2017-08-02 08:35:51 +00:00
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2014-08-13 04:56:27 +00:00
|
|
|
|
1994-05-27 05:00:24 +00:00
|
|
|
.include <bsd.lib.mk>
|