Makefile revision 1.80
11.80Schristos#	$NetBSD: Makefile,v 1.80 2016/12/29 18:30:55 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.74SmattSRCS+=	efun.c \
151.74Smatt	getbootfile.c getbyteorder.c getlabelsector.c getmaxpartitions.c \
161.73Schristos	getfsspecname.c getmntopts.c getrawpartition.c getdiskrawname.c \
171.40Selric	disklabel_dkcksum.c disklabel_scan.c \
181.78Schristos	if_media.c kinfo_getvmmap.c \
191.39Sjdolecek	login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
201.53Schristos	logwtmp.c logwtmpx.c opendisk.c parsedate.y \
211.63Sdrochner	passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
221.56Slukem	raise_default_signal.c \
231.67Schristos	secure_path.c sockaddr_snprintf.c stat_flags.c \
241.64Schristos	strpct.c ttyaction.c ttymsg.c
251.7Sjtc
261.74SmattMAN=	efun.3 \
271.74Smatt	getbootfile.3 getbyteorder.3 getfstypename.3 getlabelsector.3 \
281.69Schristos	getmaxpartitions.3 getmntopts.3 getrawpartition.3 \
291.73Schristos	getdiskrawname.3 getfsspecname.3 \
301.78Schristos	login.3 login_cap.3 loginx.3 kinfo_getvmmap.3 \
311.40Selric	disklabel_dkcksum.3 disklabel_scan.3 \
321.53Schristos	opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
331.68Schristos	proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
341.56Slukem	raise_default_signal.3 \
351.64Schristos	snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
361.36Sabs	ttymsg.3 util.3
371.19Sthorpej
381.80SchristosCPPFLAGS.sockaddr_snprintf.c+=-DHAVE_UTIL_H
391.80SchristosCPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NETATALK_AT_H
401.80SchristosCPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NET_IF_DL_H
411.80Schristos
421.59SchristosYPREFIX=__pd
431.34Slukem.PATH:	${NETBSDSRCDIR}/lib/libc/gen
441.7Sjtc
451.59Schristos.include "compat/Makefile.inc"
461.59Schristos
471.42SscwMLINKS+=getlabelsector.3 getlabeloffset.3
481.66SbouyerMLINKS+=getlabelsector.3 getlabelusesmbr.3
491.73SchristosMLINKS+=getdiskrawname.3 getdiskcookedname.3
501.7SjtcMLINKS+=login.3 logout.3
511.7SjtcMLINKS+=login.3 logwtmp.3
521.25SmjlMLINKS+=login_cap.3 login_getclass.3
531.25SmjlMLINKS+=login_cap.3 login_getcapbool.3
541.25SmjlMLINKS+=login_cap.3 login_getcapnum.3
551.25SmjlMLINKS+=login_cap.3 login_getcapsize.3
561.25SmjlMLINKS+=login_cap.3 login_getcapstr.3
571.25SmjlMLINKS+=login_cap.3 login_getcaptime.3
581.75SchristosMLINKS+=login_cap.3 login_getpwclass.3
591.25SmjlMLINKS+=login_cap.3 login_close.3
601.25SmjlMLINKS+=login_cap.3 setclasscontext.3
611.25SmjlMLINKS+=login_cap.3 setusercontext.3
621.38SwizMLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
631.7SjtcMLINKS+=openpty.3 login_tty.3
641.7SjtcMLINKS+=openpty.3 forkpty.3
651.79SroyMLINKS+=pidfile.3 pidfile_clean.3
661.79SroyMLINKS+=pidfile.3 pidfile_lock.3
671.79SroyMLINKS+=pidfile.3 pidfile_read.3
681.58SchristosMLINKS+=pw_getconf.3 pw_getpwconf.3
691.7SjtcMLINKS+=pw_init.3 pw_edit.3
701.7SjtcMLINKS+=pw_init.3 pw_prompt.3
711.7SjtcMLINKS+=pw_init.3 pw_copy.3
721.62SchristosMLINKS+=pw_init.3 pw_copyx.3
731.7SjtcMLINKS+=pw_init.3 pw_scan.3
741.7SjtcMLINKS+=pw_init.3 pw_error.3
751.7SjtcMLINKS+=pw_lock.3 pw_mkdb.3
761.7SjtcMLINKS+=pw_lock.3 pw_abort.3
771.28StronMLINKS+=pw_lock.3 pw_getprefix.3
781.28StronMLINKS+=pw_lock.3 pw_setprefix.3
791.15ScjsMLINKS+=pidlock.3 ttylock.3
801.15ScjsMLINKS+=pidlock.3 ttyunlock.3
811.50SchristosMLINKS+=efun.3 esetfunc.3
821.50SchristosMLINKS+=efun.3 easprintf.3
831.50SchristosMLINKS+=efun.3 estrlcpy.3
841.50SchristosMLINKS+=efun.3 estrlcat.3
851.50SchristosMLINKS+=efun.3 estrdup.3
861.55SpookaMLINKS+=efun.3 estrndup.3
871.76SchristosMLINKS+=efun.3 estrtoi.3
881.76SchristosMLINKS+=efun.3 estrtou.3
891.50SchristosMLINKS+=efun.3 emalloc.3
901.51SchristosMLINKS+=efun.3 ecalloc.3
911.50SchristosMLINKS+=efun.3 erealloc.3
921.77SkamilMLINKS+=efun.3 ereallocarr.3
931.50SchristosMLINKS+=efun.3 efopen.3
941.50SchristosMLINKS+=efun.3 evasprintf.3
951.54SchristosMLINKS+=stat_flags.3 string_to_flags.3
961.54SchristosMLINKS+=stat_flags.3 flags_to_string.3
971.61SpgoyetteMLINKS+=snprintb.3 snprintb_m.3
981.65SjruohoMLINKS+=util.3 libutil.3
991.70SchristosMLINKS+=strpct.3 strspct.3
1001.1Scgd
1011.1Scgd.include <bsd.lib.mk>
102