blob: 98f15533cfec3a0e19f3fb1934b12ae16bf08b50 [file] [log] [blame]
Michael Clarka850f8e2007-03-13 08:26:26 +00001AM_CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
Michael Clark4504df72007-03-13 08:26:20 +00002
Michael Clark4504df72007-03-13 08:26:20 +00003lib_LTLIBRARIES = libjson.la
4
5pkgconfigdir = $(libdir)/pkgconfig
6pkgconfig_DATA = json.pc
7
8libjsonincludedir = $(includedir)/json
9libjsoninclude_HEADERS = \
10 json.h \
11 bits.h \
12 debug.h \
13 linkhash.h \
14 arraylist.h \
15 json_util.h \
16 json_object.h \
17 json_tokener.h
18
19libjson_la_LDFLAGS = -version-info 0:1:0
20
21libjson_la_SOURCES = \
22 arraylist.c \
23 debug.c \
24 json_object.c \
25 json_tokener.c \
26 json_util.c \
27 linkhash.c \
28 printbuf.c
29
30check_PROGRAMS = test1 test2
31
32test1_SOURCES = test1.c
33test1_LDADD = $(lib_LTLIBRARIES)
34
35test2_SOURCES = test2.c
36test2_LDADD = $(lib_LTLIBRARIES)