Remove some warning flags and raise WARNS where possible.
[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.10 2008/10/28 16:54:09 swildner Exp $
4
5 LIB=    util
6 SHLIB_MAJOR= 4
7 CFLAGS+=-DLIBC_SCCS -I${.CURDIR} -I${.CURDIR}/../../sys
8 CFLAGS+=-DINET6
9 CFLAGS+=-D_CTYPE_H_DISABLE_MACROS_ 
10 SRCS=   login.c login_tty.c logout.c logwtmp.c pty.c \
11         login_cap.c login_class.c login_auth.c login_times.c login_ok.c \
12         login_crypt.c _secure_path.c uucplock.c property.c auth.c \
13         realhostname.c fparseln.c stub.c pidfile.c trimdomain.c \
14         dehumanize_number.c humanize_number.c pw_scan.c pw_util.c
15 INCS=   libutil.h login_cap.h
16 WARNS?= 3
17
18 MAN+=   login.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 pty.3 \
19         login_cap.3 login_class.3 login_times.3 login_ok.3 \
20         _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \
21         realhostname_sa.3 trimdomain.3 fparseln.3 pidfile.3 \
22         humanize_number.3
23 MAN+=   login.conf.5 auth.conf.5
24 MLINKS+= property.3 properties_read.3  property.3 properties_free.3
25 MLINKS+= property.3 property_find.3
26 MLINKS+= auth.3 auth_getval.3
27 MLINKS+= pty.3 openpty.3  pty.3 forkpty.3
28 MLINKS+=humanize_number.3 dehumanize_number.3
29 MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
30         login_cap.3 login_getclass.3 login_cap.3 login_getuserclass.3 \
31         login_cap.3 login_getcapstr.3 login_cap.3 login_getcaplist.3 \
32         login_cap.3 login_getstyle.3 login_cap.3 login_getcaptime.3 \
33         login_cap.3 login_getcapnum.3 login_cap.3 login_getcapsize.3 \
34         login_cap.3 login_getcapbool.3 login_cap.3 login_getpath.3 \
35         login_cap.3 login_getpwclass.3 login_cap.3 login_setcryptfmt.3
36 MLINKS+=login_class.3 setusercontext.3 login_class.3 setclasscontext.3 \
37         login_class.3 setclassenvironment.3 login_class.3 setclassresources.3
38 MLINKS+=login_times.3 parse_lt.3 login_times.3 in_ltm.3 \
39         login_times.3 in_lt.3 login_times.3 in_ltms.3 \
40         login_times.3 in_lts.3
41 MLINKS+=login_ok.3 auth_ttyok.3 login_ok.3 auth_hostok.3 \
42         login_ok.3 auth_timeok.3
43 MLINKS+=login_auth.3 auth_checknologin.3 login_auth.3 auth_cat.3
44 MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
45         uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3
46
47 .include <bsd.lib.mk>