From ce3490e71f9f91bd20dbb9ac037079de4a3580a8 Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Tue, 18 Oct 2016 14:25:10 -0500 Subject: Convert build process to autotools Replaced the use of a manual Makefile with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README.md file to build the package. Change-Id: Iaef09f17006ee51ac45f84c6c59826dcc567e279 Signed-off-by: Matthew Barth --- Makefile.am | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Makefile.am (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..71a3593 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,20 @@ +AM_DEFAULT_SOURCE_EXT = .cpp + +sbin_PROGRAMS = phosphor-read-eeprom + +phosphor_read_eeprom_SOURCES = readeeprom.cpp argument.cpp +phosphor_read_eeprom_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) +phosphor_read_eeprom_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) +phosphor_read_eeprom_LDADD = libwritefrudata.la + +libwritefrudatadir = ${libdir} +libwritefrudata_LTLIBRARIES = libwritefrudata.la +libwritefrudata_la_SOURCES = frup.c writefrudata.cpp +libwritefrudata_la_LDFLAGS = $(SYSTEMD_LIBS) $(libmapper_LIBS) -version-info 1:0:0 -shared +libwritefrudata_la_CXXFLAGS = $(SYSTEMD_CFLAGS) $(libmapper_CFLAGS) + +libstrgfnhandlerdir = ${libdir}/host-ipmid +libstrgfnhandler_LTLIBRARIES = libstrgfnhandler.la +libstrgfnhandler_la_SOURCES = strgfnhandler.cpp +libstrgfnhandler_la_LDFLAGS = -version-info 1:0:0 -shared +libstrgfnhandler_la_LIBADD = libwritefrudata.la -- cgit v1.2.1