blob: 5d81f759e011eff875114d6e6a1f1bc1604cf37c [file] [log] [blame]
Matthew Barthae0e96c2017-01-20 13:54:59 -06001AM_DEFAULT_SOURCE_EXT = .cpp
Matthew Barth293477d2017-02-17 15:39:36 -06002
Brad Bishop9df0e162017-04-22 14:19:45 -04003noinst_LTLIBRARIES = libfan.la
4libfan_la_LDFLAGS = -static
5libfan_la_LIBADD = \
William A. Kennington IIIb8848212018-10-19 17:07:51 -07006 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
7 $(PHOSPHOR_LOGGING_LIBS) \
William A. Kennington III8fd879f2018-10-30 19:49:29 -07008 $(SDBUSPLUS_LIBS)
Lei YUbd2e80a2018-09-19 11:17:09 +08009libfan_la_CXXFLAGS = \
William A. Kennington IIIb8848212018-10-19 17:07:51 -070010 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
11 $(PHOSPHOR_LOGGING_CFLAGS) \
William A. Kennington III1cfc2f12018-10-19 17:29:46 -070012 $(SDBUSPLUS_CFLAGS) \
William A. Kennington III8fd879f2018-10-30 19:49:29 -070013 -flto
Brad Bishop9df0e162017-04-22 14:19:45 -040014libfan_la_SOURCES = \
William A. Kennington III8fd879f2018-10-30 19:49:29 -070015 utility.cpp
Matthew Barth293477d2017-02-17 15:39:36 -060016
William A. Kennington III8fd879f2018-10-30 19:49:29 -070017SUBDIRS = . sdevent/test evdevpp/test
Brad Bishop93919bb2017-04-22 14:58:29 -040018
19if WANT_PRESENCE
20SUBDIRS += presence
21endif
22if WANT_CONTROL
23SUBDIRS += control
24endif
Brandon Wymanca60e102017-03-29 17:06:02 -050025if WANT_COOLING_TYPE
Brandon Wymanfef02952017-03-31 18:13:21 -050026SUBDIRS += cooling-type
Brandon Wymanca60e102017-03-29 17:06:02 -050027endif
Matt Spinlere567dd22017-04-27 12:27:17 -050028if WANT_MONITOR
29SUBDIRS += monitor
30endif