2007-03-13 08:26:20 +00:00
|
|
|
|
2016-06-27 04:28:34 +00:00
|
|
|
EXTRA_DIST = README.md README.html README-WIN32.html
|
|
|
|
|
EXTRA_DIST += config.h.win32 json-c.vcproj json-c.vcxproj json-c.vcxproj.filters
|
|
|
|
|
EXTRA_DIST += Doxyfile doc
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
2012-07-29 17:48:22 -05: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
|
|
|
bits.h \
|
|
|
|
|
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 \
|
2010-10-06 16:39:20 +00:00
|
|
|
json_object_private.h \
|
|
|
|
|
json_tokener.h \
|
|
|
|
|
json_util.h \
|
|
|
|
|
linkhash.h \
|
2016-06-27 03:46:38 +00:00
|
|
|
math_compat.h \
|
2014-04-09 13:48:21 +08:00
|
|
|
printbuf.h \
|
|
|
|
|
random_seed.h
|
2007-03-13 08:26:20 +00:00
|
|
|
|
2014-07-28 19:28:19 +08:00
|
|
|
libjson_c_la_LDFLAGS = -version-info 3: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 \
|
2007-03-13 08:26:20 +00:00
|
|
|
json_tokener.c \
|
|
|
|
|
json_util.c \
|
|
|
|
|
linkhash.c \
|
2014-04-09 13:48:21 +08:00
|
|
|
printbuf.c \
|
|
|
|
|
random_seed.c
|
2007-03-13 08:26:20 +00:00
|
|
|
|
2010-10-06 16:39:20 +00:00
|
|
|
|
|
|
|
|
distclean-local:
|
|
|
|
|
-rm -rf $(testsubdir)
|
2012-12-09 15:46:35 -06:00
|
|
|
-rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
|
2014-02-11 23:03:46 -05:00
|
|
|
-rm -f INSTALL test-driver tests/Makefile.in compile
|
2012-12-09 15:46:35 -06:00
|
|
|
|
|
|
|
|
maintainer-clean-local:
|
|
|
|
|
-rm -rf configure
|
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 \
|
|
|
|
|
> $@
|