Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 1 | # Build these headers, don't install them |
| 2 | noinst_HEADERS = \ |
| 3 | defines.hpp \ |
| 4 | store.hpp \ |
| 5 | parser.hpp \ |
| 6 | types.hpp \ |
| 7 | write.hpp \ |
| 8 | impl.hpp \ |
Deepak Kodihalli | 7679449 | 2017-02-16 23:48:18 -0600 | [diff] [blame] | 9 | args.hpp \ |
| 10 | types.hpp \ |
| 11 | utils.hpp |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 12 | |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 13 | # Be sure to build these before compiling |
| 14 | BUILT_SOURCES = \ |
| 15 | writefru.hpp \ |
| 16 | extra-properties-gen.hpp |
| 17 | CLEANFILES = \ |
| 18 | writefru.hpp \ |
| 19 | extra-properties-gen.hpp |
| 20 | |
| 21 | FRU_GEN_SCRIPT ?= \ |
| 22 | ${abs_srcdir}/writefru.py |
| 23 | FRU_GEN_SCRIPT_FILES ?= \ |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 24 | ${abs_srcdir}/writefru.yaml \ |
| 25 | ${abs_srcdir}/writefru.mako.hpp |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 26 | |
| 27 | PROP_GEN_SCRIPT ?= \ |
| 28 | ${abs_srcdir}/extra-properties.py |
| 29 | PROP_GEN_SCRIPT_FILES ?= \ |
| 30 | ${abs_srcdir}/extra-properties-example.yaml \ |
| 31 | ${abs_srcdir}/extra-properties.mako.hpp |
| 32 | |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 33 | EXTRA_DIST = \ |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 34 | $(FRU_GEN_SCRIPT) \ |
| 35 | $(FRU_GEN_SCRIPT_FILES) \ |
| 36 | $(PROP_GEN_SCRIPT) \ |
| 37 | $(PROP_GEN_SCRIPT_FILES) |
| 38 | |
| 39 | writefru.hpp: ${FRU_GEN_SCRIPT} ${FRU_GEN_SCRIPT_FILES} |
Deepak Kodihalli | cd6d241 | 2017-02-06 07:35:32 -0600 | [diff] [blame] | 40 | $(AM_V_GEN)@FRUGEN@ |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 41 | extra-properties-gen.hpp: ${PROP_GEN_SCRIPT} ${PROP_GEN_SCRIPT_FILES} |
| 42 | $(AM_V_GEN)@PROPGEN@ |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 43 | |
Patrick Venture | eb67ba1 | 2019-03-28 12:37:28 -0700 | [diff] [blame] | 44 | bin_PROGRAMS = openpower-read-vpd |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 45 | openpower_read_vpd_SOURCES = \ |
| 46 | app.cpp \ |
| 47 | args.cpp \ |
| 48 | impl.cpp \ |
| 49 | parser.cpp \ |
Deepak Kodihalli | 7679449 | 2017-02-16 23:48:18 -0600 | [diff] [blame] | 50 | write.cpp \ |
| 51 | utils.cpp |
Deepak Kodihalli | c6e551b | 2017-02-17 07:39:50 -0600 | [diff] [blame] | 52 | openpower_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| 53 | openpower_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
Deepak Kodihalli | 901c5d9 | 2016-11-30 05:19:45 -0600 | [diff] [blame] | 54 | |
| 55 | SUBDIRS = test |