Christopher Watford | 1363df0 | 2009-07-31 02:50:48 +0000 | [diff] [blame] | 1 | AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 2 | |
Michael Clark | 5165885 | 2009-08-19 08:31:29 +0000 | [diff] [blame^] | 3 | EXTRA_DIST = README.html README-WIN32.html config.h.win32 doc json-c.vcproj |
Michael Clark | 436aa98 | 2009-01-06 22:53:25 +0000 | [diff] [blame] | 4 | |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 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 \ |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame] | 17 | printbuf.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 18 | json_util.h \ |
| 19 | json_object.h \ |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame] | 20 | json_object_private.h \ |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 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 | |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame] | 34 | check_PROGRAMS = test1 test2 test3 |
Michael Clark | 4504df7 | 2007-03-13 08:26:20 +0000 | [diff] [blame] | 35 | |
| 36 | test1_SOURCES = test1.c |
| 37 | test1_LDADD = $(lib_LTLIBRARIES) |
| 38 | |
| 39 | test2_SOURCES = test2.c |
| 40 | test2_LDADD = $(lib_LTLIBRARIES) |
Michael Clark | 80a6007 | 2009-01-05 06:55:02 +0000 | [diff] [blame] | 41 | |
| 42 | test3_SOURCES = test3.c |
| 43 | test3_LDADD = $(lib_LTLIBRARIES) |