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