blob: 9e86ccdb5a2ed8215f817081d0974a9409d8da44 [file] [log] [blame]
Michael Clark4504df72007-03-13 08:26:20 +00001AUTOMAKE_OPTIONS = 1.6
2
3CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
4
5libjson_la_LIBADD = $(JSON_LIBS)
6
7lib_LTLIBRARIES = libjson.la
8
9pkgconfigdir = $(libdir)/pkgconfig
10pkgconfig_DATA = json.pc
11
12libjsonincludedir = $(includedir)/json
13libjsoninclude_HEADERS = \
14 json.h \
15 bits.h \
16 debug.h \
17 linkhash.h \
18 arraylist.h \
19 json_util.h \
20 json_object.h \
21 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
34check_PROGRAMS = test1 test2
35
36test1_SOURCES = test1.c
37test1_LDADD = $(lib_LTLIBRARIES)
38
39test2_SOURCES = test2.c
40test2_LDADD = $(lib_LTLIBRARIES)