1b3c87f5cSShunsuke AkiyamaSHLIBDIR?= /lib 2b3c87f5cSShunsuke Akiyama 3c6063d0dSWarner Losh.include <src.opts.mk> 4db31b8aeSXin LI 5a7b5a3d4SEmmanuel VadotPACKAGE= runtime 6a7b5a3d4SEmmanuel Vadot 7757e8bdbSIan Lepore.PATH: ${SRCTOP}/lib/libc/gen # for pw_scan.c 8757e8bdbSIan Lepore 958f0484fSRodney W. GrimesLIB= util 1021470ecdSEd SchoutenSHLIB_MAJOR= 9 11b3c87f5cSShunsuke Akiyama 1204eeb364SBaptiste DaroussinSRCS= _secure_path.c auth.c cpuset.c expand_number.c flopen.c fparseln.c \ 13*bb421be6SMariusz Zaborski ftime.c getlocalbase.c gr_util.c \ 14ebe071e5SBrooks Davis hexdump.c humanize_number.c kinfo_getfile.c \ 15ff87ae35SJohn Baldwin kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c \ 16ff87ae35SJohn Baldwin kinfo_getvmobject.c kld.c \ 1721470ecdSEd Schouten login_auth.c login_cap.c \ 18e1355b07SJohn Baldwin login_class.c login_crypt.c login_ok.c login_times.c login_tty.c \ 19757e8bdbSIan Lepore pidfile.c property.c pty.c pw_scan.c pw_util.c quotafile.c \ 20757e8bdbSIan Lepore realhostname.c stub.c trimdomain.c uucplock.c 21d05257b0SRodney W. GrimesINCS= libutil.h login_cap.h 2204c9749fSBrian Feldman 23636402a7SJohn BaldwinCFLAGS+= -DNO__SCCSID 2474d580d7SYaroslav Tykhiy 2574d580d7SYaroslav Tykhiy.if ${MK_INET6_SUPPORT} != "no" 2674d580d7SYaroslav TykhiyCFLAGS+= -DINET6 2774d580d7SYaroslav Tykhiy.endif 2874d580d7SYaroslav Tykhiy 29bb930a3bSEnji CooperCFLAGS+= -I${.CURDIR} -I${SRCTOP}/lib/libc/gen/ 3074d580d7SYaroslav Tykhiy 31*bb421be6SMariusz ZaborskiMAN+= cpuset.3 expand_number.3 flopen.3 fparseln.3 ftime.3 getlocalbase.3 \ 32*bb421be6SMariusz Zaborski hexdump.3 humanize_number.3 kinfo_getallproc.3 kinfo_getfile.3 \ 33ff87ae35SJohn Baldwin kinfo_getproc.3 kinfo_getvmmap.3 kinfo_getvmobject.3 kld.3 \ 34ff87ae35SJohn Baldwin login_auth.3 login_cap.3 \ 3572c13153SGuy Helmer login_class.3 login_ok.3 login_times.3 login_tty.3 pidfile.3 \ 3672c13153SGuy Helmer property.3 pty.3 quotafile.3 realhostname.3 realhostname_sa.3 \ 3742818163SBaptiste Daroussin _secure_path.3 trimdomain.3 uucplock.3 pw_util.3 387c5a9216SDag-Erling SmørgravMAN+= login.conf.5 3973979478SMariusz ZaborskiMLINKS+=flopen.3 flopenat.3 4072c13153SGuy HelmerMLINKS+=kld.3 kld_isloaded.3 kld.3 kld_load.3 4172c13153SGuy HelmerMLINKS+=login_auth.3 auth_cat.3 login_auth.3 auth_checknologin.3 4272c13153SGuy HelmerMLINKS+=login_cap.3 login_close.3 login_cap.3 login_getcapbool.3 \ 4372c13153SGuy Helmer login_cap.3 login_getcaplist.3 login_cap.3 login_getcapnum.3 \ 4472c13153SGuy Helmer login_cap.3 login_getcapsize.3 login_cap.3 login_getcapstr.3 \ 4572c13153SGuy Helmer login_cap.3 login_getcaptime.3 login_cap.3 login_getclass.3 \ 4672c13153SGuy Helmer login_cap.3 login_getclassbyname.3 login_cap.3 login_getpath.3 \ 4772c13153SGuy Helmer login_cap.3 login_getpwclass.3 login_cap.3 login_getstyle.3 \ 4872c13153SGuy Helmer login_cap.3 login_getuserclass.3 login_cap.3 login_setcryptfmt.3 4972c13153SGuy HelmerMLINKS+=login_class.3 setclasscontext.3 login_class.3 setclassenvironment.3 \ 5072c13153SGuy Helmer login_class.3 setclassresources.3 login_class.3 setusercontext.3 5172c13153SGuy HelmerMLINKS+=login_ok.3 auth_hostok.3 login_ok.3 auth_timeok.3 \ 5272c13153SGuy Helmer login_ok.3 auth_ttyok.3 5372c13153SGuy HelmerMLINKS+=login_times.3 in_lt.3 login_times.3 in_ltm.3 \ 5472c13153SGuy Helmer login_times.3 in_ltms.3 \ 5572c13153SGuy Helmer login_times.3 in_lts.3 \ 5672c13153SGuy Helmer login_times.3 parse_lt.3 5772c13153SGuy HelmerMLINKS+=pidfile.3 pidfile_close.3 \ 5872c13153SGuy Helmer pidfile.3 pidfile_fileno.3 \ 5972c13153SGuy Helmer pidfile.3 pidfile_open.3 \ 60bd4df56cSGuy Helmer pidfile.3 pidfile_remove.3 \ 6172c13153SGuy Helmer pidfile.3 pidfile_write.3 6272c13153SGuy HelmerMLINKS+=property.3 property_find.3 property.3 properties_free.3 6372c13153SGuy HelmerMLINKS+=property.3 properties_read.3 6472c13153SGuy HelmerMLINKS+=pty.3 forkpty.3 pty.3 openpty.3 6572c13153SGuy HelmerMLINKS+=quotafile.3 quota_close.3 \ 665666aadbSDag-Erling Smørgrav quotafile.3 quota_fsname.3 \ 6772c13153SGuy Helmer quotafile.3 quota_open.3 \ 685666aadbSDag-Erling Smørgrav quotafile.3 quota_qfname.3 \ 691b3515f3SDag-Erling Smørgrav quotafile.3 quota_read.3 \ 7072c13153SGuy Helmer quotafile.3 quota_statfs.3 \ 715666aadbSDag-Erling Smørgrav quotafile.3 quota_write_limits.3 \ 7272c13153SGuy Helmer quotafile.3 quota_write_usage.3 7372c13153SGuy HelmerMLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \ 7472c13153SGuy Helmer uucplock.3 uu_lockerr.3 uucplock.3 uu_unlock.3 7542818163SBaptiste DaroussinMLINKS+=pw_util.3 pw_copy.3 \ 7642818163SBaptiste Daroussin pw_util.3 pw_dup.3 \ 7742818163SBaptiste Daroussin pw_util.3 pw_edit.3 \ 7842818163SBaptiste Daroussin pw_util.3 pw_equal.3 \ 7942818163SBaptiste Daroussin pw_util.3 pw_fini.3 \ 8042818163SBaptiste Daroussin pw_util.3 pw_init.3 \ 8142818163SBaptiste Daroussin pw_util.3 pw_make.3 \ 8242818163SBaptiste Daroussin pw_util.3 pw_make_v7.3 \ 8342818163SBaptiste Daroussin pw_util.3 pw_mkdb.3 \ 8442818163SBaptiste Daroussin pw_util.3 pw_lock.3 \ 8542818163SBaptiste Daroussin pw_util.3 pw_scan.3 \ 8642818163SBaptiste Daroussin pw_util.3 pw_tempname.3 \ 8742818163SBaptiste Daroussin pw_util.3 pw_tmp.3 8804eeb364SBaptiste DaroussinMLINKS+=cpuset.3 cpuset_parselist.3 8958f0484fSRodney W. Grimes 90d511b20aSEnji CooperHAS_TESTS= 914b330699SEnji CooperSUBDIR.${MK_TESTS}+= tests 925aa45fcbSEnji Cooper 9358f0484fSRodney W. Grimes.include <bsd.lib.mk> 94