blob: 3860a398e84c12734a5ce4ceb104042bcfb24ae0 [file] [log] [blame]
Vernon Mauery1e3455a2018-11-30 13:10:54 -08001COMMON_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 Mauerye7329c72018-10-08 12:05:16 -070011 -DBOOST_COROUTINES_NO_DEPRECATION_WARNING \
12 -DBOOST_ASIO_DISABLE_THREADS \
Vernon Mauery1e3455a2018-11-30 13:10:54 -080013 -DBOOST_ALL_NO_LIB
14
Vernon Mauery997a7a02019-02-01 13:34:13 -080015lib_LTLIBRARIES = libuserlayer.la libchannellayer.la
William A. Kennington III785fb072018-12-10 15:27:20 -080016libuserlayer_la_SOURCES = \
17 user_layer.cpp \
18 user_mgmt.cpp \
Vernon Mauery1bb0c7f2018-12-21 10:59:19 -080019 passwd_mgr.cpp
William A. Kennington III785fb072018-12-10 15:27:20 -080020libuserlayer_la_LDFLAGS = \
21 $(SYSTEMD_LIBS) \
22 $(libmapper_LIBS) \
23 $(PHOSPHOR_LOGGING_LIBS) \
24 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
25 -lstdc++fs \
26 $(CRYPTO_LIBS) \
Suryakanth Sekar90b00c72019-01-16 10:37:57 +053027 -lpam_misc \
William A. Kennington III785fb072018-12-10 15:27:20 -080028 -version-info 0:0:0 -shared
29libuserlayer_la_CXXFLAGS = \
Vernon Mauery9d7251c2018-12-13 10:25:30 -080030 -I$(top_srcdir) \
Vernon Mauery1e3455a2018-11-30 13:10:54 -080031 $(COMMON_CXX)
Vernon Mauery997a7a02019-02-01 13:34:13 -080032
Vernon Mauery1bb0c7f2018-12-21 10:59:19 -080033libchannellayer_la_SOURCES = \
34 channel_mgmt.cpp \
35 channel_layer.cpp
Vernon Mauery997a7a02019-02-01 13:34:13 -080036libchannellayer_la_LDFLAGS = \
37 $(SYSTEMD_LIBS) \
38 $(libmapper_LIBS) \
39 $(PHOSPHOR_LOGGING_LIBS) \
40 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
41 -lstdc++fs \
42 -version-info 0:0:0 -shared
43libchannellayer_la_CXXFLAGS = \
44 -I$(top_srcdir) \
45 $(COMMON_CXX)