xref: /freebsd/kerberos5/lib/libroken/Makefile (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1
2PACKAGE=	kerberos-lib
3
4LIB=	roken
5LIBADD=	crypt
6VERSION_MAP=	${KRB5DIR}/lib/roken/version-script.map
7INCS=	roken.h \
8	roken-common.h \
9	base64.h \
10	getarg.h \
11	hex.h \
12	parse_bytes.h \
13	parse_time.h \
14	parse_units.h \
15	resolve.h \
16	rtbl.h \
17	xdbm.h
18
19SRCS=	base64.c \
20	copyhostent.c \
21	ecalloc.c \
22	emalloc.c \
23	erealloc.c \
24	estrdup.c \
25	strlwr.c \
26	strsep_copy.c \
27	strupr.c \
28	bswap.c \
29	cloexec.c \
30	concat.c \
31	ct.c \
32	doxygen.c \
33	dumpdata.c \
34	environment.c \
35	eread.c \
36	esetenv.c \
37	ewrite.c \
38	get_default_username.c \
39	get_window_size.c \
40	getaddrinfo_hostspec.c \
41	getarg.c \
42	getnameinfo_verified.c \
43	getprogname.c \
44	h_errno.c \
45	hex.c \
46	hostent_find_fqdn.c \
47	issuid.c \
48	k_getpwnam.c \
49	k_getpwuid.c \
50	mini_inetd.c \
51	net_read.c \
52	net_write.c \
53	parse_bytes.c \
54	parse_time.c \
55	parse_units.c \
56	rand.c \
57	realloc.c \
58	resolve.c \
59	roken.h \
60	roken_gethostby.c \
61	rtbl.c \
62	setprogname.c \
63	signal.c \
64	simple_exec.c \
65	snprintf.c \
66	socket.c \
67	strcollect.c \
68	strerror_r.c \
69	strpool.c \
70	timeval.c \
71	tm2time.c \
72	unvis.c \
73	verify.c \
74	vis.c \
75	warnerr.c \
76	write_pid.c \
77	xfree.c \
78	fbsd_ossl_provider_load.c
79
80CFLAGS+=-I${KRB5DIR}/lib/roken \
81	-I${SRCTOP}/kerberos5/include \
82	-I${KRB5DIR}/lib/krb5 \
83	-I${SRCTOP}/crypto/openssl/include -I.
84
85CLEANFILES= roken.h
86
87roken.h:
88	${MAKE_ROKEN} > ${.TARGET}
89
90.include <bsd.lib.mk>
91
92.PATH: ${KRB5DIR}/lib/roken
93