Matthew Barth | ae0e96c | 2017-01-20 13:54:59 -0600 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 2 | |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 3 | noinst_LTLIBRARIES = libfan.la |
4 | libfan_la_LDFLAGS = -static | ||||
5 | libfan_la_LIBADD = \ | ||||
William A. Kennington III | b884821 | 2018-10-19 17:07:51 -0700 | [diff] [blame^] | 6 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
7 | $(PHOSPHOR_LOGGING_LIBS) \ | ||||
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 8 | $(SDBUSPLUS_LIBS) |
Lei YU | bd2e80a | 2018-09-19 11:17:09 +0800 | [diff] [blame] | 9 | libfan_la_CXXFLAGS = \ |
William A. Kennington III | b884821 | 2018-10-19 17:07:51 -0700 | [diff] [blame^] | 10 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
11 | $(PHOSPHOR_LOGGING_CFLAGS) \ | ||||
Andrew Geissler | ecd4bc7 | 2018-08-27 10:52:23 -0700 | [diff] [blame] | 12 | $(SDBUSPLUS_CFLAGS) -flto |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 13 | libfan_la_SOURCES = \ |
Matt Spinler | 2de67cf | 2017-04-27 11:07:53 -0500 | [diff] [blame] | 14 | utility.cpp \ |
15 | timer.cpp | ||||
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 16 | |
Brad Bishop | 5d70c25 | 2017-06-15 22:42:22 -0400 | [diff] [blame] | 17 | SUBDIRS = . test sdevent/test evdevpp/test |
Brad Bishop | 93919bb | 2017-04-22 14:58:29 -0400 | [diff] [blame] | 18 | |
19 | if WANT_PRESENCE | ||||
20 | SUBDIRS += presence | ||||
21 | endif | ||||
22 | if WANT_CONTROL | ||||
23 | SUBDIRS += control | ||||
24 | endif | ||||
Brandon Wyman | ca60e10 | 2017-03-29 17:06:02 -0500 | [diff] [blame] | 25 | if WANT_COOLING_TYPE |
Brandon Wyman | fef0295 | 2017-03-31 18:13:21 -0500 | [diff] [blame] | 26 | SUBDIRS += cooling-type |
Brandon Wyman | ca60e10 | 2017-03-29 17:06:02 -0500 | [diff] [blame] | 27 | endif |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 28 | if WANT_MONITOR |
29 | SUBDIRS += monitor | ||||
30 | endif |