Initialize Tizen 2.3
[external/json-c.git] / Makefile.am
1 AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
2
3 EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc
4
5 lib_LTLIBRARIES = libjson.la
6
7 pkgconfigdir = $(libdir)/pkgconfig
8 pkgconfig_DATA = json.pc
9
10 libjsonincludedir = $(includedir)/json
11 libjsoninclude_HEADERS = \
12         json.h \
13         bits.h \
14         debug.h \
15         linkhash.h \
16         arraylist.h \
17         printbuf.h \
18         json_util.h \
19         json_object.h \
20         json_object_private.h \
21         json_tokener.h
22
23 libjson_la_LDFLAGS = -version-info 0:1:0
24
25 libjson_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
34 check_PROGRAMS = test1 test2 test3
35
36 test1_SOURCES = test1.c
37 test1_LDADD = $(lib_LTLIBRARIES)
38
39 test2_SOURCES = test2.c
40 test2_LDADD = $(lib_LTLIBRARIES)
41
42 test3_SOURCES = test3.c
43 test3_LDADD = $(lib_LTLIBRARIES)