Unify style
[jansson.git] / src / Makefile.am
index 4471220..be8fcb9 100644 (file)
@@ -1,7 +1,24 @@
-include_HEADERS = jansson.h
+include_HEADERS = jansson.h jansson_config.h
 
 lib_LTLIBRARIES = libjansson.la
-libjansson_la_SOURCES = dump.c hashtable.h hashtable.c load.c value.c
-libjansson_la_LDFLAGS = -version-info 0:0:0
+libjansson_la_SOURCES = \
+       dump.c \
+       error.c \
+       hashtable.c \
+       hashtable.h \
+       jansson_private.h \
+       load.c \
+       strbuffer.c \
+       strbuffer.h \
+       utf.c \
+       utf.h \
+       value.c \
+       variadic.c
+libjansson_la_LDFLAGS = \
+       -export-symbols-regex '^json_' \
+       -version-info 3:0:3
 
-AM_CFLAGS = -Wall -Wextra -std=c99
+if GCC
+# These flags are gcc specific
+AM_CFLAGS = -Wall -Wextra -Werror
+endif