r18848: Save the json library before I start hacking on it. I'm going to be
[samba.git] / source4 / lib / json / Makefile.am
1 CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
2
3 lib_LTLIBRARIES = libjson.la
4
5 pkgconfigdir = $(libdir)/pkgconfig
6 pkgconfig_DATA = json.pc
7
8 libjsonincludedir = $(includedir)/json
9 libjsoninclude_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
19 libjson_la_LDFLAGS = -version-info 0:1:0
20
21 libjson_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
30 check_PROGRAMS = test1 test2
31
32 test1_SOURCES = test1.c
33 test1_LDADD = $(lib_LTLIBRARIES)
34
35 test2_SOURCES = test2.c
36 test2_LDADD = $(lib_LTLIBRARIES)