blob: c626404cee9ea07e9a6172999cda91dae0c81332 [file] [log] [blame]
Ratan Gupta6eed4032017-02-10 15:59:31 +05301BUILT_SOURCES=fru-gen.cpp
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 Gupta6eed4032017-02-10 15:59:31 +053015libwritefrudata_la_SOURCES = frup.cpp fru-gen.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
Ratan Gupta6eed4032017-02-10 15:59:31 +053025fru-gen.cpp:
26 $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp