Update Json-c from 0.11 to 0.12
This commit is contained in:
@@ -4,15 +4,9 @@ EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
|
||||
SUBDIRS = . tests
|
||||
|
||||
lib_LTLIBRARIES = libjson-c.la
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
lib_LTLIBRARIES+=libjson.la
|
||||
endif
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = json-c.pc
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
pkgconfig_DATA += json.pc
|
||||
endif
|
||||
|
||||
libjson_cincludedir = $(includedir)/json-c
|
||||
libjson_cinclude_HEADERS = \
|
||||
@@ -29,22 +23,15 @@ libjson_cinclude_HEADERS = \
|
||||
json_tokener.h \
|
||||
json_util.h \
|
||||
linkhash.h \
|
||||
printbuf.h
|
||||
printbuf.h \
|
||||
random_seed.h
|
||||
|
||||
#libjsonx_includedir = $(libdir)/json-c-@VERSION@
|
||||
#
|
||||
#libjsonx_include_HEADERS = \
|
||||
# json_config.h
|
||||
|
||||
libjson_c_la_LDFLAGS = -version-info 2:1:0 -no-undefined
|
||||
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined -ljson-c
|
||||
|
||||
# Temporary libjson library. This will be removed after one release.
|
||||
libjson_la_LIBADD = -ljson-c
|
||||
endif
|
||||
|
||||
libjson_c_la_LDFLAGS = -version-info 2:1:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@
|
||||
|
||||
libjson_c_la_SOURCES = \
|
||||
arraylist.c \
|
||||
@@ -55,26 +42,21 @@ libjson_c_la_SOURCES = \
|
||||
json_tokener.c \
|
||||
json_util.c \
|
||||
linkhash.c \
|
||||
printbuf.c
|
||||
printbuf.c \
|
||||
random_seed.c
|
||||
|
||||
|
||||
distclean-local:
|
||||
-rm -rf $(testsubdir)
|
||||
-rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
|
||||
-rm -f INSTALL test-driver tests/Makefile.in compile
|
||||
|
||||
maintainer-clean-local:
|
||||
-rm -rf configure
|
||||
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
install-data-hook:
|
||||
test \! -e "$(DESTDIR)@includedir@/json" || rm "$(DESTDIR)@includedir@/json"
|
||||
$(LN_S) json-c "$(DESTDIR)@includedir@/json"
|
||||
|
||||
uninstall-local:
|
||||
rm -f "$(DESTDIR)@includedir@/json"
|
||||
rm -rf "$(DESTDIR)@includedir@/json-c"
|
||||
|
||||
endif
|
||||
rm -f "$(DESTDIR)@includedir@/json"
|
||||
|
||||
ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user