Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
Patrick Venture | f9a19b8 | 2018-09-18 10:03:24 -0700 | [diff] [blame] | 3 | if HAVE_SYSTEMD |
| 4 | systemdsystemunit_DATA = \ |
| 5 | gbmc-psu-hardreset.target |
| 6 | endif |
| 7 | |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 8 | libsyscmdsdir = ${libdir}/ipmid-providers |
| 9 | libsyscmds_LTLIBRARIES = libsyscmds.la |
Jaghathiswari Rankappagounder Natarajan | fd0f1cf | 2019-01-18 15:31:07 -0800 | [diff] [blame] | 10 | libsyscmds_la_SOURCES = main.cpp cable.cpp cpld.cpp eth.cpp psu.cpp pcie_i2c.cpp entity_name.cpp |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 11 | |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 12 | libsyscmds_la_LDFLAGS = \ |
| 13 | $(SDBUSPLUS_LIBS) \ |
| 14 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 15 | -lstdc++fs \ |
| 16 | -version-info 0:0:0 -shared |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 17 | |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 18 | libsyscmds_la_CXXFLAGS = \ |
| 19 | $(SDBUSPLUS_CFLAGS) \ |
Patrick Venture | ff40f27 | 2018-11-09 08:38:23 -0800 | [diff] [blame] | 20 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 21 | -flto |