diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-04-22 14:19:45 -0400 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-04-24 22:53:58 -0400 |
commit | 9df0e16e00338ea267c71a2bf3c314d39e8961be (patch) | |
tree | 56bd9da5f66fe259267001c2dc4b27773c6eeecb /presence/Makefile.am | |
parent | e73446e30576ad6dc734398ad2ca709f2263ad51 (diff) | |
download | phosphor-fan-presence-9df0e16e00338ea267c71a2bf3c314d39e8961be.tar.gz phosphor-fan-presence-9df0e16e00338ea267c71a2bf3c314d39e8961be.zip |
build: Move presence to a subdirectory
Change-Id: I33b28922107b9b041de3699e4a6eebd3d05ebdef
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'presence/Makefile.am')
-rw-r--r-- | presence/Makefile.am | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/presence/Makefile.am b/presence/Makefile.am new file mode 100644 index 0000000..10a7363 --- /dev/null +++ b/presence/Makefile.am @@ -0,0 +1,25 @@ +AM_DEFAULT_SOURCE_EXT = .cpp +AM_CPPFLAGS = -iquote ${top_srcdir} + +sbin_PROGRAMS = \ + phosphor-fan-presence-tach + +phosphor_fan_presence_tach_SOURCES = \ + fan_enclosure.cpp \ + tach_sensor.cpp \ + tach_detect.cpp +nodist_phosphor_fan_presence_tach_SOURCES = \ + fan_detect_defs.cpp + +phosphor_fan_presence_tach_LDADD = \ + $(top_builddir)/libfan.la \ + $(SDBUSPLUS_LIBS) \ + $(PHOSPHOR_LOGGING_LIBS) +phosphor_fan_presence_tach_CXXFLAGS = \ + $(SDBUSPLUS_CFLAGS) \ + $(PHOSPHOR_LOGGING_CFLAGS) + +BUILT_SOURCES = fan_detect_defs.cpp + +fan_detect_defs.cpp: ${srcdir}/gen-fan-detect-defs.py + $(AM_V_GEN)$(GEN_FAN_DETECT_DEFS) > $@ |