1# $FreeBSD: stable/11/usr.bin/svn/lib/libapr_util/Makefile 362181 2020-06-14 18:49:06Z dim $
2
3.include "${.CURDIR}/../Makefile.inc"
4
5INTERNALLIB=	yes
6LIB=		apr-util
7
8SRCS=		apr_base64.c \
9		apr_brigade.c \
10		apr_buckets.c \
11		apr_buckets_alloc.c \
12		apr_buckets_eos.c \
13		apr_buckets_file.c \
14		apr_buckets_flush.c \
15		apr_buckets_heap.c \
16		apr_buckets_mmap.c \
17		apr_buckets_pipe.c \
18		apr_buckets_pool.c \
19		apr_buckets_refcount.c \
20		apr_buckets_simple.c \
21		apr_buckets_socket.c \
22		apr_crypto.c \
23		apr_date.c \
24		apr_dbd.c \
25		apr_hooks.c \
26		apr_md4.c \
27		apr_md5.c \
28		apr_memcache.c \
29		apr_passwd.c \
30		apr_queue.c \
31		apr_reslist.c \
32		apr_rmm.c \
33		apr_sha1.c \
34		apr_strmatch.c \
35		apr_thread_pool.c \
36		apr_uri.c \
37		apr_xml.c \
38		apu_dso.c \
39		apu_version.c \
40		crypt_blowfish.c \
41		getuuid.c \
42		uuid.c \
43		xlate.c
44
45.PATH:		${APRU}/buckets \
46		${APRU}/crypto \
47		${APRU}/dbd \
48		${APRU}/encoding \
49		${APRU}/hooks \
50		${APRU}/memcache \
51		${APRU}/misc \
52		${APRU}/strmatch \
53		${APRU}/uri \
54		${APRU}/xlate \
55		${APRU}/xml \
56		${APRU}/include
57
58CFLAGS+=	-DHAVE_CONFIG_H \
59		-I${.CURDIR} \
60		-I${APRU}/include/private \
61		-I${APRU}/include \
62		-I${.CURDIR}/../libapr \
63		-I${APR}/include/arch/unix \
64		-I${APR}/include
65
66.include <src.opts.mk>
67
68.if ${MK_ICONV} == "yes"
69CFLAGS+=	-DHAVE_ICONV_H=1 \
70		-DAPU_HAVE_ICONV=1
71.endif
72
73.include <bsd.lib.mk>
74