Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 1 | AM_DEFAULT_SOURCE_EXT = .cpp |
| 2 | |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 3 | sbin_PROGRAMS = phosphor-timemanager |
Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 4 | |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 5 | noinst_LTLIBRARIES = libtimemanager.la |
Vishwanatha | 81ee91f | 2016-08-30 17:17:13 +0530 | [diff] [blame] | 6 | |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 7 | libtimemanager_la_SOURCES = \ |
Lei YU | 9623282 | 2017-01-20 14:05:46 +0800 | [diff] [blame] | 8 | epoch_base.cpp \ |
Lei YU | af5abc5 | 2017-03-07 17:49:17 +0800 | [diff] [blame] | 9 | bmc_epoch.cpp \ |
Lei YU | 415b964 | 2017-02-09 11:37:26 +0800 | [diff] [blame] | 10 | host_epoch.cpp \ |
Lei YU | ddd5442 | 2017-04-18 16:38:44 +0800 | [diff] [blame] | 11 | manager.cpp \ |
Lei YU | 23d06af | 2017-07-11 17:22:17 +0800 | [diff] [blame] | 12 | utils.cpp \ |
Lei YU | 710d49b | 2017-08-01 17:10:17 +0800 | [diff] [blame] | 13 | settings.cpp \ |
Lei YU | 23d06af | 2017-07-11 17:22:17 +0800 | [diff] [blame] | 14 | ${generated_source} |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 15 | |
| 16 | phosphor_timemanager_SOURCES = \ |
| 17 | main.cpp |
| 18 | |
| 19 | phosphor_timemanager_LDADD = libtimemanager.la |
| 20 | |
| 21 | generic_cxx_flags = $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
Lei YU | 19b37ee | 2018-09-18 14:46:36 +0800 | [diff] [blame] | 22 | $(SDBUSPLUS_CFLAGS) -flto |
Lei YU | 2f9c0cc | 2017-01-20 14:02:03 +0800 | [diff] [blame] | 23 | |
| 24 | generic_ld_flags = $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 25 | $(SDBUSPLUS_LIBS) |
| 26 | |
| 27 | libtimemanager_la_CXXFLAGS = $(generic_cxx_flags) |
| 28 | libtimemanager_la_LIBADD = $(generic_ld_flags) |
| 29 | |
| 30 | phosphor_timemanager_CXXFLAGS = $(generic_cxx_flags) |
| 31 | |
| 32 | phosphor_timemanager_LDFLAGS = $(generic_ld_flags) |
| 33 | |
| 34 | SUBDIRS = . test |