2012-12-02 14:35:45 -08:00
|
|
|
|
|
|
|
### Library
|
|
|
|
|
2014-10-02 08:52:45 -07:00
|
|
|
ecore_con_eolian_files = \
|
|
|
|
lib/ecore_con/ecore_con_base.eo \
|
|
|
|
lib/ecore_con/ecore_con_client.eo \
|
|
|
|
lib/ecore_con/ecore_con_server.eo \
|
|
|
|
lib/ecore_con/ecore_con_connector.eo \
|
2015-06-22 09:55:54 -07:00
|
|
|
lib/ecore_con/ecore_con_eet_base.eo \
|
|
|
|
lib/ecore_con/ecore_con_eet_server_obj.eo \
|
|
|
|
lib/ecore_con/ecore_con_eet_client_obj.eo \
|
2015-05-18 02:36:13 -07:00
|
|
|
lib/ecore_con/efl_network_url.eo
|
2014-10-02 08:52:45 -07:00
|
|
|
|
|
|
|
ecore_con_eolian_c = $(ecore_con_eolian_files:%.eo=%.eo.c)
|
|
|
|
ecore_con_eolian_h = $(ecore_con_eolian_files:%.eo=%.eo.h) \
|
|
|
|
$(ecore_con_eolian_files:%.eo=%.eo.legacy.h)
|
2014-08-22 05:14:59 -07:00
|
|
|
|
2014-08-22 03:11:41 -07:00
|
|
|
BUILT_SOURCES += \
|
2014-10-02 08:52:45 -07:00
|
|
|
$(ecore_con_eolian_c) \
|
|
|
|
$(ecore_con_eolian_h)
|
|
|
|
|
|
|
|
CLEANFILES += \
|
|
|
|
$(ecore_con_eolian_c) \
|
|
|
|
$(ecore_con_eolian_h)
|
2014-08-22 03:11:41 -07:00
|
|
|
|
|
|
|
ecoreconeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
|
|
|
|
ecoreconeolianfiles_DATA = \
|
2014-10-02 08:52:45 -07:00
|
|
|
$(ecore_con_eolian_files)
|
2014-08-22 03:11:41 -07:00
|
|
|
|
|
|
|
EXTRA_DIST += \
|
|
|
|
${ecoreconeolianfiles_DATA}
|
|
|
|
|
2012-12-02 14:35:45 -08:00
|
|
|
lib_LTLIBRARIES += lib/ecore_con/libecore_con.la
|
|
|
|
|
2013-01-16 11:28:30 -08:00
|
|
|
installed_ecoreconmainheadersdir = $(includedir)/ecore-con-@VMAJ@
|
2012-12-02 14:35:45 -08:00
|
|
|
dist_installed_ecoreconmainheaders_DATA = \
|
|
|
|
lib/ecore_con/Ecore_Con.h \
|
2014-08-22 03:11:41 -07:00
|
|
|
lib/ecore_con/Ecore_Con_Legacy.h \
|
|
|
|
lib/ecore_con/Ecore_Con_Eo.h \
|
2015-06-22 23:17:45 -07:00
|
|
|
lib/ecore_con/Ecore_Con_Eet.h \
|
|
|
|
lib/ecore_con/Ecore_Con_Eet_Legacy.h \
|
|
|
|
lib/ecore_con/Ecore_Con_Eet_Eo.h
|
2012-12-02 14:35:45 -08:00
|
|
|
|
2014-08-22 03:11:41 -07:00
|
|
|
nodist_installed_ecoreconmainheaders_DATA = \
|
2014-10-02 08:52:45 -07:00
|
|
|
$(ecore_con_eolian_h)
|
2014-08-22 03:11:41 -07:00
|
|
|
|
2012-12-02 14:35:45 -08:00
|
|
|
lib_ecore_con_libecore_con_la_SOURCES = \
|
|
|
|
lib/ecore_con/ecore_con_alloc.c \
|
|
|
|
lib/ecore_con/ecore_con.c \
|
|
|
|
lib/ecore_con/ecore_con_eet.c \
|
|
|
|
lib/ecore_con/ecore_con_socks.c \
|
|
|
|
lib/ecore_con/ecore_con_ssl.c \
|
|
|
|
lib/ecore_con/ecore_con_url.c \
|
2015-09-02 20:22:01 -07:00
|
|
|
lib/ecore_con/ecore_con_url_curl.c \
|
|
|
|
lib/ecore_con/ecore_con_url_curl.h \
|
2012-12-02 14:35:45 -08:00
|
|
|
lib/ecore_con/ecore_con_private.h
|
|
|
|
|
2015-05-22 17:20:46 -07:00
|
|
|
EXTRA_DIST += lib/ecore_con/ecore_con_legacy.c
|
|
|
|
|
2012-12-02 14:35:45 -08:00
|
|
|
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
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_CARES
|
|
|
|
lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_ares.c
|
|
|
|
else
|
|
|
|
if HAVE_IPV6
|
|
|
|
lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_dns.c lib/ecore_con/dns.c lib/ecore_con/dns.h
|
|
|
|
else
|
|
|
|
lib_ecore_con_libecore_con_la_SOURCES += lib/ecore_con/ecore_con_info.c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2013-04-24 07:43:33 -07:00
|
|
|
lib_ecore_con_libecore_con_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @ECORE_CON_CFLAGS@
|
2014-05-15 19:26:53 -07:00
|
|
|
lib_ecore_con_libecore_con_la_LIBADD = @ECORE_CON_LIBS@ @EVIL_LIBS@
|
2013-01-14 14:36:23 -08:00
|
|
|
lib_ecore_con_libecore_con_la_DEPENDENCIES = @ECORE_CON_INTERNAL_LIBS@
|
2012-12-30 14:15:29 -08:00
|
|
|
lib_ecore_con_libecore_con_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
2014-10-06 03:32:25 -07:00
|
|
|
|
2015-04-07 04:17:25 -07:00
|
|
|
EXTRA_DIST += \
|
|
|
|
tests/ecore_con/server.key \
|
|
|
|
tests/ecore_con/server.pem
|
|
|
|
|
2015-04-06 06:59:10 -07:00
|
|
|
### Unit tests
|
|
|
|
|
|
|
|
if EFL_ENABLE_TESTS
|
|
|
|
|
|
|
|
check_PROGRAMS += tests/ecore_con/ecore_con_suite
|
|
|
|
TESTS += tests/ecore_con/ecore_con_suite
|
|
|
|
|
|
|
|
tests_ecore_con_ecore_con_suite_SOURCES = \
|
|
|
|
tests/ecore_con/ecore_con_suite.c \
|
|
|
|
tests/ecore_con/ecore_con_test_ecore_con.c \
|
|
|
|
tests/ecore_con/ecore_con_test_ecore_con_url.c \
|
2015-04-15 05:50:03 -07:00
|
|
|
tests/ecore_con/ecore_con_test_ecore_con_eet.c \
|
2015-04-06 06:59:10 -07:00
|
|
|
tests/ecore_con/ecore_con_suite.h
|
|
|
|
|
|
|
|
tests_ecore_con_ecore_con_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
|
|
|
|
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore_con\" \
|
|
|
|
-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore_con\" \
|
|
|
|
@CHECK_CFLAGS@ \
|
|
|
|
@ECORE_CFLAGS@ \
|
|
|
|
@ECORE_CON_CFLAGS@
|
|
|
|
|
|
|
|
tests_ecore_con_ecore_con_suite_LDADD = \
|
|
|
|
@CHECK_LIBS@ \
|
|
|
|
@USE_ECORE_LIBS@ \
|
|
|
|
@USE_ECORE_CON_LIBS@
|
|
|
|
|
|
|
|
tests_ecore_con_ecore_con_suite_DEPENDENCIES = \
|
|
|
|
@USE_ECORE_INTERNAL_LIBS@ \
|
|
|
|
@USE_ECORE_CON_INTERNAL_LIBS@
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-10-06 03:32:25 -07:00
|
|
|
if HAVE_ELUA
|
|
|
|
|
|
|
|
ecore_con_eolian_lua = $(ecore_con_eolian_files:%.eo=%.eo.lua)
|
|
|
|
|
|
|
|
generated_ecore_con_lua_all = $(ecore_con_eolian_lua)
|
|
|
|
|
|
|
|
CLEANFILES += $(generated_ecore_con_lua_all)
|
|
|
|
|
|
|
|
installed_ecoreconluadir = $(datadir)/elua/modules/ecore_con
|
|
|
|
nodist_installed_ecoreconlua_DATA = $(generated_ecore_con_lua_all)
|
|
|
|
|
|
|
|
endif
|