gdb - Local mods (compile)
[dragonfly.git] / lib / libutil / Makefile
1 #       @(#)Makefile    8.1 (Berkeley) 6/4/93
2 #       $FreeBSD: head/lib/libutil/Makefile 242381 2012-10-30 22:18:08Z bapt $
3
4 LIB=    util
5 SHLIB_MAJOR= 4
6 SHLIBDIR?= /lib
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 getmntopts.c
16 SRCS+=  gr_util.c hexdump.c
17
18 INCS=   libutil.h login_cap.h
19 INCSLINKS=libutil.h ${INCLUDEDIR}/util.h
20 WARNS?= 3
21
22 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
23
24 MAN+=   flopen.3 login.3 loginx.3 login_auth.3 login_tty.3 logout.3 logwtmp.3 \
25         pty.3 \
26         login_cap.3 login_class.3 login_times.3 login_ok.3 \
27         _secure_path.3 uucplock.3 property.3 auth.3 realhostname.3 \
28         realhostname_sa.3 trimdomain.3 fparseln.3 pidfile.3 \
29         humanize_number.3 humanize_unsigned.3 \
30         efun.3 getmntopts.3
31 MAN+=   login.conf.5 auth.conf.5
32 MAN+=   hexdump.3
33 MAN+=   pw_util.3
34
35 MLINKS+=auth.3 auth_getval.3
36 MLINKS+=efun.3 ecalloc.3 efun.3 emalloc.3 efun.3 erealloc.3 efun.3 esetfunc.3 \
37         efun.3 estrdup.3 efun.3 estrlcat.3 efun.3 estrlcpy.3 \
38         efun.3 estrndup.3 efun.3 easprintf.3
39 MLINKS+=humanize_number.3 dehumanize_number.3
40 MLINKS+=humanize_unsigned.3 format_bytes.3
41 MLINKS+=login_cap.3 login_getclassbyname.3 login_cap.3 login_close.3 \
42         login_cap.3 login_getclass.3 login_cap.3 login_getuserclass.3 \
43         login_cap.3 login_getcapstr.3 login_cap.3 login_getcaplist.3 \
44         login_cap.3 login_getstyle.3 login_cap.3 login_getcaptime.3 \
45         login_cap.3 login_getcapnum.3 login_cap.3 login_getcapsize.3 \
46         login_cap.3 login_getcapbool.3 login_cap.3 login_getpath.3 \
47         login_cap.3 login_getpwclass.3 login_cap.3 login_setcryptfmt.3
48 MLINKS+=loginx.3 logoutx.3 loginx.3 logwtmpx.3
49 MLINKS+=login_class.3 setusercontext.3 login_class.3 setclasscontext.3 \
50         login_class.3 setclassenvironment.3 login_class.3 setclassresources.3
51 MLINKS+=login_times.3 parse_lt.3 login_times.3 in_ltm.3 \
52         login_times.3 in_lt.3 login_times.3 in_ltms.3 \
53         login_times.3 in_lts.3
54 MLINKS+=login_ok.3 auth_ttyok.3 login_ok.3 auth_hostok.3 \
55         login_ok.3 auth_timeok.3
56 MLINKS+=login_auth.3 auth_checknologin.3 login_auth.3 auth_cat.3
57 MLINKS+=pidfile.3 pidfile_close.3 pidfile.3 pidfile_fileno.3 \
58         pidfile.3 pidfile_open.3 pidfile.3 pidfile_remove.3 \
59         pidfile.3 pidfile_write.3
60 MLINKS+=property.3 properties_read.3  property.3 properties_free.3
61 MLINKS+=property.3 property_find.3
62 MLINKS+=pty.3 openpty.3 pty.3 forkpty.3
63 MLINKS+=uucplock.3 uu_lock.3 uucplock.3 uu_lock_txfr.3 \
64         uucplock.3 uu_unlock.3 uucplock.3 uu_lockerr.3
65 MLINKS+=pw_util.3 pw_copy.3 \
66         pw_util.3 pw_dup.3 \
67         pw_util.3 pw_edit.3 \
68         pw_util.3 pw_equal.3 \
69         pw_util.3 pw_fini.3 \
70         pw_util.3 pw_init.3 \
71         pw_util.3 pw_make.3 \
72         pw_util.3 pw_make_v7.3 \
73         pw_util.3 pw_mkdb.3 \
74         pw_util.3 pw_lock.3 \
75         pw_util.3 pw_scan.3 \
76         pw_util.3 pw_tempname.3 \
77         pw_util.3 pw_tmp.3
78
79 .include <bsd.lib.mk>