blob: d37ef874f24875133b3c6ff0042ba41c452ace27 [file] [log] [blame]
Patrick Venture4d49ae62018-09-17 11:35:32 -07001AM_DEFAULT_SOURCE_EXT = .cpp
2
Patrick Venturef9a19b82018-09-18 10:03:24 -07003if HAVE_SYSTEMD
4systemdsystemunit_DATA = \
5 gbmc-psu-hardreset.target
6endif
7
Patrick Venture4d49ae62018-09-17 11:35:32 -07008libsyscmdsdir = ${libdir}/ipmid-providers
9libsyscmds_LTLIBRARIES = libsyscmds.la
Jaghathiswari Rankappagounder Natarajanfd0f1cf2019-01-18 15:31:07 -080010libsyscmds_la_SOURCES = main.cpp cable.cpp cpld.cpp eth.cpp psu.cpp pcie_i2c.cpp entity_name.cpp
Patrick Venture4d49ae62018-09-17 11:35:32 -070011
Patrick Venturea313c402018-11-09 08:25:06 -080012libsyscmds_la_LDFLAGS = \
13 $(SDBUSPLUS_LIBS) \
14 $(PHOSPHOR_LOGGING_LIBS) \
William A. Kennington III2c9e1622019-02-07 15:45:19 -080015 $(LIBIPMID_LIBS) \
Patrick Venturea313c402018-11-09 08:25:06 -080016 -lstdc++fs \
17 -version-info 0:0:0 -shared
Patrick Venture4d49ae62018-09-17 11:35:32 -070018
Patrick Venturea313c402018-11-09 08:25:06 -080019libsyscmds_la_CXXFLAGS = \
20 $(SDBUSPLUS_CFLAGS) \
Patrick Ventureff40f272018-11-09 08:38:23 -080021 $(PHOSPHOR_LOGGING_CFLAGS) \
William A. Kennington III2c9e1622019-02-07 15:45:19 -080022 $(LIBIPMID_CFLAGS) \
Patrick Ventureff40f272018-11-09 08:38:23 -080023 -flto
Patrick Venture848b9382019-03-13 15:48:23 -070024
25SUBDIRS = . test