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 \ |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame^] | 15 | printbuf.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 16 | json_util.h \ |
| 17 | json_object.h \ |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame^] | 18 | json_object_private.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 19 | json_tokener.h |
| 20 | |
| 21 | libjson_la_LDFLAGS = -version-info 0:1:0 |
| 22 | |
| 23 | libjson_la_SOURCES = \ |
| 24 | arraylist.c \ |
| 25 | debug.c \ |
| 26 | json_object.c \ |
| 27 | json_tokener.c \ |
| 28 | json_util.c \ |
| 29 | linkhash.c \ |
| 30 | printbuf.c |
| 31 | |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame^] | 32 | check_PROGRAMS = test1 test2 test3 |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 33 | |
| 34 | test1_SOURCES = test1.c |
| 35 | test1_LDADD = $(lib_LTLIBRARIES) |
| 36 | |
| 37 | test2_SOURCES = test2.c |
| 38 | test2_LDADD = $(lib_LTLIBRARIES) |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame^] | 39 | |
| 40 | test3_SOURCES = test3.c |
| 41 | test3_LDADD = $(lib_LTLIBRARIES) |