Add first version of an automake makefile.
authorasmodai <asmodai@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 24 Jun 2007 11:12:29 +0000 (11:12 +0000)
committerasmodai <asmodai@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 24 Jun 2007 11:12:29 +0000 (11:12 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/autotools@972 9efc2488-bf62-4759-914b-345cdb29e865

src/objson/Makefile.am [new file with mode: 0644]

diff --git a/src/objson/Makefile.am b/src/objson/Makefile.am
new file mode 100644 (file)
index 0000000..a8d2c03
--- /dev/null
@@ -0,0 +1,17 @@
+AUTOMAKE_OPTIONS = foreign -Wall
+
+AM_CPPFLAGS = -I$(top_srcdir)/../../include
+
+MAINTAINERCLEANFILES= Makefile.in
+
+LIBTOOL_DEPS = @LIBTOOL_DEPS@
+libtool: $(LIBTOOL_DEPS)
+       $(SHELL) ./config.status --recheck
+
+lib_LTLIBRARIES = libobjson.la
+libobjson_la_SOURCES = json2xml.c json_parser.c object.c xml2json.c
+libobjson_la_LDFLAGS = -version-info 1:0
+
+bin_PROGRAMS = objson_test
+objson_test_SOURCES = objson_test.c ../libopensrf/md5.c ../libopensrf/utils.c
+objson_test_LDADD = libobjson.la