blob: 205c708795e48e23f47dda23dcdb2e8c2f685ce1 [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) \
Patrick Venture37539dc2018-12-06 07:33:54 -080022 $(SDBUSPLUS_CFLAGS) \
23 $(PHOSPHOR_LOGGING_CFLAGS) \
24 -flto
Lei YU2f9c0cc2017-01-20 14:02:03 +080025
26generic_ld_flags = $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Patrick Venture37539dc2018-12-06 07:33:54 -080027 $(SDBUSPLUS_LIBS) \
28 $(PHOSPHOR_LOGGING_LIBS)
Lei YU2f9c0cc2017-01-20 14:02:03 +080029
30libtimemanager_la_CXXFLAGS = $(generic_cxx_flags)
31libtimemanager_la_LIBADD = $(generic_ld_flags)
32
33phosphor_timemanager_CXXFLAGS = $(generic_cxx_flags)
34
35phosphor_timemanager_LDFLAGS = $(generic_ld_flags)
36
37SUBDIRS = . test