summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2015-06-25 02:13:15 +0200
committerJoel Klinghed <the_jk@yahoo.com>2015-06-25 02:13:15 +0200
commit0c55606145b6c5d9a303b19b3dba4996ec3ed3a9 (patch)
treeff7804d99c83a0c22e4074cd11624c93365057ff /src/Makefile.am
parent021dbcb976f9534750e9dc42812f1a66f47a6392 (diff)
Split out common event code for future use
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 1f8b819..8a6ee24 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,10 +6,10 @@ 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 \
- libjson.la
+ libjson.la libevent.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
+event_SOURCES = event_main.cc common.hh cgi.hh
+event_LDADD = libcgi.la libevent.la
sender_SOURCES = common.hh sender.cc
sender_CPPFLAGS = $(AM_CPPFLAGS) @CURL_CFLAGS@
@@ -18,6 +18,10 @@ 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
+libevent_la_SOURCES = event.cc event.hh event_utils.cc event_utils.hh \
+ common.hh db.hh sender_client.hh
+libevent_la_LIBADD = libdb.la libsender_client.la
+
libjson_la_SOURCES = json.hh json.cc common.hh
libcgi_la_SOURCES = cgi.hh common.hh cgi.cc \