Ethumb: fix future compilation on Windows, formatting

SVN revision: 65945
devs/devilhorns/wayland_egl
Vincent Torri 11 years ago
parent bb3f0ffa4b
commit a10fb296c4
  1. 23
      legacy/ethumb/src/plugins/emotion/Makefile.am
  2. 16
      legacy/ethumb/src/plugins/epdf/Makefile.am
  3. 8
      legacy/ethumb/src/plugins/epdf/epdf.c

@ -11,16 +11,27 @@ files_DATA = emotion_template.edj
EXTRA_DIST= \
template.edc
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/plugins/emotion \
-DPLUGINSDIR=\"$(pluginsdir)\" \
@EVAS_CFLAGS@ @EINA_CFLAGS@ @EMOTION_CFLAGS@ @ECORE_FILE_CFLAGS@ \
@EDJE_CFLAGS@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/plugins/emotion \
-DPLUGINSDIR=\"$(pluginsdir)\" \
@EFL_ETHUMB_BUILD@ \
@EVAS_CFLAGS@ \
@EINA_CFLAGS@ \
@EMOTION_CFLAGS@ \
@ECORE_FILE_CFLAGS@ \
@EDJE_CFLAGS@
pkgdir = $(pluginsdir)
pkg_LTLIBRARIES = emotion.la
emotion_la_SOURCES = emotion.c
emotion_la_LIBADD = $(top_builddir)/src/lib/libethumb.la \
@EMOTION_LIBS@ @EDJE_LIBS@ @ECORE_FILE_LIBS@ @EVAS_LIBS@ @EINA_LIBS@
emotion_la_LIBADD = \
$(top_builddir)/src/lib/libethumb.la \
@EMOTION_LIBS@ \
@EDJE_LIBS@ \
@ECORE_FILE_LIBS@ \
@EVAS_LIBS@ \
@EINA_LIBS@
emotion_la_LDFLAGS = -module -avoid-version
emotion_la_LIBTOOLFLAGS = --tag=disable-static

@ -1,13 +1,21 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/plugins/epdf \
@EINA_CFLAGS@ @EVAS_CFLAGS@ @EPDF_CFLAGS@
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/plugins/epdf \
@EFL_ETHUMB_BUILD@ \
@EINA_CFLAGS@ \
@EVAS_CFLAGS@ \
@EPDF_CFLAGS@
pluginsdir = $(libdir)/ethumb/plugins
pkgdir = $(pluginsdir)
pkg_LTLIBRARIES = epdf.la
epdf_la_SOURCES = epdf.c
epdf_la_LIBADD = $(top_builddir)/src/lib/libethumb.la \
@EPDF_LIBS@ @EVAS_LIBS@ @EINA_LIBS@
epdf_la_LIBADD = \
$(top_builddir)/src/lib/libethumb.la \
@EPDF_LIBS@ \
@EVAS_LIBS@ \
@EINA_LIBS@
epdf_la_LDFLAGS = -module -avoid-version
epdf_la_LIBTOOLFLAGS = --tag=disable-static

@ -1,16 +1,18 @@
#include "Ethumb.h"
#include "Ethumb_Plugin.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include <Eina.h>
#include <Evas.h>
#include <Epdf.h>
#include "Ethumb.h"
#include "Ethumb_Plugin.h"
static void
_generate_thumb(Ethumb *e)
{

Loading…
Cancel
Save