Makefile revision 1.73
11.73Schristos#	$NetBSD: Makefile,v 1.73 2012/04/07 16:44:39 christos Exp $
21.7Sjtc#	@(#)Makefile	8.1 (Berkeley) 6/4/93
31.1Scgd
41.35SlukemUSE_SHLIBDIR=	yes
51.35Slukem
61.34Slukem.include <bsd.own.mk>
71.34Slukem
81.57Schristos.include "${NETBSDSRCDIR}/common/lib/libutil/Makefile.inc"
91.57Schristos
101.71SmattWARNS?=	5
111.1ScgdLIB=	util
121.59SchristosCPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
131.73SchristosLINTFLAGS+=-w
141.67SchristosSRCS+=	efun.c getbootfile.c getlabelsector.c getmaxpartitions.c \
151.73Schristos	getfsspecname.c getmntopts.c getrawpartition.c getdiskrawname.c \
161.40Selric	disklabel_dkcksum.c disklabel_scan.c \
171.44Sdsl	if_media.c \
181.39Sjdolecek	login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
191.53Schristos	logwtmp.c logwtmpx.c opendisk.c parsedate.y \
201.63Sdrochner	passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
211.56Slukem	raise_default_signal.c \
221.67Schristos	secure_path.c sockaddr_snprintf.c stat_flags.c \
231.64Schristos	strpct.c ttyaction.c ttymsg.c
241.7Sjtc
251.69SchristosMAN=	efun.3 getbootfile.3 getfstypename.3 getlabelsector.3 \
261.69Schristos	getmaxpartitions.3 getmntopts.3 getrawpartition.3 \
271.73Schristos	getdiskrawname.3 getfsspecname.3 \
281.38Swiz	login.3 login_cap.3 loginx.3 \
291.40Selric	disklabel_dkcksum.3 disklabel_scan.3 \
301.53Schristos	opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
311.68Schristos	proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
321.56Slukem	raise_default_signal.3 \
331.64Schristos	snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
341.36Sabs	ttymsg.3 util.3
351.19Sthorpej
361.59SchristosYPREFIX=__pd
371.34Slukem.PATH:	${NETBSDSRCDIR}/lib/libc/gen
381.7Sjtc
391.59Schristos.include "compat/Makefile.inc"
401.59Schristos
411.42SscwMLINKS+=getlabelsector.3 getlabeloffset.3
421.66SbouyerMLINKS+=getlabelsector.3 getlabelusesmbr.3
431.73SchristosMLINKS+=getdiskrawname.3 getdiskcookedname.3
441.7SjtcMLINKS+=login.3 logout.3
451.7SjtcMLINKS+=login.3 logwtmp.3
461.25SmjlMLINKS+=login_cap.3 login_getclass.3
471.25SmjlMLINKS+=login_cap.3 login_getcapbool.3
481.25SmjlMLINKS+=login_cap.3 login_getcapnum.3
491.25SmjlMLINKS+=login_cap.3 login_getcapsize.3
501.25SmjlMLINKS+=login_cap.3 login_getcapstr.3
511.25SmjlMLINKS+=login_cap.3 login_getcaptime.3
521.25SmjlMLINKS+=login_cap.3 login_close.3
531.25SmjlMLINKS+=login_cap.3 setclasscontext.3
541.25SmjlMLINKS+=login_cap.3 setusercontext.3
551.38SwizMLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
561.7SjtcMLINKS+=openpty.3 login_tty.3
571.7SjtcMLINKS+=openpty.3 forkpty.3
581.58SchristosMLINKS+=pw_getconf.3 pw_getpwconf.3
591.7SjtcMLINKS+=pw_init.3 pw_edit.3
601.7SjtcMLINKS+=pw_init.3 pw_prompt.3
611.7SjtcMLINKS+=pw_init.3 pw_copy.3
621.62SchristosMLINKS+=pw_init.3 pw_copyx.3
631.7SjtcMLINKS+=pw_init.3 pw_scan.3
641.7SjtcMLINKS+=pw_init.3 pw_error.3
651.7SjtcMLINKS+=pw_lock.3 pw_mkdb.3
661.7SjtcMLINKS+=pw_lock.3 pw_abort.3
671.28StronMLINKS+=pw_lock.3 pw_getprefix.3
681.28StronMLINKS+=pw_lock.3 pw_setprefix.3
691.15ScjsMLINKS+=pidlock.3 ttylock.3
701.15ScjsMLINKS+=pidlock.3 ttyunlock.3
711.50SchristosMLINKS+=efun.3 esetfunc.3
721.50SchristosMLINKS+=efun.3 easprintf.3
731.50SchristosMLINKS+=efun.3 estrlcpy.3
741.50SchristosMLINKS+=efun.3 estrlcat.3
751.50SchristosMLINKS+=efun.3 estrdup.3
761.55SpookaMLINKS+=efun.3 estrndup.3
771.50SchristosMLINKS+=efun.3 emalloc.3
781.51SchristosMLINKS+=efun.3 ecalloc.3
791.50SchristosMLINKS+=efun.3 erealloc.3
801.50SchristosMLINKS+=efun.3 efopen.3
811.50SchristosMLINKS+=efun.3 evasprintf.3
821.54SchristosMLINKS+=stat_flags.3 string_to_flags.3
831.54SchristosMLINKS+=stat_flags.3 flags_to_string.3
841.61SpgoyetteMLINKS+=snprintb.3 snprintb_m.3
851.65SjruohoMLINKS+=util.3 libutil.3
861.70SchristosMLINKS+=strpct.3 strspct.3
871.1Scgd
881.1Scgd.include <bsd.lib.mk>
89