build: Add targets

Add files needed by Automake.

An application called openpower-read-vpd is built - this can read vpd
off of an eeprom file, for example, and can parse that VPD and write
the parsed information to the inventory.

Change-Id: Ic6909dbbbf919f3ccec25fa7b8a680b822553cbb
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..35e22cc
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,30 @@
+# Build these headers, don't install them
+noinst_HEADERS = \
+	defines.hpp \
+	store.hpp \
+	parser.hpp \
+	types.hpp \
+	write.hpp \
+	impl.hpp \
+	args.hpp
+
+# Be sure to build writefru.hpp before compiling
+BUILT_SOURCES = writefru.hpp
+CLEANFILES = writefru.hpp
+REQ_SCRIPT ?= ${abs_srcdir}/writefru.py
+REQ_SCRIPT_FILES ?= \
+	${abs_srcdir}/writefru.yaml \
+	${abs_srcdir}/writefru.mako.hpp
+EXTRA_DIST = \
+	$(REQ_SCRIPT) \
+	$(REQ_SCRIPT_FILES)
+writefru.hpp: ${REQ_SCRIPT} ${REQ_SCRIPT_FILES}
+	$(AM_V_GEN)$(PYTHON) ${REQ_SCRIPT}
+
+sbin_PROGRAMS = openpower-read-vpd
+openpower_read_vpd_SOURCES = \
+	app.cpp \
+	args.cpp \
+	impl.cpp \
+	parser.cpp \
+	write.cpp