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 | |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 6 | sbin_PROGRAMS = phosphor-read-eeprom |
| 7 | |
| 8 | phosphor_read_eeprom_SOURCES = readeeprom.cpp argument.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) \ |
| 31 | $(PHOSPHOR_LOGGING_CFLAGS) |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 32 | |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 33 | libstrgfnhandlerdir = ${libdir}/ipmid-providers |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 34 | libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la |
| 35 | libstrgfnhandler_la_SOURCES = strgfnhandler.cpp |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 36 | libstrgfnhandler_la_LDFLAGS = $(PHOSPHOR_LOGGING_LIBS) \ |
| 37 | -version-info 1:0:0 -shared |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 38 | libstrgfnhandler_la_LIBADD = libwritefrudata.la |
Patrick Venture | d57cd01 | 2018-10-16 19:46:24 -0700 | [diff] [blame] | 39 | libstrgfnhandler_la_CXXFLAGS = $(PHOSPHOR_LOGGING_CFLAGS) |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 40 | |
Ratan Gupta | 6eed403 | 2017-02-10 15:59:31 +0530 | [diff] [blame] | 41 | fru-gen.cpp: |
| 42 | $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp |
Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 43 | extra-properties-gen.cpp: |
| 44 | $(AM_V_GEN)@PROPGEN@ |