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 |
| 10 | libsyscmds_la_SOURCES = main.cpp cable.cpp cpld.cpp eth.cpp psu.cpp |
| 11 | |
Patrick Venture | ef45005 | 2018-09-21 14:50:47 -0700 | [diff] [blame] | 12 | libsyscmds_la_LDFLAGS = $(SDBUSPLUS_LIBS) \ |
| 13 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 14 | -lstdc++fs \ |
| 15 | -version-info 0:0:0 -shared |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 16 | |
Patrick Venture | ef45005 | 2018-09-21 14:50:47 -0700 | [diff] [blame] | 17 | libsyscmds_la_CXXFLAGS = $(SDBUSPLUS_CFLAGS) \ |
| 18 | $(PHOSPHOR_LOGGING_CFLAGS) |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 19 | |