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 | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 8 | $(SDBUSPLUS_LIBS) \ |
| 9 | $(SDEVENTPLUS_LIBS) |
Lei YU | bd2e80a | 2018-09-19 11:17:09 +0800 | [diff] [blame] | 10 | libfan_la_CXXFLAGS = \ |
William A. Kennington III | b884821 | 2018-10-19 17:07:51 -0700 | [diff] [blame] | 11 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 12 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
William A. Kennington III | 1cfc2f1 | 2018-10-19 17:29:46 -0700 | [diff] [blame] | 13 | $(SDBUSPLUS_CFLAGS) \ |
| 14 | $(SDEVENTPLUS_CFLAGS) -flto |
Brad Bishop | 9df0e16 | 2017-04-22 14:19:45 -0400 | [diff] [blame] | 15 | libfan_la_SOURCES = \ |
Matt Spinler | 2de67cf | 2017-04-27 11:07:53 -0500 | [diff] [blame] | 16 | utility.cpp \ |
| 17 | timer.cpp |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 18 | |
Brad Bishop | 5d70c25 | 2017-06-15 22:42:22 -0400 | [diff] [blame] | 19 | SUBDIRS = . test sdevent/test evdevpp/test |
Brad Bishop | 93919bb | 2017-04-22 14:58:29 -0400 | [diff] [blame] | 20 | |
| 21 | if WANT_PRESENCE |
| 22 | SUBDIRS += presence |
| 23 | endif |
| 24 | if WANT_CONTROL |
| 25 | SUBDIRS += control |
| 26 | endif |
Brandon Wyman | ca60e10 | 2017-03-29 17:06:02 -0500 | [diff] [blame] | 27 | if WANT_COOLING_TYPE |
Brandon Wyman | fef0295 | 2017-03-31 18:13:21 -0500 | [diff] [blame] | 28 | SUBDIRS += cooling-type |
Brandon Wyman | ca60e10 | 2017-03-29 17:06:02 -0500 | [diff] [blame] | 29 | endif |
Matt Spinler | e567dd2 | 2017-04-27 12:27:17 -0500 | [diff] [blame] | 30 | if WANT_MONITOR |
| 31 | SUBDIRS += monitor |
| 32 | endif |