blob: 4b01dc16bfdcf79321725def0eff3d2c7fe04396 [file] [log] [blame]
Michael Clark4504df72007-03-13 08:26:20 +00001CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
2
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)