diff options
author | bapt <bapt@FreeBSD.org> | 2013-03-04 11:27:41 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-03-04 11:27:41 +0000 |
commit | 6dc03862600c95a3a8c18e50f843a082be3a078c (patch) | |
tree | 5075db86cc8d854fdcdc49d9e8ab0a25c9741312 /lib/libyaml/Makefile | |
parent | 9ad2265733ae27758ebf470fc60be9e94434b5ac (diff) | |
parent | d191df7e02a5d6cea2324e0b10bfed2a4e9f198c (diff) | |
download | FreeBSD-src-6dc03862600c95a3a8c18e50f843a082be3a078c.zip FreeBSD-src-6dc03862600c95a3a8c18e50f843a082be3a078c.tar.gz |
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
Diffstat (limited to 'lib/libyaml/Makefile')
-rw-r--r-- | lib/libyaml/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/libyaml/Makefile b/lib/libyaml/Makefile new file mode 100644 index 0000000..076eb54 --- /dev/null +++ b/lib/libyaml/Makefile @@ -0,0 +1,23 @@ +# $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> |