blob: 0aadf6cb7146c12fad36e01f9832786cac66015d [file] [log] [blame]
Vishwanatha81ee91f2016-08-30 17:17:13 +05301AM_DEFAULT_SOURCE_EXT = .cpp
2
Lei YU2f9c0cc2017-01-20 14:02:03 +08003sbin_PROGRAMS = phosphor-timemanager
Vishwanatha81ee91f2016-08-30 17:17:13 +05304
Lei YU2f9c0cc2017-01-20 14:02:03 +08005noinst_LTLIBRARIES = libtimemanager.la
Vishwanatha81ee91f2016-08-30 17:17:13 +05306
Lei YU2f9c0cc2017-01-20 14:02:03 +08007libtimemanager_la_SOURCES = \
Lei YU96232822017-01-20 14:05:46 +08008 epoch_base.cpp \
Lei YUaf5abc52017-03-07 17:49:17 +08009 bmc_epoch.cpp \
Lei YU415b9642017-02-09 11:37:26 +080010 host_epoch.cpp \
Lei YUddd54422017-04-18 16:38:44 +080011 manager.cpp \
Lei YU23d06af2017-07-11 17:22:17 +080012 utils.cpp \
Lei YU710d49b2017-08-01 17:10:17 +080013 settings.cpp \
Lei YU23d06af2017-07-11 17:22:17 +080014 ${generated_source}
Lei YU2f9c0cc2017-01-20 14:02:03 +080015
16phosphor_timemanager_SOURCES = \
17 main.cpp
18
19phosphor_timemanager_LDADD = libtimemanager.la
20
21generic_cxx_flags = $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Lei YU19b37ee2018-09-18 14:46:36 +080022 $(SDBUSPLUS_CFLAGS) -flto
Lei YU2f9c0cc2017-01-20 14:02:03 +080023
24generic_ld_flags = $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
25 $(SDBUSPLUS_LIBS)
26
27libtimemanager_la_CXXFLAGS = $(generic_cxx_flags)
28libtimemanager_la_LIBADD = $(generic_ld_flags)
29
30phosphor_timemanager_CXXFLAGS = $(generic_cxx_flags)
31
32phosphor_timemanager_LDFLAGS = $(generic_ld_flags)
33
34SUBDIRS = . test