allow compilation on OS where the cache server can't be built (like Windows...)
SVN revision: 40570
This commit is contained in:
parent
fb5e325078
commit
22969c71ef
|
@ -1,5 +1,7 @@
|
|||
#include "Evas.h"
|
||||
#include "evas_cs.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
|
@ -7,6 +9,9 @@
|
|||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include "Evas.h"
|
||||
#include "evas_cs.h"
|
||||
|
||||
// fixme:'s
|
||||
//
|
||||
// preload - make it work (both)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "evas_cs.h"
|
||||
|
||||
int
|
||||
|
|
|
@ -24,13 +24,19 @@ include_HEADERS = Evas.h Evas_Data.h
|
|||
|
||||
libevas_la_SOURCES = main.c
|
||||
|
||||
if EVAS_CSERVE
|
||||
|
||||
libevas_cserve_la = cserve/libevas_cserve.la
|
||||
|
||||
endif
|
||||
|
||||
libevas_la_LIBADD = \
|
||||
canvas/libevas_canvas.la \
|
||||
data/libevas_data.la \
|
||||
file/libevas_file.la \
|
||||
cache/libevas_cache.la \
|
||||
imaging/libevas_imaging.la \
|
||||
cserve/libevas_cserve.la \
|
||||
$(libevas_cserve_la) \
|
||||
engines/common/libevas_engine_common.la \
|
||||
@dlopen_libs@ \
|
||||
@FREETYPE_LIBS@ \
|
||||
|
@ -42,13 +48,12 @@ engines/common/libevas_engine_common.la \
|
|||
-lm
|
||||
|
||||
libevas_la_DEPENDENCIES = \
|
||||
$(top_builddir)/config.h \
|
||||
canvas/libevas_canvas.la \
|
||||
data/libevas_data.la \
|
||||
file/libevas_file.la \
|
||||
cache/libevas_cache.la \
|
||||
imaging/libevas_imaging.la \
|
||||
cserve/libevas_cserve.la \
|
||||
$(libevas_cserve_la) \
|
||||
engines/common/libevas_engine_common.la
|
||||
|
||||
if BUILD_ENGINE_SOFTWARE_16
|
||||
|
|
|
@ -15,7 +15,12 @@ AM_CPPFLAGS = \
|
|||
@FONTCONFIG_CFLAGS@ \
|
||||
@pthread_cflags@
|
||||
|
||||
if EVAS_CSERVE
|
||||
|
||||
noinst_LTLIBRARIES = libevas_cserve.la
|
||||
|
||||
endif
|
||||
|
||||
libevas_cserve_la_SOURCES = \
|
||||
evas_cs.h \
|
||||
evas_cs_main.c \
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef EVAS_CS_H
|
||||
#define EVAS_CS_H 1
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
||||
#include <sys/select.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -47,8 +49,6 @@
|
|||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
||||
#define LENGTH_OF_SOCKADDR_UN(s) (strlen((s)->sun_path) + (size_t)(((struct sockaddr_un *)NULL)->sun_path))
|
||||
|
||||
typedef struct _Server Server;
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
#include "evas_cs.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include "evas_cs.h"
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
||||
static Server *cserve = NULL;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "evas_cs.h"
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "evas_cs.h"
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#include "evas_cs.h"
|
||||
|
||||
#ifdef EVAS_CSERVE
|
||||
|
|
Loading…
Reference in New Issue