Elm_Code now compiling on Windows, thanks to Vincent Torri for the patch.

Next to tackle some non-standard EDI code to complete the compilation
This commit is contained in:
Andy Williams 2015-01-04 12:00:40 +00:00
parent cc3ae23d4b
commit 9de1a9b318
10 changed files with 17 additions and 47 deletions

View File

@ -2,19 +2,17 @@ MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = elm_code_test
AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-I$(top_builddir)/elm_code/bin/ \
-I$(top_srcdir)/elm_code/bin/ \
-I$(top_builddir)/elm_code/lib/ \
AM_CPPFLAGS = \
-I$(top_srcdir)/elm_code/lib/ \
-DLOCALEDIR=\"$(datadir)/locale\" \
-DEFL_BETA_API_SUPPORT \
@EFL_CFLAGS@
elm_code_test_SOURCES = elm_code_test_main.c
elm_code_test_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la
elm_code_test_SOURCES = \
elm_code_test_main.c \
elm_code_test_private.h
localedir = $(datadir)/locale
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
elm_code_test_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la -lintl
EXTRA_DIST = elm_code_test_private.h
elm_code_test_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

View File

@ -1,15 +1,9 @@
#ifndef ELM_CODE_H_
# define ELM_CODE_H_
#include <Elementary.h>
#include <Eo.h>
#include <Eina.h>
#include <elm_code_common.h>
#include <elm_code_file.h>
#include <elm_code_parse.h>
#include <elm_code_widget.h>
#include <elm_code_diff_widget.h>
#include <Eo.h>
#include <Elementary.h>
#ifdef EAPI
# undef EAPI
@ -37,6 +31,12 @@
# endif
#endif /* ! _WIN32 */
#include "elm_code_common.h"
#include "elm_code_file.h"
#include "elm_code_parse.h"
#include "elm_code_widget.h"
#include "elm_code_diff_widget.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -2,9 +2,6 @@ MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-I$(top_srcdir)/elm_code/lib \
-I$(top_builddir)/elm_code/lib \
-DPACKAGE_LIB_DIR=\"$(libdir)\" \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DEFL_BETA_API_SUPPORT \
@EFL_CFLAGS@ \
-DEFL_ELM_CODE_BUILD
@ -24,6 +21,7 @@ elm_code_file.c \
elm_code_parse.c \
elm_code_widget.c \
elm_code_diff_widget.c \
elm_code.c
elm_code.c \
elm_code_private.h
libelm_code_la_LIBADD = @EFL_LIBS@ -lm
libelm_code_la_LDFLAGS = -no-undefined @EFL_LTLIBRARY_FLAGS@

View File

@ -1,9 +1,6 @@
#ifndef ELM_CODE_COMMON_H_
# define ELM_CODE_COMMON_H_
#include <Eo.h>
#include <Eina.h>
typedef struct _Elm_Code Elm_Code;
typedef struct _Elm_Code_File Elm_Code_File;

View File

@ -2,11 +2,7 @@
# include "config.h"
#endif
#include <Eo.h>
#include <Elementary.h>
#include "Elm_Code.h"
#include "elm_code_diff_widget.h"
#include "elm_code_private.h"

View File

@ -1,9 +1,6 @@
#ifndef ELM_CODE_DIFF_WIDGET_H_
# define ELM_CODE_DIFF_WIDGET_H_
#include <Evas.h>
#include "elm_code_common.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -1,10 +1,6 @@
#ifndef ELM_CODE_FILE_H_
# define ELM_CODE_FILE_H_
#include <Eina.h>
#include "elm_code_common.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -1,10 +1,6 @@
#ifndef ELM_CODE_PARSE_H_
# define ELM_CODE_PARSE_H_
#include <Eina.h>
#include "elm_code_common.h"
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -2,9 +2,6 @@
# include "config.h"
#endif
#include <Eo.h>
#include <Elementary.h>
#include "Elm_Code.h"
#include "elm_code_private.h"

View File

@ -1,11 +1,6 @@
#ifndef ELM_CODE_WIDGET_H_
# define ELM_CODE_WIDGET_H_
#include <Evas.h>
#include "elm_code_common.h"
#include "elm_code_file.h"
#ifdef __cplusplus
extern "C" {
#endif