From 87774d8981ae7a079492d8949e205065ba72a8e4 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Thu, 16 Mar 2017 23:28:09 +0100 Subject: Add basic console monitor and implement monitor support --- src/Makefile.am | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index 502c82d..84c4401 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,8 +5,8 @@ AM_CXXFLAGS = @DEFINES@ # Remove ar: `u' modifier ignored since `D' is the default (see `U') ARFLAGS = cr -bin_PROGRAMS = tp -noinst_LIBRARIES = libtp.a +bin_PROGRAMS = tp tp-monitor +noinst_LIBRARIES = libtp.a libmonitor.a tp_SOURCES = main.cc proxy.cc logger.cc resolver.cc tp_LDADD = libtp.a @THREAD_LIBS@ @@ -16,3 +16,10 @@ libtp_a_SOURCES = args.cc xdg.cc terminal.cc http.cc url.cc paths.cc \ character.cc config.cc strings.cc io.cc looper.cc \ buffer.cc chunked.cc libtp_a_CXXFLAGS = $(AM_CXXFLAGS) -DSYSCONFDIR='"@SYSCONFDIR@"' + +libmonitor_a_SOURCES = monitor.cc resolver.cc +libmonitor_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@ + +tp_monitor_SOURCES = monitor-cmd.cc +tp_monitor_LDADD = libmonitor.a libtp.a @THREAD_LIBS@ +tp_monitor_CXXFLAGS = $(AM_CXXFLAGS) -DVERSION='"@VERSION@"' @THREAD_CFLAGS@ -- cgit v1.2.3-70-g09d2