Eo: add autotools tests. I have plenty of errors with the unit tests on Windows
SVN revision: 76323
This commit is contained in:
parent
af81f7b38c
commit
312066e91b
|
@ -52,6 +52,7 @@ doc:
|
|||
|
||||
if EFL_ENABLE_TESTS
|
||||
|
||||
|
||||
lcov-reset:
|
||||
@rm -rf $(top_builddir)/coverage
|
||||
@find $(top_builddir) -name "*.gcda" -delete
|
||||
|
@ -65,9 +66,13 @@ lcov-report:
|
|||
@echo "Coverage Report at $(top_builddir)/coverage/html"
|
||||
|
||||
check-local:
|
||||
if EFL_ENABLE_COVERAGE
|
||||
@$(MAKE) lcov-reset
|
||||
@./src/tests/eina_suite
|
||||
endif
|
||||
@./src/tests/eo_suite/eo_suite
|
||||
if EFL_ENABLE_COVERAGE
|
||||
@$(MAKE) lcov-report
|
||||
endif
|
||||
|
||||
else
|
||||
|
||||
|
@ -87,7 +92,7 @@ if EFL_ENABLE_BENCHMARK
|
|||
benchmark:
|
||||
@cd src && $(MAKE) benchmark
|
||||
@mkdir result || true
|
||||
@cd result && ../src/tests/eina_bench `date +%F_%s`
|
||||
@cd result && ../src/tests/eo_bench `date +%F_%s`
|
||||
|
||||
else
|
||||
|
||||
|
|
|
@ -158,6 +158,15 @@ src/examples/eo_isa/Makefile
|
|||
src/examples/evas/Makefile
|
||||
src/examples/simple/Makefile
|
||||
src/lib/Makefile
|
||||
src/tests/Makefile
|
||||
src/tests/access/Makefile
|
||||
src/tests/composite_objects/Makefile
|
||||
src/tests/constructors/Makefile
|
||||
src/tests/eo_suite/Makefile
|
||||
src/tests/function_overrides/Makefile
|
||||
src/tests/interface/Makefile
|
||||
src/tests/mixin/Makefile
|
||||
src/tests/signals/Makefile
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
@ -176,7 +185,7 @@ echo
|
|||
echo "Configuration Options Summary:"
|
||||
echo
|
||||
echo " Documentation........: ${build_doc}"
|
||||
echo " Tests................: ${enable_tests} (Coverage: ${efl_enable_coverage})"
|
||||
echo " Unit Tests...........: ${enable_tests} (Coverage: ${efl_enable_coverage})"
|
||||
echo " Examples.............: ${enable_build_examples}"
|
||||
echo " Benchmark............: ${enable_benchmark}"
|
||||
echo
|
||||
|
|
|
@ -37,7 +37,7 @@ if test "x${_efl_enable_tests}" = "xyes" ; then
|
|||
[_efl_enable_tests="no"])
|
||||
fi
|
||||
|
||||
efl_enable_coverage="no"
|
||||
_efl_enable_coverage="no"
|
||||
if test "x${_efl_enable_tests}" = "xyes" ; then
|
||||
AC_CHECK_PROG(have_lcov, [lcov], [yes], [no])
|
||||
if test "x$have_lcov" = "xyes" ; then
|
||||
|
@ -49,13 +49,14 @@ if test "x${_efl_enable_tests}" = "xyes" ; then
|
|||
else
|
||||
m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
|
||||
fi
|
||||
efl_enable_coverage="yes"
|
||||
_efl_enable_coverage="yes"
|
||||
else
|
||||
AC_MSG_WARN([lcov is not found, disable profiling instrumentation])
|
||||
fi
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(EFL_ENABLE_TESTS, test "x${_efl_enable_tests}" = "xyes")
|
||||
AM_CONDITIONAL(EFL_ENABLE_COVERAGE, test "x${_efl_enable_coverage}" = "xyes")
|
||||
|
||||
AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3])
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = lib benchmarks examples
|
||||
SUBDIRS = lib benchmarks examples tests
|
||||
|
||||
.PHONY: benchmark
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = access composite_objects constructors eo_suite function_overrides interface mixin signals
|
||||
|
||||
EXTRA_DIST = eunit_tests.h
|
|
@ -0,0 +1,20 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = access
|
||||
|
||||
access_SOURCES = \
|
||||
inherit.c \
|
||||
inherit.h \
|
||||
main.c \
|
||||
simple.c \
|
||||
simple.h \
|
||||
simple_protected.h
|
||||
|
||||
access_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,11 +1,13 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "simple_protected.h"
|
||||
|
||||
#include "inherit.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op INHERIT_BASE_ID = 0;
|
||||
|
||||
#define MY_CLASS INHERIT_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INHERIT_H
|
||||
#define INHERIT_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op INHERIT_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "inherit.h"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "simple_protected.h"
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_PROTECTED_H
|
||||
#define SIMPLE_PROTECTED_H
|
||||
|
||||
#include "simple.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
Simple_Public_Data public;
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = composite_objects
|
||||
|
||||
composite_objects_SOURCES = \
|
||||
comp.c \
|
||||
comp.h \
|
||||
main.c \
|
||||
simple.c \
|
||||
simple.h
|
||||
|
||||
composite_objects_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,8 +1,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "comp.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef COMP_H
|
||||
#define COMP_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define COMP_CLASS comp_class_get()
|
||||
const Eo_Class *comp_class_get(void);
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "comp.h"
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
||||
EAPI const Eo_Event_Description _EV_A_CHANGED =
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = constructors
|
||||
|
||||
constructors_SOURCES = \
|
||||
main.c \
|
||||
mixin.c \
|
||||
mixin.h \
|
||||
simple.c \
|
||||
simple.h \
|
||||
simple2.c \
|
||||
simple2.h \
|
||||
simple3.c \
|
||||
simple3.h \
|
||||
simple4.c \
|
||||
simple4.h \
|
||||
simple5.c \
|
||||
simple5.h \
|
||||
simple6.c \
|
||||
simple6.h \
|
||||
simple7.c \
|
||||
simple7.h
|
||||
|
||||
constructors_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "simple2.h"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op MIXIN_BASE_ID = 0;
|
||||
|
||||
#define MY_CLASS MIXIN_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef MIXIN_H
|
||||
#define MIXIN_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op MIXIN_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple2.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS SIMPLE2_CLASS
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE2_H
|
||||
#define SIMPLE2_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE2_CLASS simple2_class_get()
|
||||
const Eo_Class *simple2_class_get(void);
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple3.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS SIMPLE3_CLASS
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE3_H
|
||||
#define SIMPLE3_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE3_CLASS simple3_class_get()
|
||||
const Eo_Class *simple3_class_get(void);
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple.h"
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE4_H
|
||||
#define SIMPLE4_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE4_CLASS simple4_class_get()
|
||||
const Eo_Class *simple4_class_get(void);
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple5.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS SIMPLE5_CLASS
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE5_H
|
||||
#define SIMPLE5_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE5_CLASS simple5_class_get()
|
||||
const Eo_Class *simple5_class_get(void);
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple6.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS SIMPLE6_CLASS
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE6_H
|
||||
#define SIMPLE6_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE6_CLASS simple6_class_get()
|
||||
const Eo_Class *simple6_class_get(void);
|
||||
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple7.h"
|
||||
#include "simple2.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
#define MY_CLASS SIMPLE7_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE7_H
|
||||
#define SIMPLE7_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define SIMPLE7_CLASS simple7_class_get()
|
||||
const Eo_Class *simple7_class_get(void);
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "class_simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS SIMPLE_CLASS
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <stdio.h>
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#include "eo_suite.h"
|
||||
|
||||
typedef struct _Eo_Test_Case Eo_Test_Case;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#include "config.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eo_suite.h"
|
||||
#include "Eo.h"
|
||||
|
||||
#include "eo_suite.h"
|
||||
#include "class_simple.h"
|
||||
|
||||
START_TEST(eo_incomplete_desc)
|
||||
|
|
|
@ -4,9 +4,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eo_suite.h"
|
||||
#include "Eo.h"
|
||||
|
||||
#include "eo_suite.h"
|
||||
#include "class_simple.h"
|
||||
|
||||
START_TEST(eo_simple)
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "eo_suite.h"
|
||||
#include "Eo.h"
|
||||
#include "eo_suite.h"
|
||||
|
||||
START_TEST(eo_simple)
|
||||
{
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = function_overrides
|
||||
|
||||
function_overrides_SOURCES = \
|
||||
inherit.c \
|
||||
inherit.h \
|
||||
inherit2.c \
|
||||
inherit2.h \
|
||||
inherit3.c \
|
||||
inherit3.h \
|
||||
main.c \
|
||||
simple.c \
|
||||
simple.h
|
||||
|
||||
function_overrides_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,6 +1,9 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "inherit.h"
|
||||
|
||||
#define MY_CLASS INHERIT_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INHERIT_H
|
||||
#define INHERIT_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define INHERIT_CLASS inherit_class_get()
|
||||
const Eo_Class *inherit_class_get(void);
|
||||
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "inherit.h"
|
||||
#include "inherit2.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
EAPI Eo_Op INHERIT2_BASE_ID = 0;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INHERIT2_H
|
||||
#define INHERIT2_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op INHERIT2_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "inherit2.h"
|
||||
#include "inherit3.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#define MY_CLASS INHERIT3_CLASS
|
||||
|
||||
static void
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INHERIT3_H
|
||||
#define INHERIT3_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define INHERIT3_CLASS inherit3_class_get()
|
||||
const Eo_Class *inherit3_class_get(void);
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "inherit.h"
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = interface
|
||||
|
||||
interface_SOURCES = \
|
||||
interface.c \
|
||||
interface.h \
|
||||
interface2.c \
|
||||
interface2.h \
|
||||
main.c \
|
||||
simple.c \
|
||||
simple.h
|
||||
|
||||
interface_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "interface.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op INTERFACE_BASE_ID = 0;
|
||||
|
||||
#define MY_CLASS INTERFACE_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INTERFACE_H
|
||||
#define INTERFACE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op INTERFACE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "interface.h"
|
||||
#include "interface2.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op INTERFACE2_BASE_ID = 0;
|
||||
|
||||
#define MY_CLASS INTERFACE2_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef INTERFACE2_H
|
||||
#define INTERFACE2_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op INTERFACE2_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "interface.h"
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "interface.h"
|
||||
#include "interface2.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = mixin
|
||||
|
||||
mixin_SOURCES = \
|
||||
inherit.c \
|
||||
inherit.h \
|
||||
main.c \
|
||||
mixin.c \
|
||||
mixin.h \
|
||||
mixin2.c \
|
||||
mixin2.h \
|
||||
mixin3.c \
|
||||
mixin3.h \
|
||||
mixin4.c \
|
||||
mixin4.h \
|
||||
simple.c \
|
||||
simple.h
|
||||
|
||||
mixin_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,7 +1,11 @@
|
|||
#include "Eo.h"
|
||||
#include "inherit.h"
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "mixin4.h"
|
||||
#include "inherit.h"
|
||||
|
||||
#define MY_CLASS INHERIT_CLASS
|
||||
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
#ifndef INHERIT_H
|
||||
#define INHERIT_H
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "mixin4.h"
|
||||
|
||||
#define INHERIT_CLASS inherit_class_get()
|
||||
const Eo_Class *inherit_class_get(void);
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
#include "inherit.h"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op MIXIN_BASE_ID = 0;
|
||||
|
||||
#define MY_CLASS MIXIN_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef MIXIN_H
|
||||
#define MIXIN_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op MIXIN_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "mixin2.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
#define MY_CLASS MIXIN2_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef MIXIN2_H
|
||||
#define MIXIN2_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int count;
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "mixin3.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
#define MY_CLASS MIXIN3_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef MIXIN3_H
|
||||
#define MIXIN3_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int count;
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "mixin4.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "../eunit_tests.h"
|
||||
|
||||
#define MY_CLASS MIXIN4_CLASS
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef MIXIN4_H
|
||||
#define MIXIN4_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
#define MIXIN4_CLASS mixin4_class_get()
|
||||
const Eo_Class *mixin4_class_get(void);
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "mixin.h"
|
||||
#include "mixin2.h"
|
||||
#include "mixin3.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/lib \
|
||||
-I$(top_builddir)/src/lib \
|
||||
@EFL_EO_BUILD@ \
|
||||
@EO_CFLAGS@
|
||||
|
||||
noinst_PROGRAMS = signals
|
||||
|
||||
signals_SOURCES = \
|
||||
main.c \
|
||||
simple.c \
|
||||
simple.h
|
||||
|
||||
signals_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
|
|
@ -1,3 +1,7 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "Eo.h"
|
||||
#include "simple.h"
|
||||
|
||||
#include "config.h"
|
||||
|
||||
EAPI Eo_Op SIMPLE_BASE_ID = 0;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef SIMPLE_H
|
||||
#define SIMPLE_H
|
||||
|
||||
#include "Eo.h"
|
||||
|
||||
extern EAPI Eo_Op SIMPLE_BASE_ID;
|
||||
|
||||
enum {
|
||||
|
|
Loading…
Reference in New Issue