| AM_DEFAULT_SOURCE_EXT = .cpp |
| |
| sbin_PROGRAMS = swampd setsensor |
| |
| BUILT_SOURCES = sensorlist-gen.cpp pidlist-gen.cpp zoneinfo-gen.cpp |
| CLEANFILES = $(BUILT_SOURCES) |
| |
| sensorlist-gen.cpp: |
| $(AM_V_GEN)@SENSORGEN@ -o $(top_builddir) generate-cpp |
| |
| pidlist-gen.cpp: |
| $(AM_V_GEN)@PIDGEN@ -o $(top_builddir) generate-cpp |
| |
| zoneinfo-gen.cpp: |
| $(AM_V_GEN)@ZONEGEN@ -o $(top_builddir) generate-cpp |
| |
| setsensor_SOURCES = setsensor.cpp |
| setsensor_LDADD = $(SDBUSPLUS_LIBS) $(PHOSPHOR_DBUS_INTERFACES_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| setsensor_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
| |
| swampd_SOURCES = main.cpp util.cpp |
| swampd_LDADD = $(SDBUSPLUS_LIBS) $(PTHREAD_LIBS) libswampd.la |
| swampd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PTHREAD_CFLAGS) |
| |
| noinst_LTLIBRARIES = libswampd.la |
| libswampd_la_LDFLAGS = -static |
| libswampd_la_LIBADD = \ |
| -lstdc++fs \ |
| -lconfig++ \ |
| $(SDBUSPLUS_LIBS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| $(PHOSPHOR_LOGGING_LIBS) |
| libswampd_la_CXXFLAGS = \ |
| $(SDBUSPLUS_CFLAGS) \ |
| $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| $(PHOSPHOR_LOGGING_CFLAGS) |
| |
| libswampd_la_SOURCES = \ |
| notimpl/readonly.cpp \ |
| notimpl/writeonly.cpp \ |
| dbus/util.cpp \ |
| dbus/dbuspassive.cpp \ |
| dbus/dbusactiveread.cpp \ |
| sysfs/sysfsread.cpp \ |
| sysfs/sysfswrite.cpp \ |
| sysfs/util.cpp \ |
| sensors/pluggable.cpp \ |
| sensors/host.cpp \ |
| sensors/builder.cpp \ |
| sensors/builderconfig.cpp \ |
| sensors/manager.cpp \ |
| pid/ec/pid.cpp \ |
| pid/controller.cpp \ |
| pid/fancontroller.cpp \ |
| pid/thermalcontroller.cpp \ |
| pid/zone.cpp \ |
| pid/util.cpp \ |
| pid/pidthread.cpp \ |
| threads/busthread.cpp \ |
| experiments/drive.cpp \ |
| $(BUILT_SOURCES) |
| |
| #libmanualcmdsdir = ${libdir}/ipmid-providers |
| #libmanualcmds_LTLIBRARIES = libmanualcmds.la |
| #libmanualcmds_la_SOURCES = \ |
| # ipmi/manualcmds.cpp |
| #libmanualcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \ |
| # $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| # $(PHOSPHOR_LOGGING_LIBS) \ |
| # -version-info 0:0:0 -shared |
| #libmanualcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| # $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| # $(PHOSPHOR_LOGGING_CFLAGS) |
| |
| SUBDIRS = . test |