-include_HEADERS = jansson.h
+EXTRA_DIST = jansson_config.h.win32
+
+include_HEADERS = jansson.h jansson_config.h
lib_LTLIBRARIES = libjansson.la
libjansson_la_SOURCES = \
dump.c \
+ error.c \
hashtable.c \
hashtable.h \
jansson_private.h \
load.c \
+ memory.c \
+ pack_unpack.c \
strbuffer.c \
strbuffer.h \
+ strconv.c \
utf.c \
utf.h \
- util.h \
value.c
-libjansson_la_LDFLAGS = -version-info 0:2:0
+libjansson_la_LDFLAGS = \
+ -export-symbols-regex '^json_' \
+ -version-info 7:1:3
-AM_CFLAGS = -Wall -Wextra -Werror -std=c99
+if GCC
+# These flags are gcc specific
+AM_CFLAGS = -Wall -Wextra -Wdeclaration-after-statement -Werror
+endif