1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00
freebsd/lib/libyaml/Makefile
Baptiste Daroussin e51c53f366 Import libyaml as libbsdyml (private brand name)
LibYAML is a YAML 1.1 parser and emitter under MIT license which will
soon be used by the pkg boostrap (usr.bin/pkg) and bhyve

Reviewed by:	roberto, antoine
2013-03-04 11:27:41 +00:00

24 lines
412 B
Makefile

# $FreeBSD$
LIBYAML= ${.CURDIR}/../../contrib/libyaml
LIB= bsdyml
SHLIB_MAJOR= 0
INCS= bsdyml.h
SRCS= api.c dumper.c emitter.c loader.c \
parser.c reader.c scanner.c writer.c
.PATH: ${LIBYAML}/src ${LIBYAML}/include
CLEANFILES= bsdyml.h
WARNS?= 1
CFLAGS+= -I${LIBYAML}/include \
-I${LIBYAML} \
-I${.CURDIR} \
-DHAVE_CONFIG_H
bsdyml.h: yaml.h
cp -f ${.ALLSRC} ${.TARGET}
.include <bsd.lib.mk>