1libucl_common_cflags=	-I$(top_srcdir)/src \
2			-I$(top_srcdir)/include \
3			-I$(top_srcdir)/uthash \
4			-I$(top_srcdir)/klib \
5			-Wall -W -Wno-unused-parameter -Wno-pointer-sign
6lib_LTLIBRARIES=	libucl.la
7libucl_la_SOURCES=	ucl_emitter.c \
8					ucl_emitter_streamline.c \
9					ucl_emitter_utils.c \
10					ucl_hash.c \
11					ucl_parser.c \
12					ucl_schema.c \
13					ucl_util.c \
14					ucl_msgpack.c \
15					ucl_sexp.c
16libucl_la_CFLAGS=	$(libucl_common_cflags) \
17					@CURL_CFLAGS@
18libucl_la_LDFLAGS = -version-info @SO_VERSION@
19libucl_la_LIBADD=	@LIBFETCH_LIBS@ \
20					@LIBCRYPTO_LIB@ \
21					@LIBREGEX_LIB@ \
22					@CURL_LIBS@
23
24include_HEADERS=	$(top_srcdir)/include/ucl.h \
25					$(top_srcdir)/include/ucl++.h
26noinst_HEADERS=	ucl_internal.h \
27				mum.h \
28				ucl_hash.h \
29				ucl_chartable.h \
30				tree.h
31