Michael Clark | a850f8e | 2007-03-13 08:26:26 +0000 | [diff] [blame^] | 1 | AM_CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 2 | |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 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) |