Files
json-c/Makefile.am
Jehiah Czebotar ac601b5b5f update json_object_new_string_len, json_escape_str (internal). Writer handles \x00 correctly
Added parse_null test. This does not change anything with how the parser handles \u0000 or null characters

This commit is addapted from one by Adomas Paltanavičius <adomas@leanholding.com>



git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@63 327403b1-1117-474d-bef2-5cb71233fd97
2011-01-14 17:23:06 +00:00

60 lines
1.2 KiB
Makefile

AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
lib_LTLIBRARIES = libjson.la
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = json.pc
libjsonincludedir = $(includedir)/json
libjsoninclude_HEADERS = \
arraylist.h \
bits.h \
debug.h \
json.h \
json_inttypes.h \
json_object.h \
json_object_private.h \
json_tokener.h \
json_util.h \
linkhash.h \
printbuf.h
libjson_la_LDFLAGS = -version-info 0:1:0
libjson_la_SOURCES = \
arraylist.c \
debug.c \
json_object.c \
json_tokener.c \
json_util.c \
linkhash.c \
printbuf.c
check_PROGRAMS = test1 test2 test4 test_parse_int64 test_null
test1_SOURCES = test1.c
test1_LDADD = $(lib_LTLIBRARIES)
test2_SOURCES = test2.c
test2_LDADD = $(lib_LTLIBRARIES)
test4_SOURCES = test4.c
test4_LDADD = $(lib_LTLIBRARIES)
test_parse_int64_SOURCES = test_parse_int64.c
test_parse_int64_LDADD = $(lib_LTLIBRARIES)
test_null_SOURCES = test_null.c
test_null_LDADD = $(lib_LTLIBRARIES)
TESTS = test1.test test2.test test4.test parse_int64.test test_null.test
EXTRA_DIST += $(TESTS)
testsubdir=testSubDir
TESTS_ENVIRONMENT = top_builddir=$(top_builddir)
distclean-local:
-rm -rf $(testsubdir)