summaryrefslogtreecommitdiff
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
parentd5183d7ab78e3e36e90abe402804b58fab16d206 (diff)
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 \
108lib/ecore_con/efl_net_socket_ssl.c \ 108lib/ecore_con/efl_net_socket_ssl.c \
109lib/ecore_con/efl_net_ssl_context.c \ 109lib/ecore_con/efl_net_ssl_context.c \
110lib/ecore_con/efl_net_dialer_ssl.c \ 110lib/ecore_con/efl_net_dialer_ssl.c \
111lib/ecore_con/efl_net_server_ssl.c \ 111lib/ecore_con/efl_net_server_ssl.c
112
113if EFL_NET_CONTROL_BACKEND_CONNMAN
114lib_ecore_con_libecore_con_la_SOURCES += \
112lib/ecore_con/efl_net-connman.h \ 115lib/ecore_con/efl_net-connman.h \
113lib/ecore_con/efl_net-connman.c \ 116lib/ecore_con/efl_net-connman.c \
114lib/ecore_con/efl_net_control_access_point-connman.c \ 117lib/ecore_con/efl_net_control_access_point-connman.c \
115lib/ecore_con/efl_net_control_technology-connman.c \ 118lib/ecore_con/efl_net_control_technology-connman.c \
116lib/ecore_con/efl_net_control-connman.c \ 119lib/ecore_con/efl_net_control-connman.c \
117lib/ecore_con/efl_net_session-connman.c 120lib/ecore_con/efl_net_session-connman.c
121endif
122
123if EFL_NET_CONTROL_BACKEND_NONE
124lib_ecore_con_libecore_con_la_SOURCES += \
125lib/ecore_con/efl_net_control_access_point-none.c \
126lib/ecore_con/efl_net_control_technology-none.c \
127lib/ecore_con/efl_net_control-none.c \
128lib/ecore_con/efl_net_session-none.c
129endif
118 130
119EXTRA_DIST2 += lib/ecore_con/ecore_con_legacy.c 131EXTRA_DIST2 += lib/ecore_con/ecore_con_legacy.c
120 132