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) \ |
William A. Kennington III | 8fd879f | 2018-10-30 19:49:29 -0700 | [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) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 12 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 8fd879f | 2018-10-30 19:49:29 -0700 | [diff] [blame^] | 13 | -flto |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 14 | libfan_la_SOURCES = \ |
William A. Kennington III | 8fd879f | 2018-10-30 19:49:29 -0700 | [diff] [blame^] | 15 | utility.cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 16 | |
William A. Kennington III | 8fd879f | 2018-10-30 19:49:29 -0700 | [diff] [blame^] | 17 | SUBDIRS = . 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 |