Deepak Kodihalli | 92cea96 | 2017-01-25 10:50:23 -0600 | [diff] [blame] | 1 | BUILT_SOURCES=fru-gen.hpp |
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 |
| 9 | phosphor_read_eeprom_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) |
| 10 | phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) |
| 11 | phosphor_read_eeprom_LDADD = libwritefrudata.la |
| 12 | |
| 13 | libwritefrudatadir = ${libdir} |
| 14 | libwritefrudata_LTLIBRARIES = libwritefrudata.la |
Ratan Gupta | 82ab3e1 | 2017-01-27 23:09:16 +0530 | [diff] [blame] | 15 | libwritefrudata_la_SOURCES = frup.cpp writefrudata.cpp |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 16 | libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) -version-info 1:0:0 -shared |
| 17 | libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) |
| 18 | |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 19 | libstrgfnhandlerdir = ${libdir}/ipmid-providers |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 20 | libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la |
| 21 | libstrgfnhandler_la_SOURCES = strgfnhandler.cpp |
| 22 | libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared |
| 23 | libstrgfnhandler_la_LIBADD = libwritefrudata.la |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 24 | |
Deepak Kodihalli | 92cea96 | 2017-01-25 10:50:23 -0600 | [diff] [blame] | 25 | fru-gen.hpp: |
| 26 | $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-hpp |