libutil -- Import error functions from NetBSD.
[dragonfly.git] / lib / libutil / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 #       $FreeBSD: src/lib/libutil/Makefile,v 1.33.2.4 2001/04/25 10:04:42 ru Exp $
3 #       $DragonFly: src/lib/libutil/Makefile,v 1.12 2008/11/03 00:25:44 pavalos Exp $
4
5 LIB=    util
6 SHLIB_MAJOR= 4
7 CFLAGS+=-DINET6
8 CFLAGS+=-D_CTYPE_H_DISABLE_MACROS_ 
9 SRCS=   flopen.c login.c login_tty.c logout.c logwtmp.c logwtmpx.c pty.c \
10         login_cap.c login_class.c login_auth.c login_times.c login_ok.c \
11         login_crypt.c loginx.c logoutx.c _secure_path.c uucplock.c \
12         property.c auth.c \
13         realhostname.c fparseln.c stub.c pidfile.c trimdomain.c \
14         dehumanize_number.c humanize_number.c humanize_unsigned.c pw_util.c \
15         efun.c
16 INCS=   libutil.h login_cap.h
17 WARNS?= 3
18
19 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
20
21 MAN+=   flopen.3 login.3 loginx.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 \
22         pty.3 \
23         login_cap.3 login_class.3 login_times.3 login_ok.3 \
24         _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \
25         realhostname_sa.3 trimdomain.3 fparseln.3 pidfile.3 \
26         humanize_number.3 humanize_unsigned.3 \
27         efun.3
28 MAN+=   login.conf.5 auth.conf.5
29 MLINKS+= property.3 properties_read.3  property.3 properties_free.3
30 MLINKS+= property.3 property_find.3
31 MLINKS+= auth.3 auth_getval.3
32 MLINKS+= pty.3 openpty.3  pty.3 forkpty.3
33 MLINKS+=humanize_number.3 dehumanize_number.3
34 MLINKS+=humanize_unsigned.3 format_bytes.3
35 MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
36         login_cap.3 login_getclass.3 login_cap.3 login_getuserclass.3 \
37         login_cap.3 login_getcapstr.3 login_cap.3 login_getcaplist.3 \
38         login_cap.3 login_getstyle.3 login_cap.3 login_getcaptime.3 \
39         login_cap.3 login_getcapnum.3 login_cap.3 login_getcapsize.3 \
40         login_cap.3 login_getcapbool.3 login_cap.3 login_getpath.3 \
41         login_cap.3 login_getpwclass.3 login_cap.3 login_setcryptfmt.3
42 MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
43 MLINKS+=login_class.3 setusercontext.3 login_class.3 setclasscontext.3 \
44         login_class.3 setclassenvironment.3 login_class.3 setclassresources.3
45 MLINKS+=login_times.3 parse_lt.3 login_times.3 in_ltm.3 \
46         login_times.3 in_lt.3 login_times.3 in_ltms.3 \
47         login_times.3 in_lts.3
48 MLINKS+=login_ok.3 auth_ttyok.3 login_ok.3 auth_hostok.3 \
49         login_ok.3 auth_timeok.3
50 MLINKS+=login_auth.3 auth_checknologin.3 login_auth.3 auth_cat.3
51 MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
52         uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3
53
54 .include <bsd.lib.mk>