1# $NetBSD: Makefile,v 1.63 2010/01/27 19:10:31 drochner 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= 4 11LIB= util 12CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR} 13.if !defined(__MINIX) 14SRCS+= 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 sockaddr_snprintf.c stat_flags.c \ 23 ttyaction.c ttymsg.c \ 24 25MAN= 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 35 36.else 37SRCS+= efun.c getbootfile.c \ 38 getmntopts.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 \ 45 46MAN= 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 55 56YPREFIX=__pd 57#.PATH: ${NETBSDSRCDIR}/lib/libc/gen 58.PATH: ${NETBSDSRCDIR}/lib/nbsd_libc/gen 59 60.if defined(__MINIX) 61.include "compat-minix/Makefile.inc" 62.else 63.include "compat/Makefile.inc" 64.endif 65 66.if !defined(__MINIX) 67MLINKS+=getlabelsector.3 getlabeloffset.3 68.endif 69MLINKS+=login.3 logout.3 70MLINKS+=login.3 logwtmp.3 71MLINKS+=login_cap.3 login_getclass.3 72MLINKS+=login_cap.3 login_getcapbool.3 73MLINKS+=login_cap.3 login_getcapnum.3 74MLINKS+=login_cap.3 login_getcapsize.3 75MLINKS+=login_cap.3 login_getcapstr.3 76MLINKS+=login_cap.3 login_getcaptime.3 77MLINKS+=login_cap.3 login_close.3 78MLINKS+=login_cap.3 setclasscontext.3 79MLINKS+=login_cap.3 setusercontext.3 80MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3 81MLINKS+=openpty.3 login_tty.3 82MLINKS+=openpty.3 forkpty.3 83MLINKS+=pw_getconf.3 pw_getpwconf.3 84MLINKS+=pw_init.3 pw_edit.3 85MLINKS+=pw_init.3 pw_prompt.3 86MLINKS+=pw_init.3 pw_copy.3 87MLINKS+=pw_init.3 pw_copyx.3 88MLINKS+=pw_init.3 pw_scan.3 89MLINKS+=pw_init.3 pw_error.3 90MLINKS+=pw_lock.3 pw_mkdb.3 91MLINKS+=pw_lock.3 pw_abort.3 92MLINKS+=pw_lock.3 pw_getprefix.3 93MLINKS+=pw_lock.3 pw_setprefix.3 94MLINKS+=pidlock.3 ttylock.3 95MLINKS+=pidlock.3 ttyunlock.3 96MLINKS+=efun.3 esetfunc.3 97MLINKS+=efun.3 easprintf.3 98MLINKS+=efun.3 estrlcpy.3 99MLINKS+=efun.3 estrlcat.3 100MLINKS+=efun.3 estrdup.3 101MLINKS+=efun.3 estrndup.3 102MLINKS+=efun.3 emalloc.3 103MLINKS+=efun.3 ecalloc.3 104MLINKS+=efun.3 erealloc.3 105MLINKS+=efun.3 efopen.3 106MLINKS+=efun.3 evasprintf.3 107MLINKS+=stat_flags.3 string_to_flags.3 108MLINKS+=stat_flags.3 flags_to_string.3 109MLINKS+=snprintb.3 snprintb_m.3 110 111.include <bsd.lib.mk> 112