2017-12-10 16:29:41 +01:00
|
|
|
ACLOCAL_AMFLAGS = -I autoconf-archive/m4
|
|
|
|
|
|
2017-11-26 08:29:45 -06:00
|
|
|
EXTRA_DIST = README.md README.html
|
|
|
|
|
EXTRA_DIST += config.h.win32
|
2017-08-04 11:59:14 +02:00
|
|
|
EXTRA_DIST += Doxyfile
|
2017-12-02 22:13:22 -05:00
|
|
|
EXTRA_DIST += issues_closed_for_0.13.md
|
2016-06-27 04:28:34 +00:00
|
|
|
|
|
|
|
|
dist-hook:
|
|
|
|
|
test -d "$(distdir)/doc" || mkdir "$(distdir)/doc"
|
|
|
|
|
chmod -R u+w "$(distdir)/doc"
|
|
|
|
|
cd "$(distdir)" && doxygen
|
|
|
|
|
|
2012-04-22 10:27:50 -05:00
|
|
|
SUBDIRS = . tests
|
2009-01-06 22:53:25 +00:00
|
|
|
|
2017-11-26 08:29:45 -06:00
|
|
|
lib_LTLIBRARIES = libjson-c.la
|
2007-03-13 08:26:20 +00:00
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
2012-03-30 12:28:32 -07:00
|
|
|
pkgconfig_DATA = json-c.pc
|
2007-03-13 08:26:20 +00:00
|
|
|
|
2012-07-29 17:48:22 -05:00
|
|
|
libjson_cincludedir = $(includedir)/json-c
|
|
|
|
|
libjson_cinclude_HEADERS = \
|
2010-10-06 16:39:20 +00:00
|
|
|
arraylist.h \
|
2007-03-13 08:26:20 +00:00
|
|
|
debug.h \
|
2010-10-06 16:39:20 +00:00
|
|
|
json.h \
|
2012-12-23 10:57:44 -06:00
|
|
|
json_c_version.h \
|
2016-06-27 03:46:38 +00:00
|
|
|
json_config.h \
|
2010-10-06 16:39:20 +00:00
|
|
|
json_inttypes.h \
|
2007-03-13 08:26:20 +00:00
|
|
|
json_object.h \
|
2012-07-08 20:38:53 -05:00
|
|
|
json_object_iterator.h \
|
2016-10-25 17:39:16 +03:00
|
|
|
json_pointer.h \
|
2010-10-06 16:39:20 +00:00
|
|
|
json_tokener.h \
|
|
|
|
|
json_util.h \
|
2016-10-29 15:01:20 -04:00
|
|
|
json_visit.h \
|
2010-10-06 16:39:20 +00:00
|
|
|
linkhash.h \
|
2017-12-07 18:24:08 -05:00
|
|
|
printbuf.h
|
|
|
|
|
|
|
|
|
|
noinst_HEADERS=\
|
|
|
|
|
json_object_private.h \
|
2016-06-27 03:46:38 +00:00
|
|
|
math_compat.h \
|
2016-11-16 17:00:45 +02:00
|
|
|
strdup_compat.h \
|
2017-11-26 08:29:45 -06:00
|
|
|
snprintf_compat.h \
|
2016-11-16 17:04:41 +02:00
|
|
|
vasprintf_compat.h \
|
2017-08-04 12:26:54 +02:00
|
|
|
random_seed.h \
|
|
|
|
|
strerror_override.h
|
2007-03-13 08:26:20 +00:00
|
|
|
|
2018-01-15 23:31:55 -05:00
|
|
|
libjson_c_la_LDFLAGS = -version-info 4:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@
|
2012-07-29 17:48:22 -05:00
|
|
|
|
2012-03-30 12:28:32 -07:00
|
|
|
libjson_c_la_SOURCES = \
|
2007-03-13 08:26:20 +00:00
|
|
|
arraylist.c \
|
|
|
|
|
debug.c \
|
2012-12-23 10:57:44 -06:00
|
|
|
json_c_version.c \
|
2007-03-13 08:26:20 +00:00
|
|
|
json_object.c \
|
2012-11-29 13:23:06 -06:00
|
|
|
json_object_iterator.c \
|
2016-10-25 17:39:16 +03:00
|
|
|
json_pointer.c \
|
2007-03-13 08:26:20 +00:00
|
|
|
json_tokener.c \
|
|
|
|
|
json_util.c \
|
2016-10-29 15:01:20 -04:00
|
|
|
json_visit.c \
|
2007-03-13 08:26:20 +00:00
|
|
|
linkhash.c \
|
2014-04-09 13:48:21 +08:00
|
|
|
printbuf.c \
|
2017-07-15 07:12:44 -07:00
|
|
|
random_seed.c \
|
2017-08-04 12:26:54 +02:00
|
|
|
strerror_override.c \
|
|
|
|
|
strerror_override_private.h
|
2010-10-06 16:39:20 +00:00
|
|
|
|
2017-08-30 23:17:24 -04:00
|
|
|
|
|
|
|
|
DISTCLEANFILES=
|
|
|
|
|
DISTCLEANFILES+= \
|
|
|
|
|
config.h \
|
|
|
|
|
json-c-uninstalled.pc \
|
|
|
|
|
json-c.pc \
|
|
|
|
|
json_config.h
|
|
|
|
|
|
2010-10-06 16:39:20 +00:00
|
|
|
distclean-local:
|
|
|
|
|
-rm -rf $(testsubdir)
|
2012-12-09 15:46:35 -06:00
|
|
|
|
2017-08-30 23:17:24 -04:00
|
|
|
JSON_CLEANFILES=
|
|
|
|
|
JSON_CLEANFILES+= \
|
|
|
|
|
Makefile.in \
|
|
|
|
|
aclocal.m4 \
|
|
|
|
|
autom4te.cache/ \
|
|
|
|
|
compile \
|
|
|
|
|
config.guess \
|
|
|
|
|
config.h.in \
|
|
|
|
|
config.sub \
|
|
|
|
|
configure \
|
|
|
|
|
depcomp \
|
|
|
|
|
install-sh \
|
|
|
|
|
ltmain.sh \
|
|
|
|
|
missing \
|
|
|
|
|
test-driver \
|
|
|
|
|
tests/Makefile.in
|
|
|
|
|
JSON_CLEANFILES+= \
|
|
|
|
|
libtool \
|
|
|
|
|
stamp-h1 \
|
|
|
|
|
stamp-h2
|
|
|
|
|
|
|
|
|
|
# There's no built-in way to remove these after all the other
|
|
|
|
|
# maintainer-clean steps happen, so do it explicitly here.
|
|
|
|
|
really-clean:
|
|
|
|
|
$(MAKE) maintainer-clean
|
|
|
|
|
rm -rf ${JSON_CLEANFILES}
|
2010-10-06 16:39:20 +00:00
|
|
|
|
2012-07-29 18:05:08 -05:00
|
|
|
uninstall-local:
|
2012-12-19 13:16:38 +01:00
|
|
|
rm -rf "$(DESTDIR)@includedir@/json-c"
|
2014-02-11 22:49:59 -05:00
|
|
|
rm -f "$(DESTDIR)@includedir@/json"
|
2012-07-29 18:05:08 -05:00
|
|
|
|
2012-01-20 13:00:45 +05:30
|
|
|
ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
|
|
|
|
|
|
|
|
|
|
Android.mk: Makefile.am
|
|
|
|
|
androgenizer -:PROJECT json-c \
|
2012-07-29 18:29:38 -05:00
|
|
|
-:SHARED libjson-c \
|
2012-01-20 13:00:45 +05:30
|
|
|
-:TAGS eng debug \
|
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
2012-07-29 18:29:38 -05:00
|
|
|
-:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
|
|
|
|
|
-:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
|
|
|
|
|
-:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
|
|
|
|
|
-:HEADER_TARGET json-c \
|
|
|
|
|
-:HEADERS $(libjson_cinclude_HEADERS) \
|
2012-01-20 13:00:45 +05:30
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
|
|
|
|
> $@
|