xref: /freebsd/lib/libucl/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
12d012dffSStephen J. KiernanLIBUCL_DIR=	${SRCTOP}/contrib/libucl
2c99fb5f9SBaptiste Daroussin
3a70cba95SGlen BarberPACKAGE=lib${LIB}
4c99fb5f9SBaptiste DaroussinLIB=		ucl
5c99fb5f9SBaptiste DaroussinPRIVATELIB=	true
6c99fb5f9SBaptiste DaroussinSHLIB_MAJOR=	1
73dcf5eb7SBaptiste DaroussinSRCS=		ucl_emitter_streamline.c \
83dcf5eb7SBaptiste Daroussin		ucl_emitter_utils.c \
93dcf5eb7SBaptiste Daroussin		ucl_emitter.c \
10c99fb5f9SBaptiste Daroussin		ucl_hash.c \
1139ee7a7aSBaptiste Daroussin		ucl_msgpack.c \
12c99fb5f9SBaptiste Daroussin		ucl_parser.c  \
1397bd480fSBaptiste Daroussin		ucl_schema.c \
1439ee7a7aSBaptiste Daroussin		ucl_sexp.c \
156525738fSBaptiste Daroussin		ucl_util.c
16c99fb5f9SBaptiste Daroussin
172d012dffSStephen J. Kiernan.PATH:		${LIBUCL_DIR}/src \
182d012dffSStephen J. Kiernan		${LIBUCL_DIR}/include \
192d012dffSStephen J. Kiernan		${LIBUCL_DIR}/doc
20c99fb5f9SBaptiste Daroussin
215551c573SBaptiste DaroussinINCS=		ucl.h
224bf54857SBaptiste DaroussinLIBADD=		m
234bf54857SBaptiste Daroussin
24*ecebb3ccSKyle EvansWARNS?=		1
252d012dffSStephen J. KiernanCFLAGS+=	-I${LIBUCL_DIR}/include \
262d012dffSStephen J. Kiernan		-I${LIBUCL_DIR}/src \
272d012dffSStephen J. Kiernan		-I${LIBUCL_DIR}/uthash \
282d012dffSStephen J. Kiernan		-I${LIBUCL_DIR}/klib
29c99fb5f9SBaptiste Daroussin
30013f1782SGlen BarberMAN+=		libucl.3
31013f1782SGlen Barber
32c99fb5f9SBaptiste Daroussin.include <bsd.lib.mk>
33