summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Con.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am278
1 files changed, 0 insertions, 278 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
deleted file mode 100644
index 594046b..0000000
--- a/src/Makefile_Ecore_Con.am
+++ /dev/null
@@ -1,278 +0,0 @@
1
2### Library
3
4ecore_con_eolian_files_common = \
5 lib/ecore_con/efl_net_socket.eo \
6 lib/ecore_con/efl_net_socket_simple.eo \
7 lib/ecore_con/efl_net_socket_fd.eo \
8 lib/ecore_con/efl_net_socket_tcp.eo \
9 lib/ecore_con/efl_net_socket_udp.eo \
10 lib/ecore_con/efl_net_dialer.eo \
11 lib/ecore_con/efl_net_dialer_simple.eo \
12 lib/ecore_con/efl_net_dialer_tcp.eo \
13 lib/ecore_con/efl_net_dialer_udp.eo \
14 lib/ecore_con/efl_net_dialer_http.eo \
15 lib/ecore_con/efl_net_dialer_websocket.eo \
16 lib/ecore_con/efl_net_server.eo \
17 lib/ecore_con/efl_net_server_simple.eo \
18 lib/ecore_con/efl_net_server_fd.eo \
19 lib/ecore_con/efl_net_server_ip.eo \
20 lib/ecore_con/efl_net_server_tcp.eo \
21 lib/ecore_con/efl_net_server_udp.eo \
22 lib/ecore_con/efl_net_server_udp_client.eo \
23 lib/ecore_con/efl_net_socket_ssl.eo \
24 lib/ecore_con/efl_net_ssl_context.eo \
25 lib/ecore_con/efl_net_dialer_ssl.eo \
26 lib/ecore_con/efl_net_server_ssl.eo \
27 lib/ecore_con/efl_net_control_access_point.eo \
28 lib/ecore_con/efl_net_control_technology.eo \
29 lib/ecore_con/efl_net_control_manager.eo \
30 lib/ecore_con/efl_net_session.eo \
31 lib/ecore_con/efl_net_ip_address.eo
32
33ecore_con_eolian_files_windows = \
34 lib/ecore_con/efl_net_socket_windows.eo \
35 lib/ecore_con/efl_net_dialer_windows.eo \
36 lib/ecore_con/efl_net_server_windows.eo
37
38ecore_con_eolian_files_unix = \
39 lib/ecore_con/efl_net_socket_unix.eo \
40 lib/ecore_con/efl_net_dialer_unix.eo \
41 lib/ecore_con/efl_net_server_unix.eo
42
43ecore_con_eolian_files = $(ecore_con_eolian_files_common)
44
45if HAVE_WINDOWS
46ecore_con_eolian_files += $(ecore_con_eolian_files_windows)
47else
48ecore_con_eolian_files += $(ecore_con_eolian_files_unix)
49endif
50
51ecore_con_eolian_type_files = \
52 lib/ecore_con/efl_net_types.eot \
53 lib/ecore_con/efl_net_http_types.eot \
54 lib/ecore_con/efl_net_ssl_types.eot
55
56
57ecore_con_eolian_c = $(ecore_con_eolian_files:%.eo=%.eo.c)
58ecore_con_eolian_h = $(ecore_con_eolian_files:%.eo=%.eo.h) \
59 $(ecore_con_eolian_type_files:%.eot=%.eot.h)
60
61BUILT_SOURCES += \
62 $(ecore_con_eolian_c) \
63 $(ecore_con_eolian_h)
64
65if INSTALL_EO_FILES
66ecoreconeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
67ecoreconeolianfiles_DATA = \
68 $(ecore_con_eolian_files) \
69 $(ecore_con_eolian_type_files)
70endif
71
72EXTRA_DIST2 += \
73$(ecore_con_eolian_files_common) \
74$(ecore_con_eolian_files_unix) \
75$(ecore_con_eolian_files_windows) \
76$(ecore_con_eolian_type_files)
77
78
79lib_LTLIBRARIES += lib/ecore_con/libecore_con.la
80
81installed_ecoreconmainheadersdir = $(includedir)/ecore-con-@VMAJ@
82dist_installed_ecoreconmainheaders_DATA = \
83lib/ecore_con/Ecore_Con.h \
84lib/ecore_con/Efl_Net.h \
85lib/ecore_con/Ecore_Con_Eet.h \
86lib/ecore_con/Ecore_Con_Eet_Legacy.h \
87lib/ecore_con/Ecore_Con_Eet_Eo.h \
88lib/ecore_con/ecore_con_eet_base_eo.h \
89lib/ecore_con/ecore_con_eet_base_eo.legacy.h \
90lib/ecore_con/ecore_con_eet_client_obj_eo.h \
91lib/ecore_con/ecore_con_eet_client_obj_eo.legacy.h \
92lib/ecore_con/ecore_con_eet_server_obj_eo.h \
93lib/ecore_con/ecore_con_eet_server_obj_eo.legacy.h
94
95
96nodist_installed_ecoreconmainheaders_DATA = \
97 $(ecore_con_eolian_h)
98
99lib_ecore_con_libecore_con_la_SOURCES = \
100lib/ecore_con/ecore_con_alloc.c \
101lib/ecore_con/ecore_con.c \
102lib/ecore_con/ecore_con_proxy_helper.c \
103lib/ecore_con/ecore_con_legacy.c \
104lib/ecore_con/ecore_con_eet.c \
105lib/ecore_con/ecore_con_socks.c \
106lib/ecore_con/ecore_con_url.c \
107lib/ecore_con/ecore_con_url_curl.c \
108lib/ecore_con/ecore_con_url_curl.h \
109static_libs/http-parser/http_parser.c \
110static_libs/http-parser/http_parser.h \
111lib/ecore_con/ecore_con_private.h \
112lib/ecore_con/efl_net_socket.c \
113lib/ecore_con/efl_net_socket_simple.c \
114lib/ecore_con/efl_net_socket_fd.c \
115lib/ecore_con/efl_net_socket_tcp.c \
116lib/ecore_con/efl_net_socket_udp.c \
117lib/ecore_con/efl_net_dialer.c \
118lib/ecore_con/efl_net_dialer_simple.c \
119lib/ecore_con/efl_net_dialer_tcp.c \
120lib/ecore_con/efl_net_dialer_udp.c \
121lib/ecore_con/efl_net_dialer_http.c \
122lib/ecore_con/efl_net_dialer_websocket.c \
123lib/ecore_con/efl_net_server.c \
124lib/ecore_con/efl_net_server_simple.c \
125lib/ecore_con/efl_net_server_fd.c \
126lib/ecore_con/efl_net_server_ip.c \
127lib/ecore_con/efl_net_server_tcp.c \
128lib/ecore_con/efl_net_server_udp.c \
129lib/ecore_con/efl_net_server_udp_client.c \
130lib/ecore_con/efl_net_socket_ssl.c \
131lib/ecore_con/efl_net_ssl_context.c \
132lib/ecore_con/efl_net_dialer_ssl.c \
133lib/ecore_con/efl_net_server_ssl.c \
134lib/ecore_con/ecore_con_local.c \
135lib/ecore_con/efl_net_ip_address.c \
136static_libs/buildsystem/buildsystem.h \
137static_libs/buildsystem/buildsystem_autotools.c
138
139if EFL_NET_CONTROL_BACKEND_CONNMAN
140lib_ecore_con_libecore_con_la_SOURCES += \
141lib/ecore_con/efl_net-connman.h \
142lib/ecore_con/efl_net-connman.c \
143lib/ecore_con/efl_net_control_access_point-connman.c \
144lib/ecore_con/efl_net_control_technology-connman.c \
145lib/ecore_con/efl_net_control-connman.c \
146lib/ecore_con/efl_net_session-connman.c
147endif
148
149if EFL_NET_CONTROL_BACKEND_NONE
150lib_ecore_con_libecore_con_la_SOURCES += \
151lib/ecore_con/efl_net_control_access_point-none.c \
152lib/ecore_con/efl_net_control_technology-none.c \
153lib/ecore_con/efl_net_control-none.c \
154lib/ecore_con/efl_net_session-none.c
155endif
156
157# these are included rather than compiled out
158# so the structures can be embedded into the
159# object Private Data and allows functions to
160# be all static
161EXTRA_DIST2 += \
162lib/ecore_con/ecore_con_eet_base_eo.c \
163lib/ecore_con/ecore_con_eet_base_eo.legacy.c \
164lib/ecore_con/ecore_con_eet_client_obj_eo.c \
165lib/ecore_con/ecore_con_eet_server_obj_eo.c \
166lib/ecore_con/efl_net_ssl_conn-openssl.c \
167lib/ecore_con/efl_net_ssl_conn-gnutls.c \
168lib/ecore_con/efl_net_ssl_conn-none.c \
169lib/ecore_con/efl_net_ssl_ctx-openssl.c \
170lib/ecore_con/efl_net_ssl_ctx-gnutls.c \
171lib/ecore_con/efl_net_ssl_ctx-none.c
172
173if HAVE_WINDOWS
174lib_ecore_con_libecore_con_la_SOURCES += \
175lib/ecore_con/efl_net_socket_windows.c \
176lib/ecore_con/efl_net_dialer_windows.c \
177lib/ecore_con/efl_net_server_windows.c
178else
179lib_ecore_con_libecore_con_la_SOURCES += \
180lib/ecore_con/efl_net_socket_unix.c \
181lib/ecore_con/efl_net_dialer_unix.c \
182lib/ecore_con/efl_net_server_unix.c
183endif
184
185lib_ecore_con_libecore_con_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
186-DPACKAGE_BIN_DIR=\"$(bindir)\" \
187-DPACKAGE_LIB_DIR=\"$(libdir)\" \
188-DPACKAGE_DATA_DIR=\"$(datadir)/ecore\" \
189-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
190-DPACKAGE_SRC_DIR=\"$(abs_top_srcdir)\" \
191-DEFL_BUILD \
192@ECORE_CON_CFLAGS@
193lib_ecore_con_libecore_con_la_LIBADD = @ECORE_CON_LIBS@ @EVIL_LIBS@
194lib_ecore_con_libecore_con_la_DEPENDENCIES = @ECORE_CON_INTERNAL_LIBS@
195lib_ecore_con_libecore_con_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
196
197lib_ecore_con_libecore_con_la_CPPFLAGS += -I$(top_srcdir)/src/static_libs/http-parser
198
199EXTRA_DIST2 += \
200tests/ecore_con/server.key \
201tests/ecore_con/server.pem \
202static_libs/http-parser/AUTHORS \
203static_libs/http-parser/CONTRIBUTIONS \
204static_libs/http-parser/README.md \
205static_libs/http-parser/test.c \
206static_libs/http-parser/contrib/parsertrace.c \
207static_libs/http-parser/contrib/url_parser.c
208
209### Binary
210proxyhelperdir = \
211$(libdir)/ecore_con/utils/$(MODULE_ARCH)
212proxyhelper_PROGRAMS = bin/ecore_con/efl_net_proxy_helper
213
214bin_ecore_con_efl_net_proxy_helper_SOURCES = \
215bin/ecore_con/efl_net_proxy_helper.c
216
217bin_ecore_con_efl_net_proxy_helper_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
218-DPACKAGE_BIN_DIR=\"$(bindir)\" \
219-DPACKAGE_LIB_DIR=\"$(libdir)\" \
220-DPACKAGE_DATA_DIR=\"$(datadir)/ecore\" \
221@EINA_CFLAGS@
222bin_ecore_con_efl_net_proxy_helper_LDADD = @USE_EINA_LIBS@
223bin_ecore_con_efl_net_proxy_helper_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
224
225### Unit tests
226
227if EFL_ENABLE_TESTS
228
229check_PROGRAMS += tests/ecore_con/ecore_con_suite
230TESTS += tests/ecore_con/ecore_con_suite
231
232tests_ecore_con_ecore_con_suite_SOURCES = \
233tests/ecore_con/ecore_con_suite.c \
234tests/ecore_con/ecore_con_test_ecore_con.c \
235tests/ecore_con/ecore_con_test_ecore_con_url.c \
236tests/ecore_con/ecore_con_test_ecore_con_eet.c \
237tests/ecore_con/ecore_con_test_efl_net_ip_address.c \
238tests/ecore_con/ecore_con_suite.h
239
240tests_ecore_con_ecore_con_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
241-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
242-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore_con\" \
243-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore_con\" \
244@CHECK_CFLAGS@ \
245@ECORE_CFLAGS@ \
246@ECORE_CON_CFLAGS@
247
248tests_ecore_con_ecore_con_suite_LDADD = \
249@CHECK_LIBS@ \
250@USE_ECORE_LIBS@ \
251@USE_ECORE_CON_LIBS@
252
253tests_ecore_con_ecore_con_suite_DEPENDENCIES = \
254@USE_ECORE_INTERNAL_LIBS@ \
255@USE_ECORE_CON_INTERNAL_LIBS@
256
257endif
258
259if HAVE_LUA_BINDINGS
260
261ecore_con_eolian_lua = $(ecore_con_eolian_files:%.eo=%.eo.lua)
262
263generated_ecore_con_lua_all = $(ecore_con_eolian_lua)
264
265GENERATED_LUA_BINDINGS += $(generated_ecore_con_lua_all)
266
267installed_ecoreconluadir = $(datadir)/elua/modules/ecore_con
268nodist_installed_ecoreconlua_DATA = $(generated_ecore_con_lua_all)
269
270endif
271
272if HAVE_JS
273
274generated_ecore_con_js_bindings = $(ecore_con_eolian_files:%.eo=%.eo.js.cc)
275
276GENERATED_JS_BINDINGS += $(generated_ecore_con_js_bindings)
277
278endif