blob: 288ac61f5be151cf4c5590cea4ea3cf4293812b5 [file] [log] [blame]
Deepak Kodihalli92cea962017-01-25 10:50:23 -06001BUILT_SOURCES=fru-gen.hpp
Matthew Barthce3490e2016-10-18 14:25:10 -05002AM_DEFAULT_SOURCE_EXT = .cpp
3
Deepak Kodihalli92cea962017-01-25 10:50:23 -06004CLEANFILES=$(BUILT_SOURCES)
5
Matthew Barthce3490e2016-10-18 14:25:10 -05006sbin_PROGRAMS = phosphor-read-eeprom
7
8phosphor_read_eeprom_SOURCES = readeeprom.cpp argument.cpp
9phosphor_read_eeprom_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS)
10phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS)
11phosphor_read_eeprom_LDADD = libwritefrudata.la
12
13libwritefrudatadir = ${libdir}
14libwritefrudata_LTLIBRARIES = libwritefrudata.la
Ratan Gupta82ab3e12017-01-27 23:09:16 +053015libwritefrudata_la_SOURCES = frup.cpp writefrudata.cpp
Matthew Barthce3490e2016-10-18 14:25:10 -050016libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) -version-info 1:0:0 -shared
17libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS)
18
Toma2ca1002016-09-06 18:21:42 +053019libstrgfnhandlerdir = ${libdir}/ipmid-providers
Matthew Barthce3490e2016-10-18 14:25:10 -050020libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la
21libstrgfnhandler_la_SOURCES = strgfnhandler.cpp
22libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared
23libstrgfnhandler_la_LIBADD = libwritefrudata.la
Toma2ca1002016-09-06 18:21:42 +053024
Deepak Kodihalli92cea962017-01-25 10:50:23 -060025fru-gen.hpp:
26 $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-hpp