Home | History | Annotate | Line # | Download | only in libutil
      1  1.87     lukem #	$NetBSD: Makefile,v 1.87 2023/06/03 09:09:11 lukem Exp $
      2   1.7       jtc #	@(#)Makefile	8.1 (Berkeley) 6/4/93
      3   1.1       cgd 
      4  1.35     lukem USE_SHLIBDIR=	yes
      5  1.35     lukem 
      6  1.34     lukem .include <bsd.own.mk>
      7  1.34     lukem 
      8  1.57  christos .include "${NETBSDSRCDIR}/common/lib/libutil/Makefile.inc"
      9  1.57  christos 
     10  1.71      matt WARNS?=	5
     11   1.1       cgd LIB=	util
     12  1.59  christos CPPFLAGS+=-DLIBC_SCCS -I${.CURDIR}
     13  1.73  christos LINTFLAGS+=-w
     14  1.74      matt SRCS+=	efun.c \
     15  1.74      matt 	getbootfile.c getbyteorder.c getlabelsector.c getmaxpartitions.c \
     16  1.73  christos 	getfsspecname.c getmntopts.c getrawpartition.c getdiskrawname.c \
     17  1.40     elric 	disklabel_dkcksum.c disklabel_scan.c \
     18  1.78  christos 	if_media.c kinfo_getvmmap.c \
     19  1.39  jdolecek 	login.c loginx.c login_cap.c login_tty.c logout.c logoutx.c \
     20  1.53  christos 	logwtmp.c logwtmpx.c opendisk.c parsedate.y \
     21  1.63  drochner 	passwd.c pw_scan.c pidfile.c pidlock.c pty.c \
     22  1.56     lukem 	raise_default_signal.c \
     23  1.67  christos 	secure_path.c sockaddr_snprintf.c stat_flags.c \
     24  1.64  christos 	strpct.c ttyaction.c ttymsg.c
     25   1.7       jtc 
     26  1.74      matt MAN=	efun.3 \
     27  1.74      matt 	getbootfile.3 getbyteorder.3 getfstypename.3 getlabelsector.3 \
     28  1.69  christos 	getmaxpartitions.3 getmntopts.3 getrawpartition.3 \
     29  1.73  christos 	getdiskrawname.3 getfsspecname.3 \
     30  1.78  christos 	login.3 login_cap.3 loginx.3 kinfo_getvmmap.3 \
     31  1.40     elric 	disklabel_dkcksum.3 disklabel_scan.3 \
     32  1.53  christos 	opendisk.3 openpty.3 parsedate.3 pidfile.3 pidlock.3 \
     33  1.68  christos 	proc_compare.3 pw_getconf.3 pw_init.3 pw_lock.3 secure_path.3 \
     34  1.56     lukem 	raise_default_signal.3 \
     35  1.64  christos 	snprintb.3 sockaddr_snprintf.3 stat_flags.3 strpct.3 ttyaction.3 \
     36  1.36       abs 	ttymsg.3 util.3
     37  1.19   thorpej 
     38  1.80  christos CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_UTIL_H
     39  1.80  christos CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NETATALK_AT_H
     40  1.80  christos CPPFLAGS.sockaddr_snprintf.c+=-DHAVE_NET_IF_DL_H
     41  1.86    rillig LINTFLAGS.if_media.c+=	-X 351	# 'extern' declaration outside header
     42  1.80  christos 
     43  1.87     lukem COPTS.logwtmp.c+=	${CC_WNO_STRINGOP_TRUNCATION}
     44  1.87     lukem COPTS.logwtmpx.c+=	${CC_WNO_STRINGOP_TRUNCATION}
     45  1.83  christos 
     46  1.59  christos YPREFIX=__pd
     47  1.34     lukem .PATH:	${NETBSDSRCDIR}/lib/libc/gen
     48   1.7       jtc 
     49  1.59  christos .include "compat/Makefile.inc"
     50  1.59  christos 
     51  1.42       scw MLINKS+=getlabelsector.3 getlabeloffset.3
     52  1.66    bouyer MLINKS+=getlabelsector.3 getlabelusesmbr.3
     53  1.73  christos MLINKS+=getdiskrawname.3 getdiskcookedname.3
     54   1.7       jtc MLINKS+=login.3 logout.3
     55   1.7       jtc MLINKS+=login.3 logwtmp.3
     56  1.25       mjl MLINKS+=login_cap.3 login_getclass.3
     57  1.25       mjl MLINKS+=login_cap.3 login_getcapbool.3
     58  1.25       mjl MLINKS+=login_cap.3 login_getcapnum.3
     59  1.25       mjl MLINKS+=login_cap.3 login_getcapsize.3
     60  1.25       mjl MLINKS+=login_cap.3 login_getcapstr.3
     61  1.25       mjl MLINKS+=login_cap.3 login_getcaptime.3
     62  1.75  christos MLINKS+=login_cap.3 login_getpwclass.3
     63  1.25       mjl MLINKS+=login_cap.3 login_close.3
     64  1.25       mjl MLINKS+=login_cap.3 setclasscontext.3
     65  1.25       mjl MLINKS+=login_cap.3 setusercontext.3
     66  1.38       wiz MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
     67  1.82       kre MLINKS+=opendisk.3 opendisk1.3
     68   1.7       jtc MLINKS+=openpty.3 login_tty.3
     69   1.7       jtc MLINKS+=openpty.3 forkpty.3
     70  1.79       roy MLINKS+=pidfile.3 pidfile_clean.3
     71  1.79       roy MLINKS+=pidfile.3 pidfile_lock.3
     72  1.79       roy MLINKS+=pidfile.3 pidfile_read.3
     73  1.58  christos MLINKS+=pw_getconf.3 pw_getpwconf.3
     74   1.7       jtc MLINKS+=pw_init.3 pw_edit.3
     75   1.7       jtc MLINKS+=pw_init.3 pw_prompt.3
     76   1.7       jtc MLINKS+=pw_init.3 pw_copy.3
     77  1.62  christos MLINKS+=pw_init.3 pw_copyx.3
     78   1.7       jtc MLINKS+=pw_init.3 pw_scan.3
     79   1.7       jtc MLINKS+=pw_init.3 pw_error.3
     80   1.7       jtc MLINKS+=pw_lock.3 pw_mkdb.3
     81   1.7       jtc MLINKS+=pw_lock.3 pw_abort.3
     82  1.28      tron MLINKS+=pw_lock.3 pw_getprefix.3
     83  1.28      tron MLINKS+=pw_lock.3 pw_setprefix.3
     84  1.15       cjs MLINKS+=pidlock.3 ttylock.3
     85  1.15       cjs MLINKS+=pidlock.3 ttyunlock.3
     86  1.50  christos MLINKS+=efun.3 esetfunc.3
     87  1.50  christos MLINKS+=efun.3 easprintf.3
     88  1.50  christos MLINKS+=efun.3 estrlcpy.3
     89  1.50  christos MLINKS+=efun.3 estrlcat.3
     90  1.50  christos MLINKS+=efun.3 estrdup.3
     91  1.55     pooka MLINKS+=efun.3 estrndup.3
     92  1.76  christos MLINKS+=efun.3 estrtoi.3
     93  1.76  christos MLINKS+=efun.3 estrtou.3
     94  1.50  christos MLINKS+=efun.3 emalloc.3
     95  1.51  christos MLINKS+=efun.3 ecalloc.3
     96  1.50  christos MLINKS+=efun.3 erealloc.3
     97  1.77     kamil MLINKS+=efun.3 ereallocarr.3
     98  1.50  christos MLINKS+=efun.3 efopen.3
     99  1.50  christos MLINKS+=efun.3 evasprintf.3
    100  1.54  christos MLINKS+=stat_flags.3 string_to_flags.3
    101  1.54  christos MLINKS+=stat_flags.3 flags_to_string.3
    102  1.61  pgoyette MLINKS+=snprintb.3 snprintb_m.3
    103  1.65    jruoho MLINKS+=util.3 libutil.3
    104  1.70  christos MLINKS+=strpct.3 strspct.3
    105  1.81   abhinav MLINKS+=getmntopts.3 getmntoptstr.3
    106  1.81   abhinav MLINKS+=getmntopts.3 getmntoptnum.3
    107  1.81   abhinav MLINKS+=getmntopts.3 freemntopts.3
    108   1.1       cgd 
    109   1.1       cgd .include <bsd.lib.mk>
    110