VM: munmap used by VM for itself is no longer used
[minix.git] / lib / libutil / Makefile
blob908558bbb7b3eed0575755710025f06b0a9a639d
1 # $NetBSD: Makefile,v 1.63 2010/01/27 19:10:31 drochner 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= 4
11 LIB= util
12 CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
13 .if !defined(__MINIX)
14 SRCS+= efun.c getbootfile.c getlabelsector.c getmaxpartitions.c \
15 getmntopts.c getrawpartition.c \
16 disklabel_dkcksum.c disklabel_scan.c \
17 if_media.c \
18 login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
19 logwtmp.c logwtmpx.c opendisk.c parsedate.y \
20 passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
21 raise_default_signal.c \
22 secure_path.c stat_flags.c \
23 ttyaction.c ttymsg.c \
25 MAN= efun.3 getbootfile.3 getlabelsector.3 getmaxpartitions.3 \
26 getmntopts.3 \
27 getrawpartition.3 \
28 login.3 login_cap.3 loginx.3 \
29 disklabel_dkcksum.3 disklabel_scan.3 \
30 opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
31 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
32 raise_default_signal.3 \
33 snprintb.3 sockaddr_snprintf.3 stat_flags.3 ttyaction.3 \
34 ttymsg.3 util.3
36 .else
37 SRCS+= efun.c getbootfile.c \
38 getmntopts.c sockaddr_snprintf.c\
39 login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
40 logwtmp.c logwtmpx.c opendisk.c \
41 passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
42 raise_default_signal.c \
43 secure_path.c stat_flags.c \
44 ttyaction.c \
46 MAN= efun.3 getbootfile.3 \
47 getmntopts.3 \
48 login.3 login_cap.3 loginx.3 \
49 opendisk.3 openpty.3 pidfile.3 pidlock.3 \
50 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
51 raise_default_signal.3 \
52 snprintb.3 stat_flags.3 ttyaction.3 \
53 util.3
54 .endif
56 YPREFIX=__pd
57 .PATH: ${NETBSDSRCDIR}/lib/libc/gen
59 .if defined(__MINIX)
60 .include "compat-minix/Makefile.inc"
61 .else
62 .include "compat/Makefile.inc"
63 .endif
65 .if !defined(__MINIX)
66 MLINKS+=getlabelsector.3 getlabeloffset.3
67 .endif
68 MLINKS+=login.3 logout.3
69 MLINKS+=login.3 logwtmp.3
70 MLINKS+=login_cap.3 login_getclass.3
71 MLINKS+=login_cap.3 login_getcapbool.3
72 MLINKS+=login_cap.3 login_getcapnum.3
73 MLINKS+=login_cap.3 login_getcapsize.3
74 MLINKS+=login_cap.3 login_getcapstr.3
75 MLINKS+=login_cap.3 login_getcaptime.3
76 MLINKS+=login_cap.3 login_close.3
77 MLINKS+=login_cap.3 setclasscontext.3
78 MLINKS+=login_cap.3 setusercontext.3
79 MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
80 MLINKS+=openpty.3 login_tty.3
81 MLINKS+=openpty.3 forkpty.3
82 MLINKS+=pw_getconf.3 pw_getpwconf.3
83 MLINKS+=pw_init.3 pw_edit.3
84 MLINKS+=pw_init.3 pw_prompt.3
85 MLINKS+=pw_init.3 pw_copy.3
86 MLINKS+=pw_init.3 pw_copyx.3
87 MLINKS+=pw_init.3 pw_scan.3
88 MLINKS+=pw_init.3 pw_error.3
89 MLINKS+=pw_lock.3 pw_mkdb.3
90 MLINKS+=pw_lock.3 pw_abort.3
91 MLINKS+=pw_lock.3 pw_getprefix.3
92 MLINKS+=pw_lock.3 pw_setprefix.3
93 MLINKS+=pidlock.3 ttylock.3
94 MLINKS+=pidlock.3 ttyunlock.3
95 MLINKS+=efun.3 esetfunc.3
96 MLINKS+=efun.3 easprintf.3
97 MLINKS+=efun.3 estrlcpy.3
98 MLINKS+=efun.3 estrlcat.3
99 MLINKS+=efun.3 estrdup.3
100 MLINKS+=efun.3 estrndup.3
101 MLINKS+=efun.3 emalloc.3
102 MLINKS+=efun.3 ecalloc.3
103 MLINKS+=efun.3 erealloc.3
104 MLINKS+=efun.3 efopen.3
105 MLINKS+=efun.3 evasprintf.3
106 MLINKS+=stat_flags.3 string_to_flags.3
107 MLINKS+=stat_flags.3 flags_to_string.3
108 MLINKS+=snprintb.3 snprintb_m.3
110 .include <bsd.lib.mk>