xref: /minix/lib/libutil/Makefile (revision 00b67f09)
1#	$NetBSD: Makefile,v 1.78 2015/09/24 14:39:20 christos Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/4/93
3
4USE_SHLIBDIR=	yes
5
6.include <bsd.own.mk>
7
8.include "${NETBSDSRCDIR}/common/lib/libutil/Makefile.inc"
9
10WARNS?=	5
11LIB=	util
12CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
13LINTFLAGS+=-w
14SRCS+=	efun.c \
15	\
16	getfsspecname.c getmntopts.c getmaxpartitions.c \
17	\
18	if_media.c \
19	login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
20	logwtmp.c logwtmpx.c opendisk.c parsedate.y \
21	passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
22	raise_default_signal.c \
23	secure_path.c sockaddr_snprintf.c stat_flags.c \
24	strpct.c ttyaction.c ttymsg.c
25
26MAN=	efun.3 \
27	\
28	getmaxpartitions.3 getmntopts.3 \
29	getfsspecname.3 \
30	login.3 login_cap.3 loginx.3 \
31	\
32	opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
33	proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
34	raise_default_signal.3 \
35	snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
36	ttymsg.3 util.3
37
38YPREFIX=__pd
39.PATH:	${NETBSDSRCDIR}/lib/libc/gen
40
41.if !defined(__MINIX)
42.include "compat/Makefile.inc"
43.endif
44
45.if !defined(__MINIX)
46MLINKS+=getlabelsector.3 getlabeloffset.3
47MLINKS+=getlabelsector.3 getlabelusesmbr.3
48MLINKS+=getdiskrawname.3 getdiskcookedname.3
49.endif
50MLINKS+=login.3 logout.3
51MLINKS+=login.3 logwtmp.3
52MLINKS+=login_cap.3 login_getclass.3
53MLINKS+=login_cap.3 login_getcapbool.3
54MLINKS+=login_cap.3 login_getcapnum.3
55MLINKS+=login_cap.3 login_getcapsize.3
56MLINKS+=login_cap.3 login_getcapstr.3
57MLINKS+=login_cap.3 login_getcaptime.3
58MLINKS+=login_cap.3 login_getpwclass.3
59MLINKS+=login_cap.3 login_close.3
60MLINKS+=login_cap.3 setclasscontext.3
61MLINKS+=login_cap.3 setusercontext.3
62MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
63MLINKS+=openpty.3 login_tty.3
64MLINKS+=openpty.3 forkpty.3
65MLINKS+=pw_getconf.3 pw_getpwconf.3
66MLINKS+=pw_init.3 pw_edit.3
67MLINKS+=pw_init.3 pw_prompt.3
68MLINKS+=pw_init.3 pw_copy.3
69MLINKS+=pw_init.3 pw_copyx.3
70MLINKS+=pw_init.3 pw_scan.3
71MLINKS+=pw_init.3 pw_error.3
72MLINKS+=pw_lock.3 pw_mkdb.3
73MLINKS+=pw_lock.3 pw_abort.3
74MLINKS+=pw_lock.3 pw_getprefix.3
75MLINKS+=pw_lock.3 pw_setprefix.3
76MLINKS+=pidlock.3 ttylock.3
77MLINKS+=pidlock.3 ttyunlock.3
78MLINKS+=efun.3 esetfunc.3
79MLINKS+=efun.3 easprintf.3
80MLINKS+=efun.3 estrlcpy.3
81MLINKS+=efun.3 estrlcat.3
82MLINKS+=efun.3 estrdup.3
83MLINKS+=efun.3 estrndup.3
84MLINKS+=efun.3 estrtoi.3
85MLINKS+=efun.3 estrtou.3
86MLINKS+=efun.3 emalloc.3
87MLINKS+=efun.3 ecalloc.3
88MLINKS+=efun.3 erealloc.3
89MLINKS+=efun.3 ereallocarr.3
90MLINKS+=efun.3 efopen.3
91MLINKS+=efun.3 evasprintf.3
92MLINKS+=stat_flags.3 string_to_flags.3
93MLINKS+=stat_flags.3 flags_to_string.3
94MLINKS+=snprintb.3 snprintb_m.3
95MLINKS+=util.3 libutil.3
96MLINKS+=strpct.3 strspct.3
97
98.include <bsd.lib.mk>
99