aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Con.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-18 18:11:51 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-11-18 18:20:25 -0200
commitdb4d4f8c875962e660aa0c5d7a6f6f957cc07899 (patch)
tree4562eed6b03f153f44500b9f8324f9b3920115f6 /src/Makefile_Ecore_Con.am
parentLuncher: Add the engage style that can be selected for luncher. (diff)
downloadefl-db4d4f8c875962e660aa0c5d7a6f6f957cc07899.tar.gz
efl_net_{control,session}: allow "none" backend.
Since connman is specific to linux, on other platforms just compile a dummy "none" backend that will always report online and no other details. This will be used in Windows, MacOS and other platforms that still lack a proper backend. The compile-time infrastructure also allows for networkmanager to be added with ease, simply copy "efl_net*-none.c" or "efl_net*-connman.c" to be a starting point and then add its specifics, adapting configure.ac and Makefile_Ecore_Con.am
Diffstat (limited to 'src/Makefile_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index 6fcbcba492..d66186138c 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -108,13 +108,25 @@ lib/ecore_con/efl_net_server_udp_client.c \
lib/ecore_con/efl_net_socket_ssl.c \
lib/ecore_con/efl_net_ssl_context.c \
lib/ecore_con/efl_net_dialer_ssl.c \
-lib/ecore_con/efl_net_server_ssl.c \
+lib/ecore_con/efl_net_server_ssl.c
+
+if EFL_NET_CONTROL_BACKEND_CONNMAN
+lib_ecore_con_libecore_con_la_SOURCES += \
lib/ecore_con/efl_net-connman.h \
lib/ecore_con/efl_net-connman.c \
lib/ecore_con/efl_net_control_access_point-connman.c \
lib/ecore_con/efl_net_control_technology-connman.c \
lib/ecore_con/efl_net_control-connman.c \
lib/ecore_con/efl_net_session-connman.c
+endif
+
+if EFL_NET_CONTROL_BACKEND_NONE
+lib_ecore_con_libecore_con_la_SOURCES += \
+lib/ecore_con/efl_net_control_access_point-none.c \
+lib/ecore_con/efl_net_control_technology-none.c \
+lib/ecore_con/efl_net_control-none.c \
+lib/ecore_con/efl_net_session-none.c
+endif
EXTRA_DIST2 += lib/ecore_con/ecore_con_legacy.c