1 # Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+
3 mkclass_target(checkable.ti checkable-ti.cpp checkable-ti.hpp)
4 mkclass_target(checkcommand.ti checkcommand-ti.cpp checkcommand-ti.hpp)
5 mkclass_target(checkresult.ti checkresult-ti.cpp checkresult-ti.hpp)
6 mkclass_target(command.ti command-ti.cpp command-ti.hpp)
7 mkclass_target(comment.ti comment-ti.cpp comment-ti.hpp)
8 mkclass_target(dependency.ti dependency-ti.cpp dependency-ti.hpp)
9 mkclass_target(downtime.ti downtime-ti.cpp downtime-ti.hpp)
10 mkclass_target(eventcommand.ti eventcommand-ti.cpp eventcommand-ti.hpp)
11 mkclass_target(hostgroup.ti hostgroup-ti.cpp hostgroup-ti.hpp)
12 mkclass_target(host.ti host-ti.cpp host-ti.hpp)
13 mkclass_target(icingaapplication.ti icingaapplication-ti.cpp icingaapplication-ti.hpp)
14 mkclass_target(customvarobject.ti customvarobject-ti.cpp customvarobject-ti.hpp)
15 mkclass_target(notificationcommand.ti notificationcommand-ti.cpp notificationcommand-ti.hpp)
16 mkclass_target(notificationresult.ti notificationresult-ti.cpp notificationresult-ti.hpp)
17 mkclass_target(notification.ti notification-ti.cpp notification-ti.hpp)
18 mkclass_target(scheduleddowntime.ti scheduleddowntime-ti.cpp scheduleddowntime-ti.hpp)
19 mkclass_target(servicegroup.ti servicegroup-ti.cpp servicegroup-ti.hpp)
20 mkclass_target(service.ti service-ti.cpp service-ti.hpp)
21 mkclass_target(timeperiod.ti timeperiod-ti.cpp timeperiod-ti.hpp)
22 mkclass_target(usergroup.ti usergroup-ti.cpp usergroup-ti.hpp)
23 mkclass_target(user.ti user-ti.cpp user-ti.hpp)
25 mkembedconfig_target(icinga-itl.conf icinga-itl.cpp)
28 i2-icinga.hpp icinga-itl.cpp
29 apiactions.cpp apiactions.hpp
30 apievents.cpp apievents.hpp
31 checkable.cpp checkable.hpp checkable-ti.hpp
32 checkable-check.cpp checkable-comment.cpp checkable-dependency.cpp
33 checkable-downtime.cpp checkable-event.cpp checkable-flapping.cpp
34 checkable-notification.cpp checkable-script.cpp
35 checkcommand.cpp checkcommand.hpp checkcommand-ti.hpp
36 checkresult.cpp checkresult.hpp checkresult-ti.hpp
38 clusterevents.cpp clusterevents.hpp clusterevents-check.cpp
39 command.cpp command.hpp command-ti.hpp
40 comment.cpp comment.hpp comment-ti.hpp
41 compatutility.cpp compatutility.hpp
42 customvarobject.cpp customvarobject.hpp customvarobject-ti.hpp
43 dependency.cpp dependency.hpp dependency-ti.hpp dependency-apply.cpp
44 downtime.cpp downtime.hpp downtime-ti.hpp
45 eventcommand.cpp eventcommand.hpp eventcommand-ti.hpp
46 externalcommandprocessor.cpp externalcommandprocessor.hpp
47 host.cpp host.hpp host-ti.hpp
48 hostgroup.cpp hostgroup.hpp hostgroup-ti.hpp
49 icingaapplication.cpp icingaapplication.hpp icingaapplication-ti.hpp
50 legacytimeperiod.cpp legacytimeperiod.hpp
51 macroprocessor.cpp macroprocessor.hpp
53 notification.cpp notification.hpp notification-ti.hpp notification-apply.cpp
54 notificationcommand.cpp notificationcommand.hpp notificationcommand-ti.hpp
55 notificationresult.cpp notificationresult.hpp notificationresult-ti.hpp
56 objectutils.cpp objectutils.hpp
57 pluginutility.cpp pluginutility.hpp
58 scheduleddowntime.cpp scheduleddowntime.hpp scheduleddowntime-ti.hpp scheduleddowntime-apply.cpp
59 service.cpp service.hpp service-ti.hpp service-apply.cpp
60 servicegroup.cpp servicegroup.hpp servicegroup-ti.hpp
61 timeperiod.cpp timeperiod.hpp timeperiod-ti.hpp
62 user.cpp user.hpp user-ti.hpp
63 usergroup.cpp usergroup.hpp usergroup-ti.hpp
66 if(ICINGA2_UNITY_BUILD)
67 mkunity_target(icinga icinga icinga_SOURCES)
70 add_library(icinga OBJECT ${icinga_SOURCES})
72 add_dependencies(icinga base config remote)
74 set_target_properties (