Vernon Mauery | 1e3455a | 2018-11-30 13:10:54 -0800 | [diff] [blame] | 1 | COMMON_CXX = \ |
| 2 | -flto \ |
| 3 | -Wno-psabi \ |
| 4 | $(SYSTEMD_CFLAGS) \ |
| 5 | $(libmapper_CFLAGS) \ |
| 6 | $(SDBUSPLUS_CFLAGS) \ |
| 7 | $(PHOSPHOR_LOGGING_CFLAGS) \ |
| 8 | $(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \ |
| 9 | -DBOOST_ERROR_CODE_HEADER_ONLY \ |
| 10 | -DBOOST_SYSTEM_NO_DEPRECATED \ |
| 11 | -DBOOST_ALL_NO_LIB |
| 12 | |
Vernon Mauery | 997a7a0 | 2019-02-01 13:34:13 -0800 | [diff] [blame] | 13 | lib_LTLIBRARIES = libuserlayer.la libchannellayer.la |
William A. Kennington III | 785fb07 | 2018-12-10 15:27:20 -0800 | [diff] [blame] | 14 | libuserlayer_la_SOURCES = \ |
| 15 | user_layer.cpp \ |
| 16 | user_mgmt.cpp \ |
Vernon Mauery | 1bb0c7f | 2018-12-21 10:59:19 -0800 | [diff] [blame^] | 17 | passwd_mgr.cpp |
William A. Kennington III | 785fb07 | 2018-12-10 15:27:20 -0800 | [diff] [blame] | 18 | libuserlayer_la_LDFLAGS = \ |
| 19 | $(SYSTEMD_LIBS) \ |
| 20 | $(libmapper_LIBS) \ |
| 21 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 22 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 23 | -lstdc++fs \ |
| 24 | $(CRYPTO_LIBS) \ |
| 25 | -version-info 0:0:0 -shared |
| 26 | libuserlayer_la_CXXFLAGS = \ |
Vernon Mauery | 9d7251c | 2018-12-13 10:25:30 -0800 | [diff] [blame] | 27 | -I$(top_srcdir) \ |
Vernon Mauery | 1e3455a | 2018-11-30 13:10:54 -0800 | [diff] [blame] | 28 | $(COMMON_CXX) |
Vernon Mauery | 997a7a0 | 2019-02-01 13:34:13 -0800 | [diff] [blame] | 29 | |
Vernon Mauery | 1bb0c7f | 2018-12-21 10:59:19 -0800 | [diff] [blame^] | 30 | libchannellayer_la_SOURCES = \ |
| 31 | channel_mgmt.cpp \ |
| 32 | channel_layer.cpp |
Vernon Mauery | 997a7a0 | 2019-02-01 13:34:13 -0800 | [diff] [blame] | 33 | libchannellayer_la_LDFLAGS = \ |
| 34 | $(SYSTEMD_LIBS) \ |
| 35 | $(libmapper_LIBS) \ |
| 36 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 37 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 38 | -lstdc++fs \ |
| 39 | -version-info 0:0:0 -shared |
| 40 | libchannellayer_la_CXXFLAGS = \ |
| 41 | -I$(top_srcdir) \ |
| 42 | $(COMMON_CXX) |