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 | |
Alpana Kumari | 26a74af | 2019-09-10 23:53:58 -0500 | [diff] [blame] | 13 | if IBM_PARSER |
| 14 | bin_PROGRAMS = ibm-read-vpd |
| 15 | ibm_read_vpd_SOURCES = \ |
| 16 | ipz_app.cpp \ |
| 17 | parser.cpp \ |
| 18 | impl.cpp \ |
| 19 | utils.cpp |
| 20 | |
| 21 | ibm_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| 22 | ibm_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
| 23 | |
| 24 | else |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 25 | # Be sure to build these before compiling |
| 26 | BUILT_SOURCES = \ |
| 27 | writefru.hpp \ |
| 28 | extra-properties-gen.hpp |
| 29 | CLEANFILES = \ |
| 30 | writefru.hpp \ |
| 31 | extra-properties-gen.hpp |
| 32 | |
| 33 | FRU_GEN_SCRIPT ?= \ |
| 34 | ${abs_srcdir}/writefru.py |
| 35 | FRU_GEN_SCRIPT_FILES ?= \ |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 36 | ${abs_srcdir}/writefru.yaml \ |
| 37 | ${abs_srcdir}/writefru.mako.hpp |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 38 | |
| 39 | PROP_GEN_SCRIPT ?= \ |
| 40 | ${abs_srcdir}/extra-properties.py |
| 41 | PROP_GEN_SCRIPT_FILES ?= \ |
| 42 | ${abs_srcdir}/extra-properties-example.yaml \ |
| 43 | ${abs_srcdir}/extra-properties.mako.hpp |
| 44 | |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 45 | EXTRA_DIST = \ |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 46 | $(FRU_GEN_SCRIPT) \ |
| 47 | $(FRU_GEN_SCRIPT_FILES) \ |
| 48 | $(PROP_GEN_SCRIPT) \ |
| 49 | $(PROP_GEN_SCRIPT_FILES) |
| 50 | |
| 51 | writefru.hpp: ${FRU_GEN_SCRIPT} ${FRU_GEN_SCRIPT_FILES} |
Deepak Kodihalli | cd6d241 | 2017-02-06 07:35:32 -0600 | [diff] [blame] | 52 | $(AM_V_GEN)@FRUGEN@ |
Deepak Kodihalli | c7b2a71 | 2017-02-17 00:58:39 -0600 | [diff] [blame] | 53 | extra-properties-gen.hpp: ${PROP_GEN_SCRIPT} ${PROP_GEN_SCRIPT_FILES} |
| 54 | $(AM_V_GEN)@PROPGEN@ |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 55 | |
Patrick Venture | eb67ba1 | 2019-03-28 12:37:28 -0700 | [diff] [blame] | 56 | bin_PROGRAMS = openpower-read-vpd |
Deepak Kodihalli | 2bba75d | 2016-11-30 00:46:49 -0600 | [diff] [blame] | 57 | openpower_read_vpd_SOURCES = \ |
| 58 | app.cpp \ |
| 59 | args.cpp \ |
| 60 | impl.cpp \ |
| 61 | parser.cpp \ |
Deepak Kodihalli | 7679449 | 2017-02-16 23:48:18 -0600 | [diff] [blame] | 62 | write.cpp \ |
| 63 | utils.cpp |
Deepak Kodihalli | c6e551b | 2017-02-17 07:39:50 -0600 | [diff] [blame] | 64 | openpower_read_vpd_LDFLAGS = $(SDBUSPLUS_LIBS) $(PHOSPHOR_LOGGING_LIBS) |
| 65 | openpower_read_vpd_CXXFLAGS = $(SDBUSPLUS_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS) |
Alpana Kumari | 26a74af | 2019-09-10 23:53:58 -0500 | [diff] [blame] | 66 | endif |
Deepak Kodihalli | 901c5d9 | 2016-11-30 05:19:45 -0600 | [diff] [blame] | 67 | |
| 68 | SUBDIRS = test |