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