summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-09 21:13:30 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-09 21:13:30 +0200
commit977c5975e4ead8e27becef8b78740fe5da631195 (patch)
tree28049d37ab4dd26cb6588ea0145a26e5f1a4b53d /src/Makefile.am
parent8d087b24cd40f609d030cfd0f2bebe8bb976086a (diff)
Add unittest for JSON and fix put/get overload for const char*
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index c85aca3..1f8b819 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,18 +5,21 @@ AM_CPPFLAGS = @DEFINES@ -DLOCALSTATEDIR='"@localstatedir@/stuff"' \
bin_PROGRAMS = event sender
noinst_PROGRAMS = test-sender
-noinst_LTLIBRARIES = libdb.la libcgi.la libutil.la libsender_client.la
+noinst_LTLIBRARIES = libdb.la libcgi.la libutil.la libsender_client.la \
+ libjson.la
event_SOURCES = event.cc event.hh event_main.cc common.hh cgi.hh db.hh
event_LDADD = libdb.la libcgi.la libsender_client.la
-sender_SOURCES = common.hh sender.cc json.hh json.cc
+sender_SOURCES = common.hh sender.cc
sender_CPPFLAGS = $(AM_CPPFLAGS) @CURL_CFLAGS@
-sender_LDADD = libutil.la @CURL_LIBS@
+sender_LDADD = libjson.la libutil.la @CURL_LIBS@
test_sender_SOURCES = common.hh test_sender.cc sender_client.hh
test_sender_LDADD = libsender_client.la
+libjson_la_SOURCES = json.hh json.cc common.hh
+
libcgi_la_SOURCES = cgi.hh common.hh cgi.cc \
query_parser.hh query_parser.cc \
header_parser.hh header_parser.cc \