2016-12-29 21:30:55 +03:00
|
|
|
# $NetBSD: Makefile,v 1.80 2016/12/29 18:30:55 christos Exp $
|
1996-05-16 01:42:23 +04:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 6/4/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2002-08-19 18:55:14 +04:00
|
|
|
USE_SHLIBDIR= yes
|
|
|
|
|
2002-08-19 13:41:27 +04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2008-12-17 01:34:40 +03:00
|
|
|
.include "${NETBSDSRCDIR}/common/lib/libutil/Makefile.inc"
|
|
|
|
|
2012-03-21 09:37:42 +04:00
|
|
|
WARNS?= 5
|
1993-03-21 12:45:37 +03:00
|
|
|
LIB= util
|
2009-01-11 05:57:17 +03:00
|
|
|
CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
|
2012-04-07 20:44:39 +04:00
|
|
|
LINTFLAGS+=-w
|
2013-05-02 11:17:09 +04:00
|
|
|
SRCS+= efun.c \
|
|
|
|
getbootfile.c getbyteorder.c getlabelsector.c getmaxpartitions.c \
|
2012-04-07 20:44:39 +04:00
|
|
|
getfsspecname.c getmntopts.c getrawpartition.c getdiskrawname.c \
|
2002-10-13 00:53:15 +04:00
|
|
|
disklabel_dkcksum.c disklabel_scan.c \
|
2015-09-24 17:39:20 +03:00
|
|
|
if_media.c kinfo_getvmmap.c \
|
2002-09-28 00:42:46 +04:00
|
|
|
login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
|
2006-11-20 23:33:02 +03:00
|
|
|
logwtmp.c logwtmpx.c opendisk.c parsedate.y \
|
2010-01-27 22:10:30 +03:00
|
|
|
passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
|
2007-09-25 05:13:54 +04:00
|
|
|
raise_default_signal.c \
|
2011-10-21 05:37:59 +04:00
|
|
|
secure_path.c sockaddr_snprintf.c stat_flags.c \
|
2011-08-28 11:45:13 +04:00
|
|
|
strpct.c ttyaction.c ttymsg.c
|
1996-05-16 01:42:23 +04:00
|
|
|
|
2013-05-02 11:17:09 +04:00
|
|
|
MAN= efun.3 \
|
|
|
|
getbootfile.3 getbyteorder.3 getfstypename.3 getlabelsector.3 \
|
2011-11-14 02:03:34 +04:00
|
|
|
getmaxpartitions.3 getmntopts.3 getrawpartition.3 \
|
2012-04-07 20:44:39 +04:00
|
|
|
getdiskrawname.3 getfsspecname.3 \
|
2015-09-24 17:39:20 +03:00
|
|
|
login.3 login_cap.3 loginx.3 kinfo_getvmmap.3 \
|
2002-10-13 00:53:15 +04:00
|
|
|
disklabel_dkcksum.3 disklabel_scan.3 \
|
2006-11-20 23:33:02 +03:00
|
|
|
opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
|
2011-10-21 06:05:36 +04:00
|
|
|
proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
|
2007-09-25 05:13:54 +04:00
|
|
|
raise_default_signal.3 \
|
2011-08-28 11:45:13 +04:00
|
|
|
snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
|
2002-08-22 21:24:08 +04:00
|
|
|
ttymsg.3 util.3
|
1996-05-16 01:42:23 +04:00
|
|
|
|
2016-12-29 21:30:55 +03:00
|
|
|
CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_UTIL_H
|
|
|
|
CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NETATALK_AT_H
|
|
|
|
CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NET_IF_DL_H
|
|
|
|
|
2009-01-11 05:57:17 +03:00
|
|
|
YPREFIX=__pd
|
2002-08-19 13:41:27 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libc/gen
|
1998-06-27 09:08:56 +04:00
|
|
|
|
2009-01-11 05:57:17 +03:00
|
|
|
.include "compat/Makefile.inc"
|
|
|
|
|
2002-12-12 12:45:32 +03:00
|
|
|
MLINKS+=getlabelsector.3 getlabeloffset.3
|
2011-08-30 16:39:49 +04:00
|
|
|
MLINKS+=getlabelsector.3 getlabelusesmbr.3
|
2012-04-07 20:44:39 +04:00
|
|
|
MLINKS+=getdiskrawname.3 getdiskcookedname.3
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=login.3 logout.3
|
|
|
|
MLINKS+=login.3 logwtmp.3
|
2000-05-12 22:31:55 +04:00
|
|
|
MLINKS+=login_cap.3 login_getclass.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapbool.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapnum.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapsize.3
|
|
|
|
MLINKS+=login_cap.3 login_getcapstr.3
|
|
|
|
MLINKS+=login_cap.3 login_getcaptime.3
|
2013-06-21 00:42:30 +04:00
|
|
|
MLINKS+=login_cap.3 login_getpwclass.3
|
2000-05-12 22:31:55 +04:00
|
|
|
MLINKS+=login_cap.3 login_close.3
|
|
|
|
MLINKS+=login_cap.3 setclasscontext.3
|
|
|
|
MLINKS+=login_cap.3 setusercontext.3
|
2002-09-27 19:02:24 +04:00
|
|
|
MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=openpty.3 login_tty.3
|
|
|
|
MLINKS+=openpty.3 forkpty.3
|
2016-04-10 22:05:50 +03:00
|
|
|
MLINKS+=pidfile.3 pidfile_clean.3
|
|
|
|
MLINKS+=pidfile.3 pidfile_lock.3
|
|
|
|
MLINKS+=pidfile.3 pidfile_read.3
|
2008-12-26 03:49:28 +03:00
|
|
|
MLINKS+=pw_getconf.3 pw_getpwconf.3
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=pw_init.3 pw_edit.3
|
|
|
|
MLINKS+=pw_init.3 pw_prompt.3
|
|
|
|
MLINKS+=pw_init.3 pw_copy.3
|
2009-06-20 18:28:29 +04:00
|
|
|
MLINKS+=pw_init.3 pw_copyx.3
|
1996-05-16 01:42:23 +04:00
|
|
|
MLINKS+=pw_init.3 pw_scan.3
|
|
|
|
MLINKS+=pw_init.3 pw_error.3
|
|
|
|
MLINKS+=pw_lock.3 pw_mkdb.3
|
|
|
|
MLINKS+=pw_lock.3 pw_abort.3
|
2000-12-06 16:37:53 +03:00
|
|
|
MLINKS+=pw_lock.3 pw_getprefix.3
|
|
|
|
MLINKS+=pw_lock.3 pw_setprefix.3
|
1997-10-11 06:56:22 +04:00
|
|
|
MLINKS+=pidlock.3 ttylock.3
|
|
|
|
MLINKS+=pidlock.3 ttyunlock.3
|
2006-08-26 22:11:12 +04:00
|
|
|
MLINKS+=efun.3 esetfunc.3
|
|
|
|
MLINKS+=efun.3 easprintf.3
|
|
|
|
MLINKS+=efun.3 estrlcpy.3
|
|
|
|
MLINKS+=efun.3 estrlcat.3
|
|
|
|
MLINKS+=efun.3 estrdup.3
|
2007-07-02 01:41:16 +04:00
|
|
|
MLINKS+=efun.3 estrndup.3
|
2015-01-18 21:09:36 +03:00
|
|
|
MLINKS+=efun.3 estrtoi.3
|
|
|
|
MLINKS+=efun.3 estrtou.3
|
2006-08-26 22:11:12 +04:00
|
|
|
MLINKS+=efun.3 emalloc.3
|
2006-10-20 21:40:39 +04:00
|
|
|
MLINKS+=efun.3 ecalloc.3
|
2006-08-26 22:11:12 +04:00
|
|
|
MLINKS+=efun.3 erealloc.3
|
2015-07-26 05:20:30 +03:00
|
|
|
MLINKS+=efun.3 ereallocarr.3
|
2006-08-26 22:11:12 +04:00
|
|
|
MLINKS+=efun.3 efopen.3
|
|
|
|
MLINKS+=efun.3 evasprintf.3
|
2006-12-14 22:18:01 +03:00
|
|
|
MLINKS+=stat_flags.3 string_to_flags.3
|
|
|
|
MLINKS+=stat_flags.3 flags_to_string.3
|
2009-05-13 06:50:31 +04:00
|
|
|
MLINKS+=snprintb.3 snprintb_m.3
|
2011-08-29 16:37:52 +04:00
|
|
|
MLINKS+=util.3 libutil.3
|
2012-01-07 22:40:55 +04:00
|
|
|
MLINKS+=strpct.3 strspct.3
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|