blob: e57f4ada8486a16f5af4abb31dceabbc08e377c3 [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 \
11 -DBOOST_ALL_NO_LIB
12
Vernon Mauery997a7a02019-02-01 13:34:13 -080013lib_LTLIBRARIES = libuserlayer.la libchannellayer.la
William A. Kennington III785fb072018-12-10 15:27:20 -080014libuserlayer_la_SOURCES = \
15 user_layer.cpp \
16 user_mgmt.cpp \
17 passwd_mgr.cpp \
18 channel_mgmt.cpp \
19 channel_layer.cpp
20libuserlayer_la_LDFLAGS = \
21 $(SYSTEMD_LIBS) \
22 $(libmapper_LIBS) \
23 $(PHOSPHOR_LOGGING_LIBS) \
24 $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
25 -lstdc++fs \
26 $(CRYPTO_LIBS) \
27 -version-info 0:0:0 -shared
28libuserlayer_la_CXXFLAGS = \
Vernon Mauery9d7251c2018-12-13 10:25:30 -080029 -I$(top_srcdir) \
Vernon Mauery1e3455a2018-11-30 13:10:54 -080030 $(COMMON_CXX)
Vernon Mauery997a7a02019-02-01 13:34:13 -080031
32libchannellayer_la_SOURCES =
33libchannellayer_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
40libchannellayer_la_CXXFLAGS = \
41 -I$(top_srcdir) \
42 $(COMMON_CXX)