summaryrefslogtreecommitdiffstats
path: root/lib/libyaml
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-04 11:27:41 +0000
committerbapt <bapt@FreeBSD.org>2013-03-04 11:27:41 +0000
commit6dc03862600c95a3a8c18e50f843a082be3a078c (patch)
tree5075db86cc8d854fdcdc49d9e8ab0a25c9741312 /lib/libyaml
parent9ad2265733ae27758ebf470fc60be9e94434b5ac (diff)
parentd191df7e02a5d6cea2324e0b10bfed2a4e9f198c (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libyaml/Makefile23
-rw-r--r--lib/libyaml/config.h83
2 files changed, 106 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>
diff --git a/lib/libyaml/config.h b/lib/libyaml/config.h
new file mode 100644
index 0000000..7032919
--- /dev/null
+++ b/lib/libyaml/config.h
@@ -0,0 +1,83 @@
+/* $FreeBSD$ */
+
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+ */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "yaml"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "http://pyyaml.org/newticket?component=libyaml"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "yaml"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "yaml 0.1.4"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "yaml"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "0.1.4"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "0.1.4"
+
+/* Define the major version number. */
+#define YAML_VERSION_MAJOR 0
+
+/* Define the minor version number. */
+#define YAML_VERSION_MINOR 1
+
+/* Define the patch version number. */
+#define YAML_VERSION_PATCH 4
+
+/* Define the version string. */
+#define YAML_VERSION_STRING "0.1.4"
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
OpenPOWER on IntegriCloud