Eric Haszlakiewicz | 1e89ba6 | 2012-04-22 10:27:50 -0500 | [diff] [blame] | 1 | include Makefile.am.inc |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 2 | |
Michael Clark | 5165885 | 2009-08-19 08:31:29 +0000 | [diff] [blame] | 3 | EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj |
Eric Haszlakiewicz | 1e89ba6 | 2012-04-22 10:27:50 -0500 | [diff] [blame] | 4 | SUBDIRS = . tests |
Michael Clark | 436aa98 | 2009-01-06 22:53:25 +0000 | [diff] [blame] | 5 | |
Eric Haszlakiewicz | 075b783 | 2012-07-29 17:48:22 -0500 | [diff] [blame] | 6 | lib_LTLIBRARIES = libjson-c.la |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 7 | |
| 8 | pkgconfigdir = $(libdir)/pkgconfig |
Keith Derrick | 30dd367 | 2012-03-30 12:28:32 -0700 | [diff] [blame] | 9 | pkgconfig_DATA = json-c.pc |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 10 | |
Eric Haszlakiewicz | 075b783 | 2012-07-29 17:48:22 -0500 | [diff] [blame] | 11 | libjson_cincludedir = $(includedir)/json-c |
| 12 | libjson_cinclude_HEADERS = \ |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 13 | arraylist.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 14 | bits.h \ |
| 15 | debug.h \ |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 16 | json.h \ |
Eric Haszlakiewicz | b21b137 | 2012-02-15 20:44:54 -0600 | [diff] [blame] | 17 | json_config.h \ |
Eric Haszlakiewicz | 1461b49 | 2012-12-23 10:57:44 -0600 | [diff] [blame] | 18 | json_c_version.h \ |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 19 | json_inttypes.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 20 | json_object.h \ |
Eric Haszlakiewicz | 4154c55 | 2012-07-08 20:38:53 -0500 | [diff] [blame] | 21 | json_object_iterator.h \ |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 22 | json_object_private.h \ |
| 23 | json_tokener.h \ |
| 24 | json_util.h \ |
| 25 | linkhash.h \ |
Michael Clark | 64e3690 | 2014-04-09 13:48:21 +0800 | [diff] [blame] | 26 | printbuf.h \ |
| 27 | random_seed.h |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 28 | |
Eric Haszlakiewicz | b21b137 | 2012-02-15 20:44:54 -0600 | [diff] [blame] | 29 | #libjsonx_includedir = $(libdir)/json-c-@VERSION@ |
| 30 | # |
| 31 | #libjsonx_include_HEADERS = \ |
| 32 | # json_config.h |
| 33 | |
Emmanuele Bassi | 311686f | 2013-09-17 13:08:14 +0100 | [diff] [blame] | 34 | libjson_c_la_LDFLAGS = -version-info 2:0:0 -no-undefined @JSON_BSYMBOLIC_LDFLAGS@ |
Eric Haszlakiewicz | 075b783 | 2012-07-29 17:48:22 -0500 | [diff] [blame] | 35 | |
Keith Derrick | 30dd367 | 2012-03-30 12:28:32 -0700 | [diff] [blame] | 36 | libjson_c_la_SOURCES = \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 37 | arraylist.c \ |
| 38 | debug.c \ |
Eric Haszlakiewicz | 1461b49 | 2012-12-23 10:57:44 -0600 | [diff] [blame] | 39 | json_c_version.c \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 40 | json_object.c \ |
Eric Haszlakiewicz | 23461c7 | 2012-11-29 13:23:06 -0600 | [diff] [blame] | 41 | json_object_iterator.c \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 42 | json_tokener.c \ |
| 43 | json_util.c \ |
| 44 | linkhash.c \ |
Michael Clark | 64e3690 | 2014-04-09 13:48:21 +0800 | [diff] [blame] | 45 | printbuf.c \ |
| 46 | random_seed.c |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 47 | |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 48 | |
| 49 | distclean-local: |
| 50 | -rm -rf $(testsubdir) |
Eric Haszlakiewicz | 7a4506d | 2012-12-09 15:46:35 -0600 | [diff] [blame] | 51 | -rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub depcomp install-sh ltmain.sh missing |
Eric Haszlakiewicz | 295bea2 | 2014-02-11 23:03:46 -0500 | [diff] [blame] | 52 | -rm -f INSTALL test-driver tests/Makefile.in compile |
Eric Haszlakiewicz | 7a4506d | 2012-12-09 15:46:35 -0600 | [diff] [blame] | 53 | |
| 54 | maintainer-clean-local: |
| 55 | -rm -rf configure |
Michael Clark | c4dceae | 2010-10-06 16:39:20 +0000 | [diff] [blame] | 56 | |
Eric Haszlakiewicz | 943b7a4 | 2012-07-29 18:05:08 -0500 | [diff] [blame] | 57 | uninstall-local: |
Alexander Klauer | 024d86c | 2012-12-19 13:16:38 +0100 | [diff] [blame] | 58 | rm -rf "$(DESTDIR)@includedir@/json-c" |
Eric Haszlakiewicz | c8ee919 | 2014-02-11 22:49:59 -0500 | [diff] [blame] | 59 | rm -f "$(DESTDIR)@includedir@/json" |
Eric Haszlakiewicz | 943b7a4 | 2012-07-29 18:05:08 -0500 | [diff] [blame] | 60 | |
Arun Raghavan | a1221eb | 2012-01-20 13:00:45 +0530 | [diff] [blame] | 61 | ANDROID_CFLAGS = -I$(top_srcdir) -DHAVE_CONFIG_H |
| 62 | |
| 63 | Android.mk: Makefile.am |
| 64 | androgenizer -:PROJECT json-c \ |
Eric Haszlakiewicz | 2f2180b | 2012-07-29 18:29:38 -0500 | [diff] [blame] | 65 | -:SHARED libjson-c \ |
Arun Raghavan | a1221eb | 2012-01-20 13:00:45 +0530 | [diff] [blame] | 66 | -:TAGS eng debug \ |
| 67 | -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \ |
Eric Haszlakiewicz | 2f2180b | 2012-07-29 18:29:38 -0500 | [diff] [blame] | 68 | -:SOURCES $(libjson_c_la_SOURCES) $(nodist_libjson_c_la_SOURCES) \ |
| 69 | -:CFLAGS $(DEFS) $(ANDROID_CFLAGS) $(libjson_c_la_CFLAGS) \ |
| 70 | -:LDFLAGS $(libjson_c_la_LDFLAGS) $(libjson_c_la_LIBADD) \ |
| 71 | -:HEADER_TARGET json-c \ |
| 72 | -:HEADERS $(libjson_cinclude_HEADERS) \ |
Arun Raghavan | a1221eb | 2012-01-20 13:00:45 +0530 | [diff] [blame] | 73 | -:PASSTHROUGH LOCAL_ARM_MODE:=arm \ |
| 74 | > $@ |