freebsd-nq/lib/libyaml/Makefile
Baptiste Daroussin ec87b7d323 Add a stub manpage modeled over the libexpat one to explain to users not to use
this library outside of base.

Requested by:	simon
2013-03-05 13:06:40 +00:00

25 lines
430 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
MAN= libbsdyml.3
.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>