From 4d1a4e8e7ce047f70113d9fa52f7961c0fee6557 Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Sat, 23 Sep 2006 19:15:27 +0000 Subject: r18848: Save the json library before I start hacking on it. I'm going to be converting it to natively use ejs objects, instead of its own internal format. (This used to be commit 119db8924a6e9c40a94c76c57198877875c53afc) --- source4/lib/json/Makefile.am | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 source4/lib/json/Makefile.am (limited to 'source4/lib/json/Makefile.am') diff --git a/source4/lib/json/Makefile.am b/source4/lib/json/Makefile.am new file mode 100644 index 0000000000..4b01dc16bf --- /dev/null +++ b/source4/lib/json/Makefile.am @@ -0,0 +1,36 @@ +CFLAGS = -Wall -std=gnu99 -D_GNU_SOURCE -D_REENTRANT + +lib_LTLIBRARIES = libjson.la + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = json.pc + +libjsonincludedir = $(includedir)/json +libjsoninclude_HEADERS = \ + json.h \ + bits.h \ + debug.h \ + linkhash.h \ + arraylist.h \ + json_util.h \ + json_object.h \ + json_tokener.h + +libjson_la_LDFLAGS = -version-info 0:1:0 + +libjson_la_SOURCES = \ + arraylist.c \ + debug.c \ + json_object.c \ + json_tokener.c \ + json_util.c \ + linkhash.c \ + printbuf.c + +check_PROGRAMS = test1 test2 + +test1_SOURCES = test1.c +test1_LDADD = $(lib_LTLIBRARIES) + +test2_SOURCES = test2.c +test2_LDADD = $(lib_LTLIBRARIES) -- cgit