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 | |
William A. Kennington III | 6eb2940 | 2019-03-14 11:03:55 -0700 | [diff] [blame^] | 8 | noinst_LTLIBRARIES = libsyscmds_common.la |
| 9 | libsyscmds_common_la_SOURCES = cable.cpp cpld.cpp eth.cpp psu.cpp pcie_i2c.cpp entity_name.cpp |
| 10 | libsyscmds_common_la_CXXFLAGS = \ |
| 11 | $(SDBUSPLUS_CFLAGS) \ |
| 12 | $(PHOSPHOR_LOGGING_CFLAGS) |
| 13 | libsyscmds_common_la_LDFLAGS = \ |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 14 | $(SDBUSPLUS_LIBS) \ |
| 15 | $(PHOSPHOR_LOGGING_LIBS) \ |
William A. Kennington III | 6eb2940 | 2019-03-14 11:03:55 -0700 | [diff] [blame^] | 16 | -lstdc++fs |
| 17 | |
| 18 | libsyscmdsdir = ${libdir}/ipmid-providers |
| 19 | libsyscmds_LTLIBRARIES = libsyscmds.la |
| 20 | libsyscmds_la_SOURCES = main.cpp |
| 21 | libsyscmds_la_LIBADD = libsyscmds_common.la |
| 22 | libsyscmds_la_LDFLAGS = \ |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 23 | $(LIBIPMID_LIBS) \ |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 24 | -version-info 0:0:0 -shared |
Patrick Venture | 4d49ae6 | 2018-09-17 11:35:32 -0700 | [diff] [blame] | 25 | |
Patrick Venture | a313c40 | 2018-11-09 08:25:06 -0800 | [diff] [blame] | 26 | libsyscmds_la_CXXFLAGS = \ |
William A. Kennington III | 2c9e162 | 2019-02-07 15:45:19 -0800 | [diff] [blame] | 27 | $(LIBIPMID_CFLAGS) \ |
Patrick Venture | ff40f27 | 2018-11-09 08:38:23 -0800 | [diff] [blame] | 28 | -flto |
Patrick Venture | 848b938 | 2019-03-13 15:48:23 -0700 | [diff] [blame] | 29 | |
| 30 | SUBDIRS = . test |