blob: de3232a8fca2f7bf48c1b1605c71148e0b311dde [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 \
Deepak Kodihalli76794492017-02-16 23:48:18 -06009 args.hpp \
10 types.hpp \
11 utils.hpp
Deepak Kodihalli2bba75d2016-11-30 00:46:49 -060012
13# Be sure to build writefru.hpp before compiling
14BUILT_SOURCES = writefru.hpp
15CLEANFILES = writefru.hpp
16REQ_SCRIPT ?= ${abs_srcdir}/writefru.py
17REQ_SCRIPT_FILES ?= \
18 ${abs_srcdir}/writefru.yaml \
19 ${abs_srcdir}/writefru.mako.hpp
20EXTRA_DIST = \
21 $(REQ_SCRIPT) \
22 $(REQ_SCRIPT_FILES)
23writefru.hpp: ${REQ_SCRIPT} ${REQ_SCRIPT_FILES}
Deepak Kodihallicd6d2412017-02-06 07:35:32 -060024 $(AM_V_GEN)@FRUGEN@
Deepak Kodihalli2bba75d2016-11-30 00:46:49 -060025
26sbin_PROGRAMS = openpower-read-vpd
27openpower_read_vpd_SOURCES = \
28 app.cpp \
29 args.cpp \
30 impl.cpp \
31 parser.cpp \
Deepak Kodihalli76794492017-02-16 23:48:18 -060032 write.cpp \
33 utils.cpp
Deepak Kodihallic6e551b2017-02-17 07:39:50 -060034openpower_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS)
35openpower_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
Deepak Kodihalli901c5d92016-11-30 05:19:45 -060036
37SUBDIRS = test