aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Con.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-26 18:57:37 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-10-26 19:01:03 -0200
commit651ff136163bf6fb4986f9dfaff09ca3f212178e (patch)
tree2e2781c5a21babafad44a820cc9bf142dc3afe60 /src/Makefile_Ecore_Con.am
parentefl_net_dialer_tcp: remove useless code. (diff)
downloadefl-651ff136163bf6fb4986f9dfaff09ca3f212178e.tar.gz
addded efl_net_{socket,dialer,server}_unix
This introduces AF_UNIX server and dialer, these are not available on Windows as in that platform we'll create a custom class for native 'local' communication. In the future we can add a wrapper class Efl.Net.Local that will use the class for each platform, but won't expose its details. For instance, if we ever expose 'credentials' (which I didn't because they are not portable), then it doesn't make sense to try to match that on Windows. The 'Efl.Net.Local' would just stick to the basics: Reader, Writer and Closer APIs.
Diffstat (limited to 'src/Makefile_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index 58a73ae722..49cf65bd07 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -25,6 +25,14 @@ ecore_con_eolian_files = \
lib/ecore_con/ecore_con_eet_client_obj.eo \
lib/ecore_con/efl_network_url.eo
+if HAVE_WINDOWS
+else
+ecore_con_eolian_files += \
+ lib/ecore_con/efl_net_socket_unix.eo \
+ lib/ecore_con/efl_net_dialer_unix.eo \
+ lib/ecore_con/efl_net_server_unix.eo
+endif
+
ecore_con_eolian_type_files = \
lib/ecore_con/efl_net_http_types.eot
@@ -94,7 +102,10 @@ EXTRA_DIST2 += lib/ecore_con/ecore_con_legacy.c
if HAVE_WINDOWS
lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_local_win32.c
else
-lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_local.c
+lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_local.c \
+lib/ecore_con/efl_net_socket_unix.c \
+lib/ecore_con/efl_net_dialer_unix.c \
+lib/ecore_con/efl_net_server_unix.c
endif
lib_ecore_con_libecore_con_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_CON_CFLAGS@