blob: fbedab8c7fc8e7f00976dcc4ac2a96ff515e9bcd [file] [log] [blame]
Christopher Watford1363df02009-07-31 02:50:48 +00001AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
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
Michael Clark436aa982009-01-06 22:53:25 +00004
Michael Clark4504df72007-03-13 08:26:20 +00005lib_LTLIBRARIES = libjson.la
6
7pkgconfigdir = $(libdir)/pkgconfig
8pkgconfig_DATA = json.pc
9
10libjsonincludedir = $(includedir)/json
11libjsoninclude_HEADERS = \
12 json.h \
13 bits.h \
14 debug.h \
15 linkhash.h \
16 arraylist.h \
Michael Clark80a60072009-01-05 06:55:02 +000017 printbuf.h \
Michael Clark4504df72007-03-13 08:26:20 +000018 json_util.h \
19 json_object.h \
Michael Clark80a60072009-01-05 06:55:02 +000020 json_object_private.h \
Michael Clark4504df72007-03-13 08:26:20 +000021 json_tokener.h
22
23libjson_la_LDFLAGS = -version-info 0:1:0
24
25libjson_la_SOURCES = \
26 arraylist.c \
27 debug.c \
28 json_object.c \
29 json_tokener.c \
30 json_util.c \
31 linkhash.c \
32 printbuf.c
33
Michael Clark80a60072009-01-05 06:55:02 +000034check_PROGRAMS = test1 test2 test3
Michael Clark4504df72007-03-13 08:26:20 +000035
36test1_SOURCES = test1.c
37test1_LDADD = $(lib_LTLIBRARIES)
38
39test2_SOURCES = test2.c
40test2_LDADD = $(lib_LTLIBRARIES)
Michael Clark80a60072009-01-05 06:55:02 +000041
42test3_SOURCES = test3.c
43test3_LDADD = $(lib_LTLIBRARIES)