mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
ec87b7d323
this library outside of base. Requested by: simon
25 lines
430 B
Makefile
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>
|