[Midnightbsd-cvs] src [7204] trunk/lib/libjansson: add jansson library
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Aug 2 10:27:05 EDT 2015
Revision: 7204
http://svnweb.midnightbsd.org/src/?rev=7204
Author: laffer1
Date: 2015-08-02 10:27:05 -0400 (Sun, 02 Aug 2015)
Log Message:
-----------
add jansson library
Added Paths:
-----------
trunk/lib/libjansson/
trunk/lib/libjansson/Makefile
trunk/lib/libjansson/jansson_config.h
Added: trunk/lib/libjansson/Makefile
===================================================================
--- trunk/lib/libjansson/Makefile (rev 0)
+++ trunk/lib/libjansson/Makefile 2015-08-02 14:27:05 UTC (rev 7204)
@@ -0,0 +1,17 @@
+# $MidnightBSD$
+
+LIBJANSSON= ${.CURDIR}/../../contrib/jansson
+
+LIB= jansson
+SHLIB_MAJOR= 4
+INCS= jansson.h jansson_config.h
+SRCS= dump.c error.c hashtable.c hashtable_seed.c load.c memory.c \
+ pack_unpack.c strbuffer.c strconv.c utf.c value.c
+
+.PATH: ${LIBJANSSON}/src
+
+CFLAGS+= -I${.CURDIR} -DHAVE_STDINT_H -DHAVE_SYS_PARAM_H
+
+WARNS?= 1
+
+.include <bsd.lib.mk>
Property changes on: trunk/lib/libjansson/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/lib/libjansson/jansson_config.h
===================================================================
--- trunk/lib/libjansson/jansson_config.h (rev 0)
+++ trunk/lib/libjansson/jansson_config.h 2015-08-02 14:27:05 UTC (rev 7204)
@@ -0,0 +1,40 @@
+/* $MidnightBSD$ */
+/*
+ * Copyright (c) 2010-2014 Petri Lehtinen <petri at digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ *
+ *
+ * This file specifies a part of the site-specific configuration for
+ * Jansson, namely those things that affect the public API in
+ * jansson.h.
+ *
+ * The configure script copies this file to jansson_config.h and
+ * replaces @var@ substitutions by values that fit your system. If you
+ * cannot run the configure script, you can do the value substitution
+ * by hand.
+ */
+
+#ifndef JANSSON_CONFIG_H
+#define JANSSON_CONFIG_H
+
+/* If your compiler supports the inline keyword in C, JSON_INLINE is
+ defined to `inline', otherwise empty. In C++, the inline is always
+ supported. */
+#ifdef __cplusplus
+#define JSON_INLINE inline
+#else
+#define JSON_INLINE inline
+#endif
+
+/* If your compiler supports the `long long` type and the strtoll()
+ library function, JSON_INTEGER_IS_LONG_LONG is defined to 1,
+ otherwise to 0. */
+#define JSON_INTEGER_IS_LONG_LONG 0
+
+/* If locale.h and localeconv() are available, define to 1,
+ otherwise to 0. */
+#define JSON_HAVE_LOCALECONV 0
+
+#endif
Property changes on: trunk/lib/libjansson/jansson_config.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list