Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 1 | BUILT_SOURCES=fru-gen.cpp extra-properties-gen.cpp |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 2 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 3 | |
Deepak Kodihalli | 92cea96 | 2017-01-25 10:50:23 -0600 | [diff] [blame] | 4 | CLEANFILES=$(BUILT_SOURCES) |
| 5 | |
Patrick Venture | 7d740a6 | 2019-03-28 11:05:35 -0700 | [diff] [blame] | 6 | bin_PROGRAMS = phosphor-read-eeprom |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 7 | |
Patrick Venture | d847f50 | 2019-03-26 11:12:39 -0700 | [diff] [blame] | 8 | phosphor_read_eeprom_SOURCES = readeeprom.cpp |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 9 | phosphor_read_eeprom_LDFLAGS = $(SYSTEMD_LIBS) \ |
| 10 | $(libmapper_LIBS) \ |
| 11 | $(PHOSPHOR_LOGGING_LIBS) |
| 12 | phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 13 | $(libmapper_CFLAGS) \ |
| 14 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 15 | phosphor_read_eeprom_LDADD = libwritefrudata.la |
| 16 | |
Matthew Barth | d51dd1c | 2017-02-16 10:03:13 -0600 | [diff] [blame] | 17 | lib_LTLIBRARIES = libwritefrudata.la |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 18 | libwritefrudata_la_SOURCES = frup.cpp \ |
| 19 | fru-gen.cpp \ |
Patrick Venture | a19bd0c | 2018-10-20 20:09:42 -0700 | [diff] [blame] | 20 | fru_area.cpp \ |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 21 | writefrudata.cpp \ |
| 22 | extra-properties-gen.cpp |
| 23 | libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) \ |
| 24 | $(libmapper_LIBS) \ |
| 25 | $(SDBUSPLUS_LIBS) \ |
| 26 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 27 | -version-info 1:0:0 -shared |
| 28 | libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \ |
| 29 | $(libmapper_CFLAGS) \ |
| 30 | $(SDBUSPLUS_CFLAGS) \ |
William A. Kennington III | 8ab5784 | 2019-02-12 12:49:51 -0800 | [diff] [blame] | 31 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 32 | $(LIBIPMID_CFLAGS) |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 33 | |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 34 | libstrgfnhandlerdir = ${libdir}/ipmid-providers |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 35 | libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la |
| 36 | libstrgfnhandler_la_SOURCES = strgfnhandler.cpp |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 37 | libstrgfnhandler_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
William A. Kennington III | 8ab5784 | 2019-02-12 12:49:51 -0800 | [diff] [blame] | 38 | $(LIBIPMID_LIBS) \ |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 39 | -version-info 1:0:0 -shared |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 40 | libstrgfnhandler_la_LIBADD = libwritefrudata.la |
William A. Kennington III | 8ab5784 | 2019-02-12 12:49:51 -0800 | [diff] [blame] | 41 | libstrgfnhandler_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 42 | $(LIBIPMID_CFLAGS) |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 43 | |
Ratan Gupta | 6eed403 | 2017-02-10 15:59:31 +0530 | [diff] [blame] | 44 | fru-gen.cpp: |
| 45 | $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp |
Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 46 | extra-properties-gen.cpp: |
| 47 | $(AM_V_GEN)@PROPGEN@ |