Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 1 | BUILT_SOURCES=fru-gen.cpp extra-properties-gen.cpp |
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 | |
Matthew Barth | d51dd1c | 2017-02-16 10:03:13 -0600 | [diff] [blame] | 13 | lib_LTLIBRARIES = libwritefrudata.la |
Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 14 | libwritefrudata_la_SOURCES = frup.cpp fru-gen.cpp writefrudata.cpp extra-properties-gen.cpp |
Deepak Kodihalli | 61845fd | 2017-02-16 08:09:03 -0600 | [diff] [blame] | 15 | libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) $(SDBUSPLUS_LIBS) -version-info 1:0:0 -shared |
| 16 | libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) $(SDBUSPLUS_CFLAGS) |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 17 | |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 18 | libstrgfnhandlerdir = ${libdir}/ipmid-providers |
Matthew Barth | ce3490e | 2016-10-18 14:25:10 -0500 | [diff] [blame] | 19 | libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la |
| 20 | libstrgfnhandler_la_SOURCES = strgfnhandler.cpp |
| 21 | libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared |
| 22 | libstrgfnhandler_la_LIBADD = libwritefrudata.la |
Tom | a2ca100 | 2016-09-06 18:21:42 +0530 | [diff] [blame] | 23 | |
Ratan Gupta | 6eed403 | 2017-02-10 15:59:31 +0530 | [diff] [blame] | 24 | fru-gen.cpp: |
| 25 | $(AM_V_GEN)@FRUGEN@ -o $(top_builddir) generate-cpp |
Deepak Kodihalli | e8c4ffd | 2017-02-20 01:20:08 -0600 | [diff] [blame] | 26 | extra-properties-gen.cpp: |
| 27 | $(AM_V_GEN)@PROPGEN@ |