sync ecore examples build with current efl tree build
This commit is contained in:
parent
fdcd2d337b
commit
1c1854c657
|
@ -3,44 +3,71 @@ CC=gcc
|
|||
GSTREAMER_DEP="gstreamer-1.0"
|
||||
# GSTREAMER_DEP="gstreamer-0.10"
|
||||
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,ecore,evas,ecore-evas,ecore-con,ecore-file, \
|
||||
COMMON_FLAGS=`pkg-config --libs --cflags eina,eet,ecore-input,ecore-ipc,ecore,evas,ecore-evas,ecore-con,ecore-file, \
|
||||
eo,evas-software-buffer,ecore-imf,ecore-imf-evas,$(GSTREAMER_DEP)` -lm
|
||||
|
||||
EXAMPLES= ecore_animator_example \
|
||||
ecore_client_bench \
|
||||
ecore_con_client_example \
|
||||
ecore_con_client_simple_example \
|
||||
ecore_con_lookup_example \
|
||||
ecore_con_server_example \
|
||||
ecore_con_server_http_example \
|
||||
ecore_con_server_simple_example \
|
||||
ecore_con_url_cookies_example \
|
||||
ecore_con_url_download_example \
|
||||
ecore_con_url_headers_example \
|
||||
ecore_evas_basics_example \
|
||||
ecore_evas_buffer_example_01 \
|
||||
ecore_evas_buffer_example_02 \
|
||||
ecore_evas_callbacks \
|
||||
ecore_evas_ews_example \
|
||||
ecore_evas_object_example \
|
||||
ecore_evas_window_sizes_example \
|
||||
ecore_event_example_01 \
|
||||
ecore_event_example_02 \
|
||||
ecore_exe_example \
|
||||
ecore_exe_example_child \
|
||||
ecore_fd_handler_example \
|
||||
ecore_file_download_example \
|
||||
ecore_idler_example \
|
||||
ecore_imf_example \
|
||||
ecore_job_example \
|
||||
ecore_pipe_gstreamer_example \
|
||||
ecore_pipe_simple_example \
|
||||
ecore_poller_example \
|
||||
ecore_server_bench \
|
||||
ecore_thread_example \
|
||||
ecore_time_functions_example \
|
||||
ecore_timer_example \
|
||||
ecore_getopt_example
|
||||
EXAMPLES = \
|
||||
ecore_animator_example \
|
||||
ecore_client_bench \
|
||||
ecore_compose_get_example \
|
||||
ecore_con_client_example \
|
||||
ecore_con_client_simple_example \
|
||||
ecore_con_lookup_example \
|
||||
ecore_con_server_example \
|
||||
ecore_con_server_http_example \
|
||||
ecore_con_server_simple_example \
|
||||
ecore_con_url_cookies_example \
|
||||
ecore_con_url_download_example \
|
||||
ecore_con_url_headers_example \
|
||||
ecore_con_url_ftp_example \
|
||||
ecore_evas_basics_example \
|
||||
ecore_evas_buffer_example_01 \
|
||||
ecore_evas_buffer_example_02 \
|
||||
ecore_evas_callbacks \
|
||||
ecore_evas_cursor_example \
|
||||
ecore_evas_extn_socket_example \
|
||||
ecore_evas_extn_plug_example \
|
||||
ecore_evas_ews_example \
|
||||
ecore_evas_object_example \
|
||||
ecore_evas_wayland_multiseat_example \
|
||||
ecore_evas_window_sizes_example \
|
||||
ecore_evas_vnc_example \
|
||||
ecore_event_example_01 \
|
||||
ecore_event_example_02 \
|
||||
ecore_exe_example \
|
||||
ecore_exe_example_child \
|
||||
ecore_fd_handler_example \
|
||||
ecore_file_download_example \
|
||||
ecore_idler_example \
|
||||
ecore_imf_example \
|
||||
ecore_job_example \
|
||||
ecore_poller_example \
|
||||
ecore_promise2_example \
|
||||
ecore_server_bench \
|
||||
ecore_thread_example \
|
||||
ecore_time_functions_example \
|
||||
ecore_timer_example \
|
||||
ecore_getopt_example \
|
||||
ecore_con_eet_client_example \
|
||||
ecore_con_eet_server_example \
|
||||
efl_io_copier_example \
|
||||
efl_io_copier_simple_example \
|
||||
efl_io_queue_example \
|
||||
efl_io_buffered_stream_example \
|
||||
efl_net_server_example \
|
||||
efl_net_server_simple_example \
|
||||
efl_net_dialer_http_example \
|
||||
efl_net_dialer_websocket_example \
|
||||
efl_net_dialer_websocket_autobahntestee \
|
||||
efl_net_dialer_udp_example \
|
||||
efl_net_dialer_simple_example \
|
||||
efl_net_socket_ssl_dialer_example \
|
||||
efl_net_socket_ssl_server_example \
|
||||
efl_net_session_example \
|
||||
efl_net_control_example \
|
||||
efl_net_ip_address_example \
|
||||
ecore_ipc_server_example \
|
||||
ecore_ipc_client_example
|
||||
|
||||
all: examples
|
||||
examples: $(EXAMPLES)
|
||||
|
|
|
@ -5,13 +5,14 @@
|
|||
*/
|
||||
|
||||
//Compile with:
|
||||
// gcc -o ecore_con_eet_client_example ecore_con_eet_client_example.c ecore_con_eet_descriptor_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
|
||||
// gcc -o ecore_con_eet_client_example ecore_con_eet_client_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
|
||||
|
||||
#include <stdio.h>
|
||||
#include <Ecore.h>
|
||||
#include <Ecore_Con.h>
|
||||
#include <Eina.h>
|
||||
#include "ecore_con_eet_descriptor_example.h"
|
||||
#include "ecore_con_eet_descriptor_example.c"
|
||||
|
||||
Eina_Bool
|
||||
_eet_svr_discnct_cb(void *data EINA_UNUSED, Ecore_Con_Reply *reply EINA_UNUSED, Ecore_Con_Server *conn EINA_UNUSED)
|
||||
|
|
|
@ -10,13 +10,14 @@
|
|||
*/
|
||||
|
||||
//Compile with:
|
||||
// gcc -o ecore_con_eet_server_example ecore_con_eet_server_example.c ecore_con_eet_descriptor_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
|
||||
// gcc -o ecore_con_eet_server_example ecore_con_eet_server_example.c `pkg-config --cflags --libs eet ecore ecore-con eina`
|
||||
|
||||
#include <stdio.h>
|
||||
#include <Ecore.h>
|
||||
#include <Ecore_Con.h>
|
||||
#include <Eina.h>
|
||||
#include "ecore_con_eet_descriptor_example.h"
|
||||
#include "ecore_con_eet_descriptor_example.c"
|
||||
|
||||
static int _client_count = 0;
|
||||
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
*/
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#else
|
||||
#define EFL_EO_API_SUPPORT
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#endif
|
||||
|
||||
#include <Ecore.h>
|
||||
|
|
|
@ -2,19 +2,24 @@
|
|||
#define EFL_EO_API_SUPPORT 1
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
# include <sys/socket.h>
|
||||
#endif
|
||||
#else
|
||||
# include <netinet/in.h>
|
||||
# include <arpa/inet.h>
|
||||
# include <sys/socket.h>
|
||||
#endif
|
||||
#include <Ecore.h>
|
||||
#include <Ecore_Con.h>
|
||||
#include <Ecore_Getopt.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
# include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
static int retval = EXIT_SUCCESS;
|
||||
static Eina_List *resolving = NULL;
|
||||
|
|
Loading…
Reference in New Issue