summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-02-10 15:59:31 +0530
committerRatan Gupta <ratagupt@in.ibm.com>2017-02-14 22:51:34 +0530
commit6eed4032cb2b08a8b9d41329fc3553a65269cbde (patch)
tree910352e3d3726b4f86c39d7b5bfee166439987a1 /Makefile.am
parent19c617b7dbbcb065b1a283e184310f60096ff180 (diff)
downloadipmi-fru-parser-6eed4032cb2b08a8b9d41329fc3553a65269cbde.zip
ipmi-fru-parser-6eed4032cb2b08a8b9d41329fc3553a65269cbde.tar.gz
Create the generated FRU Map in cpp.
Change-Id: Id83220e5e2876f4112ba76d698b2062e2a08dd3d Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 288ac61..c626404 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-BUILT_SOURCES=fru-gen.hpp
+BUILT_SOURCES=fru-gen.cpp
AM_DEFAULT_SOURCE_EXT = .cpp
CLEANFILES=$(BUILT_SOURCES)
@@ -12,7 +12,7 @@ phosphor_read_eeprom_LDADD = libwritefrudata.la
libwritefrudatadir = ${libdir}
libwritefrudata_LTLIBRARIES = libwritefrudata.la
-libwritefrudata_la_SOURCES = frup.cpp writefrudata.cpp
+libwritefrudata_la_SOURCES = frup.cpp fru-gen.cpp writefrudata.cpp
libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) -version-info 1:0:0 -shared
libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS)
@@ -22,5 +22,5 @@ libstrgfnhandler_la_SOURCES = strgfnhandler.cpp
libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared
libstrgfnhandler_la_LIBADD = libwritefrudata.la
-fru-gen.hpp:
- $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-hpp
+fru-gen.cpp:
+ $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp
OpenPOWER on IntegriCloud