xref: /minix3/lib/libutil/Makefile (revision 08cbf5a04d9d252f1eec34cb0fea3101e5fa9b88)
10a6a1f1dSLionel Sambuc#	$NetBSD: Makefile,v 1.78 2015/09/24 14:39:20 christos Exp $
20c3983b2SBen Gras#	@(#)Makefile	8.1 (Berkeley) 6/4/93
30c3983b2SBen Gras
40c3983b2SBen GrasUSE_SHLIBDIR=	yes
50c3983b2SBen Gras
60c3983b2SBen Gras.include <bsd.own.mk>
70c3983b2SBen Gras
80c3983b2SBen Gras.include "${NETBSDSRCDIR}/common/lib/libutil/Makefile.inc"
90c3983b2SBen Gras
10dba3562dSLionel SambucWARNS?=	5
110c3983b2SBen GrasLIB=	util
120c3983b2SBen GrasCPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
13dba3562dSLionel SambucLINTFLAGS+=-w
1484d9c625SLionel SambucSRCS+=	efun.c \
1584d9c625SLionel Sambuc	\
16135965dcSJean-Baptiste Boric	getfsspecname.c getmntopts.c getmaxpartitions.c \
1784d9c625SLionel Sambuc	\
18*08cbf5a0SDavid van Moolenbroek	if_media.c \
19fb50da9dSThomas Veerman	login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
20fb50da9dSThomas Veerman	logwtmp.c logwtmpx.c opendisk.c parsedate.y \
210c3983b2SBen Gras	passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
220c3983b2SBen Gras	raise_default_signal.c \
23dba3562dSLionel Sambuc	secure_path.c sockaddr_snprintf.c stat_flags.c \
24dba3562dSLionel Sambuc	strpct.c ttyaction.c ttymsg.c
250c3983b2SBen Gras
2684d9c625SLionel SambucMAN=	efun.3 \
270a6a1f1dSLionel Sambuc	\
280a6a1f1dSLionel Sambuc	getmaxpartitions.3 getmntopts.3 \
290a6a1f1dSLionel Sambuc	getfsspecname.3 \
300c3983b2SBen Gras	login.3 login_cap.3 loginx.3 \
310a6a1f1dSLionel Sambuc	\
320c3983b2SBen Gras	opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
331f761e1bSDavid van Moolenbroek	proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
340c3983b2SBen Gras	raise_default_signal.3 \
35dba3562dSLionel Sambuc	snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
360c3983b2SBen Gras	ttymsg.3 util.3
370c3983b2SBen Gras
380c3983b2SBen GrasYPREFIX=__pd
392fe8fb19SBen Gras.PATH:	${NETBSDSRCDIR}/lib/libc/gen
400c3983b2SBen Gras
41017ce5a5SBen Gras.if !defined(__MINIX)
42fb50da9dSThomas Veerman.include "compat/Makefile.inc"
43fb50da9dSThomas Veerman.endif
440c3983b2SBen Gras
45fb50da9dSThomas Veerman.if !defined(__MINIX)
460c3983b2SBen GrasMLINKS+=getlabelsector.3 getlabeloffset.3
47dba3562dSLionel SambucMLINKS+=getlabelsector.3 getlabelusesmbr.3
48dba3562dSLionel SambucMLINKS+=getdiskrawname.3 getdiskcookedname.3
499152e1c5SLionel Sambuc.endif
500c3983b2SBen GrasMLINKS+=login.3 logout.3
510c3983b2SBen GrasMLINKS+=login.3 logwtmp.3
520c3983b2SBen GrasMLINKS+=login_cap.3 login_getclass.3
530c3983b2SBen GrasMLINKS+=login_cap.3 login_getcapbool.3
540c3983b2SBen GrasMLINKS+=login_cap.3 login_getcapnum.3
550c3983b2SBen GrasMLINKS+=login_cap.3 login_getcapsize.3
560c3983b2SBen GrasMLINKS+=login_cap.3 login_getcapstr.3
570c3983b2SBen GrasMLINKS+=login_cap.3 login_getcaptime.3
5884d9c625SLionel SambucMLINKS+=login_cap.3 login_getpwclass.3
590c3983b2SBen GrasMLINKS+=login_cap.3 login_close.3
600c3983b2SBen GrasMLINKS+=login_cap.3 setclasscontext.3
610c3983b2SBen GrasMLINKS+=login_cap.3 setusercontext.3
620c3983b2SBen GrasMLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
630c3983b2SBen GrasMLINKS+=openpty.3 login_tty.3
640c3983b2SBen GrasMLINKS+=openpty.3 forkpty.3
650c3983b2SBen GrasMLINKS+=pw_getconf.3 pw_getpwconf.3
660c3983b2SBen GrasMLINKS+=pw_init.3 pw_edit.3
670c3983b2SBen GrasMLINKS+=pw_init.3 pw_prompt.3
680c3983b2SBen GrasMLINKS+=pw_init.3 pw_copy.3
690c3983b2SBen GrasMLINKS+=pw_init.3 pw_copyx.3
700c3983b2SBen GrasMLINKS+=pw_init.3 pw_scan.3
710c3983b2SBen GrasMLINKS+=pw_init.3 pw_error.3
720c3983b2SBen GrasMLINKS+=pw_lock.3 pw_mkdb.3
730c3983b2SBen GrasMLINKS+=pw_lock.3 pw_abort.3
740c3983b2SBen GrasMLINKS+=pw_lock.3 pw_getprefix.3
750c3983b2SBen GrasMLINKS+=pw_lock.3 pw_setprefix.3
760c3983b2SBen GrasMLINKS+=pidlock.3 ttylock.3
770c3983b2SBen GrasMLINKS+=pidlock.3 ttyunlock.3
780c3983b2SBen GrasMLINKS+=efun.3 esetfunc.3
790c3983b2SBen GrasMLINKS+=efun.3 easprintf.3
800c3983b2SBen GrasMLINKS+=efun.3 estrlcpy.3
810c3983b2SBen GrasMLINKS+=efun.3 estrlcat.3
820c3983b2SBen GrasMLINKS+=efun.3 estrdup.3
830c3983b2SBen GrasMLINKS+=efun.3 estrndup.3
840a6a1f1dSLionel SambucMLINKS+=efun.3 estrtoi.3
850a6a1f1dSLionel SambucMLINKS+=efun.3 estrtou.3
860c3983b2SBen GrasMLINKS+=efun.3 emalloc.3
870c3983b2SBen GrasMLINKS+=efun.3 ecalloc.3
880c3983b2SBen GrasMLINKS+=efun.3 erealloc.3
890a6a1f1dSLionel SambucMLINKS+=efun.3 ereallocarr.3
900c3983b2SBen GrasMLINKS+=efun.3 efopen.3
910c3983b2SBen GrasMLINKS+=efun.3 evasprintf.3
920c3983b2SBen GrasMLINKS+=stat_flags.3 string_to_flags.3
930c3983b2SBen GrasMLINKS+=stat_flags.3 flags_to_string.3
940c3983b2SBen GrasMLINKS+=snprintb.3 snprintb_m.3
95dba3562dSLionel SambucMLINKS+=util.3 libutil.3
96dba3562dSLionel SambucMLINKS+=strpct.3 strspct.3
970c3983b2SBen Gras
980c3983b2SBen Gras.include <bsd.lib.mk>
99