1 include Makefile.am.inc
3 EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
6 lib_LTLIBRARIES = libjson-c.la
7 if ENABLE_OLDNAME_COMPAT
8 lib_LTLIBRARIES+=libjson.la
11 pkgconfigdir = $(libdir)/pkgconfig
12 pkgconfig_DATA = json-c.pc
13 if ENABLE_OLDNAME_COMPAT
14 pkgconfig_DATA += json.pc
17 libjson_cincludedir = $(includedir)/json-c
18 libjson_cinclude_HEADERS = \
27 json_object_iterator.h \
28 json_object_private.h \
34 #libjsonx_includedir = $(libdir)/json-c-@VERSION@
36 #libjsonx_include_HEADERS = \
39 libjson_c_la_LDFLAGS = -version-info 3:0:1 -no-undefined
41 if ENABLE_OLDNAME_COMPAT
42 libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined -ljson-c
44 # Temporary libjson library. This will be removed after one release.
45 libjson_la_LIBADD = -ljson-c
49 libjson_c_la_SOURCES = \
54 json_object_iterator.c \
63 -rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing
65 maintainer-clean-local:
68 if ENABLE_OLDNAME_COMPAT
70 test \! -e "$(DESTDIR)@includedir@/json" || rm "$(DESTDIR)@includedir@/json"
71 $(LN_S) json-c "$(DESTDIR)@includedir@/json"
74 rm -f "$(DESTDIR)@includedir@/json"
75 rm -rf "$(DESTDIR)@includedir@/json-c"
79 ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H
81 Android.mk: Makefile.am
82 androgenizer -:PROJECT json-c \
85 -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
86 -:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \
87 -:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \
88 -:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \
89 -:HEADER_TARGET json-c \
90 -:HEADERS $(libjson_cinclude_HEADERS) \
91 -:PASSTHROUGH LOCAL_ARM_MODE:=arm \