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 \ |
Vernon Mauery | e7329c7 | 2018-10-08 12:05:16 -0700 | [diff] [blame] | 11 | -DBOOST_COROUTINES_NO_DEPRECATION_WARNING \ |
| 12 | -DBOOST_ASIO_DISABLE_THREADS \ |
Vernon Mauery | 1e3455a | 2018-11-30 13:10:54 -0800 | [diff] [blame] | 13 | -DBOOST_ALL_NO_LIB |
| 14 | |
ofery | 61d8dcc | 2019-06-10 16:02:37 -0700 | [diff] [blame] | 15 | |
| 16 | lib_LTLIBRARIES = |
| 17 | |
| 18 | if FEATURE_LIBUSERLAYER |
| 19 | |
| 20 | lib_LTLIBRARIES += libuserlayer.la |
William A. Kennington III | 785fb07 | 2018-12-10 15:27:20 -0800 | [diff] [blame] | 21 | libuserlayer_la_SOURCES = \ |
| 22 | user_layer.cpp \ |
| 23 | user_mgmt.cpp \ |
Vernon Mauery | 1bb0c7f | 2018-12-21 10:59:19 -0800 | [diff] [blame] | 24 | passwd_mgr.cpp |
William A. Kennington III | 785fb07 | 2018-12-10 15:27:20 -0800 | [diff] [blame] | 25 | libuserlayer_la_LDFLAGS = \ |
| 26 | $(SYSTEMD_LIBS) \ |
| 27 | $(libmapper_LIBS) \ |
| 28 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 29 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 30 | -lstdc++fs \ |
| 31 | $(CRYPTO_LIBS) \ |
Suryakanth Sekar | 90b00c7 | 2019-01-16 10:37:57 +0530 | [diff] [blame] | 32 | -lpam_misc \ |
William A. Kennington III | 785fb07 | 2018-12-10 15:27:20 -0800 | [diff] [blame] | 33 | -version-info 0:0:0 -shared |
| 34 | libuserlayer_la_CXXFLAGS = \ |
Vernon Mauery | 9d7251c | 2018-12-13 10:25:30 -0800 | [diff] [blame] | 35 | -I$(top_srcdir) \ |
Vernon Mauery | 1e3455a | 2018-11-30 13:10:54 -0800 | [diff] [blame] | 36 | $(COMMON_CXX) |
ofery | 61d8dcc | 2019-06-10 16:02:37 -0700 | [diff] [blame] | 37 | endif |
Vernon Mauery | 997a7a0 | 2019-02-01 13:34:13 -0800 | [diff] [blame] | 38 | |
ofery | 61d8dcc | 2019-06-10 16:02:37 -0700 | [diff] [blame] | 39 | lib_LTLIBRARIES += libchannellayer.la |
Vernon Mauery | 1bb0c7f | 2018-12-21 10:59:19 -0800 | [diff] [blame] | 40 | libchannellayer_la_SOURCES = \ |
| 41 | channel_mgmt.cpp \ |
Sumanth Bhat | e4e633e | 2019-05-14 12:13:57 +0000 | [diff] [blame] | 42 | channel_layer.cpp \ |
| 43 | cipher_mgmt.cpp |
Vernon Mauery | 997a7a0 | 2019-02-01 13:34:13 -0800 | [diff] [blame] | 44 | libchannellayer_la_LDFLAGS = \ |
| 45 | $(SYSTEMD_LIBS) \ |
| 46 | $(libmapper_LIBS) \ |
| 47 | $(PHOSPHOR_LOGGING_LIBS) \ |
| 48 | $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ |
| 49 | -lstdc++fs \ |
| 50 | -version-info 0:0:0 -shared |
| 51 | libchannellayer_la_CXXFLAGS = \ |
| 52 | -I$(top_srcdir) \ |
| 53 | $(COMMON_CXX) |