mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
24 lines
412 B
Makefile
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>
|