1# $NetBSD: Makefile,v 1.1 2011/04/13 19:16:54 elric Exp $
2
3.include <bsd.own.mk>
4.include <${.CURDIR}/../../Makefile.inc>
5
6.PATH:		${HEIMDIST}/lib/roken ${HEIMBASE}/include
7
8LIB=		roken
9
10LIBDPLIBS+=	util ${NETBSDSRCDIR}/lib/libutil \
11		crypt ${NETBSDSRCDIR}/lib/libcrypt
12
13CLEANFILES+=	${BUILT_SRCS}
14
15SRCS=						\
16	base64.c				\
17	concat.c				\
18	cloexec.c				\
19	ct.c					\
20	dumpdata.c				\
21	environment.c				\
22	ecalloc.c				\
23	emalloc.c				\
24	eread.c					\
25	erealloc.c				\
26	esetenv.c				\
27	estrdup.c				\
28	ewrite.c				\
29	getaddrinfo_hostspec.c			\
30	get_default_username.c			\
31	get_window_size.c			\
32	getarg.c				\
33	getnameinfo_verified.c			\
34	getprogname.c				\
35	h_errno.c				\
36	hex.c					\
37	hostent_find_fqdn.c			\
38	issuid.c				\
39	k_getpwnam.c				\
40	k_getpwuid.c				\
41	mini_inetd.c				\
42	net_read.c				\
43	net_write.c				\
44	parse_bytes.c				\
45	parse_time.c				\
46	parse_units.c				\
47	rand.c					\
48	realloc.c				\
49	resolve.c				\
50	roken_gethostby.c			\
51	rtbl.c					\
52	setprogname.c				\
53	signal.c				\
54	simple_exec.c				\
55	socket.c				\
56	strcollect.c				\
57	strlwr.c				\
58	strpool.c				\
59	strsep_copy.c				\
60	strupr.c				\
61	timeval.c				\
62	tm2time.c				\
63	verify.c				\
64	warnerr.c				\
65	write_pid.c				\
66	xfree.c
67
68MANS=						\
69	getarg.3				\
70	parse_time.3				\
71	rtbl.3
72
73INCS=		base64.h			\
74		getarg.h			\
75		hex.h				\
76		parse_bytes.h			\
77		parse_time.h			\
78		parse_units.h			\
79		resolve.h			\
80		roken.h				\
81		roken-common.h			\
82		rtbl.h				\
83		xdbm.h
84INCSDIR=	/usr/include/krb5
85
86HOST_CPPFLAGS+=	-I${HEIMBASE}/include -I${HEIMBASE}/include/krb5 -DHAVE_CONFIG_H
87
88.include <${HEIMBASE}/Makefile.rules.inc>
89.include <bsd.lib.mk>
90