xref: /freebsd/kerberos5/lib/libkafs5/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1PACKAGE=	kerberos-lib
2
3LIB=	kafs5
4LDFLAGS=	-Wl,--no-undefined
5LIBADD=	asn1 krb5 roken
6INCS=	kafs.h
7MAN=	kafs5.3
8VERSION_MAP=	${.CURDIR}/version.map
9
10MLINKS=	kafs5.3 k_afs_cell_of_file.3 \
11	kafs5.3 k_hasafs.3 \
12	kafs5.3 k_pioctl.3 \
13	kafs5.3 k_setpag.3 \
14	kafs5.3 k_unlog.3 \
15	kafs5.3 kafs.3 \
16	kafs5.3 kafs_set_verbose.3 \
17	kafs5.3 kafs_settoken.3 \
18	kafs5.3 kafs_settoken5.3 \
19	kafs5.3 kafs_settoken_rxkad.3 \
20	kafs5.3 krb5_afslog.3 \
21	kafs5.3 krb5_afslog_uid.3 \
22	kafs5.3 krb_afslog.3 \
23	kafs5.3 krb_afslog_uid.3
24
25SRCS=	afssys.c afskrb5.c common.c
26
27CFLAGS+=	-I${KRB5DIR}/lib/kafs \
28		-I${KRB5DIR}/lib/krb5 \
29		-I${.OBJDIR:H}/libkrb5 \
30		-I${KRB5DIR}/lib/roken
31
32CLEANFILES= kafs5.3
33
34kafs5.3: kafs.3
35	sed -e 's/libkafs, -lkafs/libkafs5, -lkafs5/g' ${.ALLSRC} >${.TARGET}
36
37.include <bsd.lib.mk>
38
39.PATH: ${KRB5DIR}/lib/kafs
40