blob: 870583d0f040c482fc4a3d4ace9f38a65187a3ab [file] [log] [blame]
Deepak Kodihallie8c4ffd2017-02-20 01:20:08 -06001BUILT_SOURCES=fru-gen.cpp extra-properties-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
Matthew Barthd51dd1c2017-02-16 10:03:13 -060013lib_LTLIBRARIES = libwritefrudata.la
Deepak Kodihallie8c4ffd2017-02-20 01:20:08 -060014libwritefrudata_la_SOURCES = frup.cpp fru-gen.cpp writefrudata.cpp extra-properties-gen.cpp
Deepak Kodihalli61845fd2017-02-16 08:09:03 -060015libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) $(SDBUSPLUS_LIBS) -version-info 1:0:0 -shared
16libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) $(SDBUSPLUS_CFLAGS)
Matthew Barthce3490e2016-10-18 14:25:10 -050017
Toma2ca1002016-09-06 18:21:42 +053018libstrgfnhandlerdir = ${libdir}/ipmid-providers
Matthew Barthce3490e2016-10-18 14:25:10 -050019libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la
20libstrgfnhandler_la_SOURCES = strgfnhandler.cpp
21libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared
22libstrgfnhandler_la_LIBADD = libwritefrudata.la
Toma2ca1002016-09-06 18:21:42 +053023
Ratan Gupta6eed4032017-02-10 15:59:31 +053024fru-gen.cpp:
25 $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp
Deepak Kodihallie8c4ffd2017-02-20 01:20:08 -060026extra-properties-gen.cpp:
27 $(AM_V_GEN)@PROPGEN@