blob: 55ea2d63c9a3c63a140f5ef80cf12ba3829913f3 [file] [log] [blame]
Deepak Kodihalli5de09572017-05-16 23:53:40 -05001AM_DEFAULT_SOURCE_EXT = .cpp
2
3BUILT_SOURCES = \
4 settings_manager.hpp
5CLEANFILES = \
6 settings_manager.hpp
7
8SETTINGS_GEN_SCRIPT ?= \
9 ${abs_srcdir}/settings.py
10SETTINGS_GEN_SCRIPT_FILES ?= \
11 ${abs_srcdir}/settings_example.yaml \
12 ${abs_srcdir}/settings_manager.mako.hpp
13
14settings_manager.hpp: ${SETTINGS_GEN_SCRIPT} ${SETTINGS_GEN_SCRIPT_FILES}
15 $(AM_V_GEN)@SETTINGSGEN@
16
17# Build these headers, don't install them
18noinst_HEADERS = \
19 settings_manager.hpp
20
21sbin_PROGRAMS = \
22 phosphor-settings-manager
23
24phosphor_settings_manager_SOURCES = \
25 settings_main.cpp
26
27phosphor_settings_manager_CXXFLAGS = \
28 $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
29 $(SDBUSPLUS_CFLAGS)
30
31phosphor_settings_manager_LDADD = \
32 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Deepak Kodihalli7a6f2522017-06-23 23:05:47 -050033 $(SDBUSPLUS_LIBS) \
34 -lstdc++fs