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) \ |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 15 | $(LIBIPMID_LIBS) \ |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 16 | -lstdc++fs \ |
| 17 | -version-info 0:0:0 -shared |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 18 | |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 19 | libsyscmds_la_CXXFLAGS = \ |
| 20 | $(SDBUSPLUS_CFLAGS) \ |
Patrick Venture | ff40f27 | 2018-11-09 08:38:23 -0800 | [diff] [blame] | 21 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 22 | $(LIBIPMID_CFLAGS) \ |
Patrick Venture | ff40f27 | 2018-11-09 08:38:23 -0800 | [diff] [blame] | 23 | -flto |
Patrick Venture | 848b938 | 2019-03-13 15:48:23 -0700 | [diff] [blame^] | 24 | |
| 25 | SUBDIRS = . test |