Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
| 3 | sbin_PROGRAMS = swampd setsensor |
| 4 | |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 5 | setsensor_SOURCES = setsensor.cpp |
Patrick Venture | ba3c8c1 | 2018-11-09 08:43:00 -0800 | [diff] [blame] | 6 | setsensor_LDADD = \ |
| 7 | $(SDBUSPLUS_LIBS) \ |
| 8 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 9 | $(PHOSPHOR_LOGGING_LIBS) |
| 10 | setsensor_CXXFLAGS = \ |
| 11 | $(SDBUSPLUS_CFLAGS) \ |
| 12 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 13 | $(PHOSPHOR_LOGGING_CFLAGS) |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 14 | |
| 15 | swampd_SOURCES = main.cpp util.cpp |
Patrick Venture | ba3c8c1 | 2018-11-09 08:43:00 -0800 | [diff] [blame] | 16 | swampd_LDADD = \ |
| 17 | $(SDBUSPLUS_LIBS) \ |
| 18 | $(PTHREAD_LIBS) \ |
| 19 | libswampd.la |
| 20 | swampd_CXXFLAGS = \ |
| 21 | $(SDBUSPLUS_CFLAGS) \ |
| 22 | $(PTHREAD_CFLAGS) |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 23 | |
| 24 | noinst_LTLIBRARIES = libswampd.la |
| 25 | libswampd_la_LDFLAGS = -static |
| 26 | libswampd_la_LIBADD = \ |
| 27 | -lstdc++fs \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 28 | $(SDBUSPLUS_LIBS) \ |
| 29 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 30 | $(PHOSPHOR_LOGGING_LIBS) |
| 31 | libswampd_la_CXXFLAGS = \ |
| 32 | $(SDBUSPLUS_CFLAGS) \ |
| 33 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Patrick Venture | f0b7fa3 | 2018-11-09 08:40:32 -0800 | [diff] [blame] | 34 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 35 | -flto |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 36 | |
| 37 | libswampd_la_SOURCES = \ |
| 38 | notimpl/readonly.cpp \ |
| 39 | notimpl/writeonly.cpp \ |
| 40 | dbus/util.cpp \ |
| 41 | dbus/dbuspassive.cpp \ |
| 42 | dbus/dbusactiveread.cpp \ |
James Feist | 7136a5a | 2018-07-19 09:52:05 -0700 | [diff] [blame] | 43 | dbus/dbuswrite.cpp \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 44 | sysfs/sysfsread.cpp \ |
| 45 | sysfs/sysfswrite.cpp \ |
| 46 | sysfs/util.cpp \ |
| 47 | sensors/pluggable.cpp \ |
| 48 | sensors/host.cpp \ |
Patrick Venture | 5e92909 | 2018-06-08 10:55:23 -0700 | [diff] [blame] | 49 | sensors/builder.cpp \ |
Patrick Venture | eeeb867 | 2019-02-08 11:47:42 -0800 | [diff] [blame] | 50 | sensors/buildjson.cpp \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 51 | sensors/manager.cpp \ |
| 52 | pid/ec/pid.cpp \ |
James Feist | 22c257a | 2018-08-31 14:07:12 -0700 | [diff] [blame] | 53 | pid/ec/stepwise.cpp \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 54 | pid/fancontroller.cpp \ |
| 55 | pid/thermalcontroller.cpp \ |
James Feist | 22c257a | 2018-08-31 14:07:12 -0700 | [diff] [blame] | 56 | pid/pidcontroller.cpp \ |
| 57 | pid/stepwisecontroller.cpp \ |
Patrick Venture | 5c7cc54 | 2018-06-11 14:29:38 -0700 | [diff] [blame] | 58 | pid/builder.cpp \ |
Patrick Venture | d149172 | 2019-02-08 14:37:45 -0800 | [diff] [blame] | 59 | pid/buildjson.cpp \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 60 | pid/zone.cpp \ |
| 61 | pid/util.cpp \ |
| 62 | pid/pidthread.cpp \ |
Patrick Venture | c32e3fc | 2019-02-28 10:01:11 -0800 | [diff] [blame^] | 63 | pid/tuning.cpp \ |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 64 | threads/busthread.cpp \ |
Patrick Venture | 5426c34 | 2019-02-11 12:03:30 -0800 | [diff] [blame] | 65 | build/buildjson.cpp \ |
Patrick Venture | 18b1311 | 2019-02-14 11:43:59 -0800 | [diff] [blame] | 66 | experiments/drive.cpp |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 67 | |
Patrick Venture | 9f04441 | 2018-09-20 19:49:55 -0700 | [diff] [blame] | 68 | if CONFIGURE_DBUS |
| 69 | libswampd_la_SOURCES += dbus/dbusconfiguration.cpp |
| 70 | endif |
| 71 | |
Patrick Venture | ba00343 | 2018-07-27 06:59:05 -0700 | [diff] [blame] | 72 | libmanualcmdsdir = ${libdir}/ipmid-providers |
| 73 | libmanualcmds_LTLIBRARIES = libmanualcmds.la |
| 74 | libmanualcmds_la_SOURCES = \ |
| 75 | ipmi/manualcmds.cpp |
Patrick Venture | ba3c8c1 | 2018-11-09 08:43:00 -0800 | [diff] [blame] | 76 | libmanualcmds_la_LDFLAGS = \ |
| 77 | $(SYSTEMD_LIBS) \ |
| 78 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 79 | $(PHOSPHOR_LOGGING_LIBS) \ |
William A. Kennington III | 331143c | 2019-02-07 15:52:44 -0800 | [diff] [blame] | 80 | $(LIBIPMID_LIBS) \ |
Patrick Venture | ba3c8c1 | 2018-11-09 08:43:00 -0800 | [diff] [blame] | 81 | -version-info 0:0:0 -shared |
| 82 | libmanualcmds_la_CXXFLAGS = \ |
| 83 | $(SYSTEMD_CFLAGS) \ |
| 84 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 85 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
William A. Kennington III | 331143c | 2019-02-07 15:52:44 -0800 | [diff] [blame] | 86 | $(LIBIPMID_CFLAGS) \ |
Patrick Venture | ba3c8c1 | 2018-11-09 08:43:00 -0800 | [diff] [blame] | 87 | -flto |
Patrick Venture | e620656 | 2018-03-08 15:36:53 -0800 | [diff] [blame] | 88 | |
Patrick Venture | 7a841b6 | 2018-06-13 09:39:46 -0700 | [diff] [blame] | 89 | SUBDIRS = . test |