1 # Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
3 mkclass_target(livestatuslistener.ti livestatuslistener-ti.cpp livestatuslistener-ti.hpp)
7 aggregator.cpp aggregator.hpp
8 andfilter.cpp andfilter.hpp
9 attributefilter.cpp attributefilter.hpp
10 avgaggregator.cpp avgaggregator.hpp
12 combinerfilter.cpp combinerfilter.hpp
13 commandstable.cpp commandstable.hpp
14 commentstable.cpp commentstable.hpp
15 contactgroupstable.cpp contactgroupstable.hpp
16 contactstable.cpp contactstable.hpp
17 countaggregator.cpp countaggregator.hpp
18 downtimestable.cpp downtimestable.hpp
19 endpointstable.cpp endpointstable.hpp
22 hostgroupstable.cpp hostgroupstable.hpp
23 hoststable.cpp hoststable.hpp
24 invavgaggregator.cpp invavgaggregator.hpp
25 invsumaggregator.cpp invsumaggregator.hpp
26 livestatuslistener.cpp livestatuslistener.hpp livestatuslistener-ti.hpp
27 livestatuslogutility.cpp livestatuslogutility.hpp
28 livestatusquery.cpp livestatusquery.hpp
29 logtable.cpp logtable.hpp
30 maxaggregator.cpp maxaggregator.hpp
31 minaggregator.cpp minaggregator.hpp
32 negatefilter.cpp negatefilter.hpp
33 orfilter.cpp orfilter.hpp
34 servicegroupstable.cpp servicegroupstable.hpp
35 servicestable.cpp servicestable.hpp
36 statehisttable.cpp statehisttable.hpp
37 statustable.cpp statustable.hpp
38 stdaggregator.cpp stdaggregator.hpp
39 sumaggregator.cpp sumaggregator.hpp
41 timeperiodstable.cpp timeperiodstable.hpp
42 zonestable.cpp zonestable.hpp
45 if(ICINGA2_UNITY_BUILD)
46 mkunity_target(livestatus livestatus livestatus_SOURCES)
49 add_library(livestatus OBJECT ${livestatus_SOURCES})
51 add_dependencies(livestatus base config icinga remote)
53 set_target_properties (
58 install_if_not_exists(
59 ${PROJECT_SOURCE_DIR}/etc/icinga2/features-available/livestatus.conf
60 ${ICINGA2_CONFIGDIR}/features-available
63 install(CODE "file(MAKE_DIRECTORY \"\$ENV{DESTDIR}${ICINGA2_FULL_INITRUNDIR}/cmd\")")
65 set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS "${CPACK_NSIS_EXTRA_INSTALL_COMMANDS}" PARENT_SCOPE)