blob: e57f4ada8486a16f5af4abb31dceabbc08e377c3 [file] [log] [blame]
COMMON_CXX = \
-flto \
-Wno-psabi \
$(SYSTEMD_CFLAGS) \
$(libmapper_CFLAGS) \
$(SDBUSPLUS_CFLAGS) \
$(PHOSPHOR_LOGGING_CFLAGS) \
$(PHOSPHOR_DBUS_INTERFACES_CFLAGS) \
-DBOOST_ERROR_CODE_HEADER_ONLY \
-DBOOST_SYSTEM_NO_DEPRECATED \
-DBOOST_ALL_NO_LIB
lib_LTLIBRARIES = libuserlayer.la libchannellayer.la
libuserlayer_la_SOURCES = \
user_layer.cpp \
user_mgmt.cpp \
passwd_mgr.cpp \
channel_mgmt.cpp \
channel_layer.cpp
libuserlayer_la_LDFLAGS = \
$(SYSTEMD_LIBS) \
$(libmapper_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
-lstdc++fs \
$(CRYPTO_LIBS) \
-version-info 0:0:0 -shared
libuserlayer_la_CXXFLAGS = \
-I$(top_srcdir) \
$(COMMON_CXX)
libchannellayer_la_SOURCES =
libchannellayer_la_LDFLAGS = \
$(SYSTEMD_LIBS) \
$(libmapper_LIBS) \
$(PHOSPHOR_LOGGING_LIBS) \
$(PHOSPHOR_DBUS_INTERFACES_LIBS) \
-lstdc++fs \
-version-info 0:0:0 -shared
libchannellayer_la_CXXFLAGS = \
-I$(top_srcdir) \
$(COMMON_CXX)