Module: check_mk
Branch: master
Commit: 2da139b8e0ab4a12937bd6bc65bf7bf6880e9700
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2da139b8e0ab4a…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Oct 5 14:30:00 2012 +0200
Finally fixed compilation problem with livecheck
---
livestatus/src/Makefile.am | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/livestatus/src/Makefile.am b/livestatus/src/Makefile.am
index 710c605..f0cb6a9 100644
--- a/livestatus/src/Makefile.am
+++ b/livestatus/src/Makefile.am
@@ -22,14 +22,13 @@
# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
-bin_PROGRAMS = unixcat
+bin_PROGRAMS = unixcat livecheck
unixcat_SOURCES = unixcat.c
unixcat_LDADD = -lpthread
livecheck_SOURCES = livecheck.c strutil.cc check_icmp.c
-pkglib_LIBRARIES = livestatus.so
-pkglib_PROGRAMS = livecheck
+pkglib_LIBRARIES = livestatus.so
livestatus_so_SOURCES = \
AndingFilter.cc ClientQueue.cc Column.cc ColumnsColumn.cc CustomVarsExplicitColumn.cc \
@@ -73,6 +72,8 @@ install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
$(INSTALL_PROGRAM) livestatus.o $(DESTDIR)$(pkglibdir)
rm -f $(DESTDIR)$(pkglibdir)/livestatus.so
+ $(INSTALL_PROGRAM) livecheck $(DESTDIR)$(pkglibdir)
+ rm -f $(DESTDIR)$(bindir)/livecheck
clean-local:
rm -f *~