blob: 8f09ca890a25b05f4202ed7f4005c052202400c0 [file] [log] [blame]
Eric Haszlakiewicz1e89ba62012-04-22 10:27:50 -05001include Makefile.am.inc
Michael Clark4504df72007-03-13 08:26:20 +00002
Michael Clark51658852009-08-19 08:31:29 +00003EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj
Eric Haszlakiewicz1e89ba62012-04-22 10:27:50 -05004SUBDIRS = . tests
Michael Clark436aa982009-01-06 22:53:25 +00005
Michael Clark4504df72007-03-13 08:26:20 +00006lib_LTLIBRARIES = libjson.la
7
8pkgconfigdir = $(libdir)/pkgconfig
9pkgconfig_DATA = json.pc
10
11libjsonincludedir = $(includedir)/json
12libjsoninclude_HEADERS = \
Michael Clarkc4dceae2010-10-06 16:39:20 +000013 arraylist.h \
Michael Clark4504df72007-03-13 08:26:20 +000014 bits.h \
15 debug.h \
Michael Clarkc4dceae2010-10-06 16:39:20 +000016 json.h \
Eric Haszlakiewiczb21b1372012-02-15 20:44:54 -060017 json_config.h \
Michael Clarkc4dceae2010-10-06 16:39:20 +000018 json_inttypes.h \
Michael Clark4504df72007-03-13 08:26:20 +000019 json_object.h \
Eric Haszlakiewicz4154c552012-07-08 20:38:53 -050020 json_object_iterator.h \
Michael Clarkc4dceae2010-10-06 16:39:20 +000021 json_object_private.h \
22 json_tokener.h \
23 json_util.h \
24 linkhash.h \
25 printbuf.h
Michael Clark4504df72007-03-13 08:26:20 +000026
Eric Haszlakiewiczb21b1372012-02-15 20:44:54 -060027#libjsonx_includedir = $(libdir)/json-c-@VERSION@
28#
29#libjsonx_include_HEADERS = \
30# json_config.h
31
Martin Storsjoa577ba32011-11-25 23:43:25 +020032libjson_la_LDFLAGS = -version-info 1:0:1 -no-undefined
Michael Clark4504df72007-03-13 08:26:20 +000033
34libjson_la_SOURCES = \
35 arraylist.c \
36 debug.c \
37 json_object.c \
38 json_tokener.c \
39 json_util.c \
40 linkhash.c \
41 printbuf.c
42
Michael Clarkc4dceae2010-10-06 16:39:20 +000043
44distclean-local:
45 -rm -rf $(testsubdir)
Eric Haszlakiewiczfbd207b2012-03-31 23:17:00 -050046 -rm -rf config.h.in~ Makefile.in aclocal.m4 autom4te.cache/ config.guess config.sub configure depcomp install-sh ltmain.sh missing
Michael Clarkc4dceae2010-10-06 16:39:20 +000047