blob: 89c3cc9b8496c59690836e4e0abde5d97454583c [file] [log] [blame]
Deepak Kodihalli2bba75d2016-11-30 00:46:49 -06001# Build these headers, don't install them
2noinst_HEADERS = \
3 defines.hpp \
4 store.hpp \
5 parser.hpp \
6 types.hpp \
7 write.hpp \
8 impl.hpp \
9 args.hpp
10
11# Be sure to build writefru.hpp before compiling
12BUILT_SOURCES = writefru.hpp
13CLEANFILES = writefru.hpp
14REQ_SCRIPT ?= ${abs_srcdir}/writefru.py
15REQ_SCRIPT_FILES ?= \
16 ${abs_srcdir}/writefru.yaml \
17 ${abs_srcdir}/writefru.mako.hpp
18EXTRA_DIST = \
19 $(REQ_SCRIPT) \
20 $(REQ_SCRIPT_FILES)
21writefru.hpp: ${REQ_SCRIPT} ${REQ_SCRIPT_FILES}
Deepak Kodihallicd6d2412017-02-06 07:35:32 -060022 $(AM_V_GEN)@FRUGEN@
Deepak Kodihalli2bba75d2016-11-30 00:46:49 -060023
24sbin_PROGRAMS = openpower-read-vpd
25openpower_read_vpd_SOURCES = \
26 app.cpp \
27 args.cpp \
28 impl.cpp \
29 parser.cpp \
30 write.cpp
Deepak Kodihallic6e551b2017-02-17 07:39:50 -060031openpower_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
32openpower_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
Deepak Kodihalli901c5d92016-11-30 05:19:45 -060033
34SUBDIRS = test