blob: 052a978444cd647d50659a6732811ee27db5d189 [file] [log] [blame]
Vishwanatha81ee91f2016-08-30 17:17:13 +05301AM_DEFAULT_SOURCE_EXT = .cpp
2
Patrick Venture66bc0a52019-03-28 11:32:46 -07003bin_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 YUddd54422017-04-18 16:38:44 +080010 manager.cpp \
Lei YU23d06af2017-07-11 17:22:17 +080011 utils.cpp \
Lei YU710d49b2017-08-01 17:10:17 +080012 settings.cpp \
Lei YU23d06af2017-07-11 17:22:17 +080013 ${generated_source}
Lei YU2f9c0cc2017-01-20 14:02:03 +080014
15phosphor_timemanager_SOURCES = \
16 main.cpp
17
18phosphor_timemanager_LDADD = libtimemanager.la
19
20generic_cxx_flags = $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
Patrick Venture37539dc2018-12-06 07:33:54 -080021 $(SDBUSPLUS_CFLAGS) \
22 $(PHOSPHOR_LOGGING_CFLAGS) \
23 -flto
Lei YU2f9c0cc2017-01-20 14:02:03 +080024
25generic_ld_flags = $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
Patrick Venture37539dc2018-12-06 07:33:54 -080026 $(SDBUSPLUS_LIBS) \
27 $(PHOSPHOR_LOGGING_LIBS)
Lei YU2f9c0cc2017-01-20 14:02:03 +080028
29libtimemanager_la_CXXFLAGS = $(generic_cxx_flags)
30libtimemanager_la_LIBADD = $(generic_ld_flags)
31
32phosphor_timemanager_CXXFLAGS = $(generic_cxx_flags)
33
34phosphor_timemanager_LDFLAGS = $(generic_ld_flags)
35
36SUBDIRS = . test