diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-26 06:57:37 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-26 07:02:31 +0000 |
commit | 0f5c86ddb0257f4b7620f1d8e898289be30b19bf (patch) | |
tree | 4fa0b797b13e1382f4d7ffaf96928a0d6a0c765c /lib | |
parent | 44d6f4b314ad39502d21854b6d1db8fee4ffeafe (diff) | |
parent | 5f99da5545ebe3c081dc126e00ec7d801db9c772 (diff) |
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile | 1 | ||||
-rw-r--r-- | lib/libyaml/Makefile | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index fcb4bd95fecb..3417e7b30cb4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -109,6 +109,7 @@ SUBDIR= ${SUBDIR_BOOTSTRAP} \ libwrap \ libxo \ liby \ + libyaml \ libz \ libzstd \ ncurses \ diff --git a/lib/libyaml/Makefile b/lib/libyaml/Makefile new file mode 100644 index 000000000000..6acd34f178a9 --- /dev/null +++ b/lib/libyaml/Makefile @@ -0,0 +1,29 @@ +LIBYAML_DIR= ${SRCTOP}/contrib/libyaml + +PACKAGE=lib${LIB} +LIB= yaml +PRIVATELIB= true +SHLIB_MAJOR= 1 +SRCS= api.c \ + dumper.c \ + emitter.c \ + loader.c \ + parser.c \ + reader.c \ + scanner.c \ + writer.c + +.PATH: ${LIBYAML_DIR}/src \ + ${LIBYAML_DIR}/include + +INCS= yaml.h + +WARNS?= 1 +CFLAGS+= -I${LIBYAML_DIR}/include \ + -I${LIBYAML_DIR}/src \ + -DYAML_VERSION_STRING=\"0.2.5\" \ + -DYAML_VERSION_MAJOR=0 \ + -DYAML_VERSION_MINOR=2 \ + -DYAML_VERSION_PATCH=5 + +.include <bsd.lib.mk> |