diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Makefile.am | 19 | ||||
-rw-r--r-- | src/lib/eo.c | 7 | ||||
-rw-r--r-- | src/lib/eo_base_class.c | 7 | ||||
-rw-r--r-- | src/lib/eo_private.h | 1 |
4 files changed, 27 insertions, 7 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am new file mode 100644 index 0000000..f9f20b4 --- /dev/null +++ b/src/lib/Makefile.am @@ -0,0 +1,19 @@ +MAINTAINERCLEANFILES = Makefile.in
+
+AM_CPPFLAGS = \
+-I$(top_srcdir)/src/include \
+-I$(top_builddir)/src/include \
+@EFL_EO_BUILD@ \
+@EO_CFLAGS@
+
+installed_headerdir = $(includedir)/eo-@VMAJ@
+dist_installed_header_DATA = Eo.h
+
+lib_LTLIBRARIES = libeo.la
+
+libeo_la_SOURCES = eo.c eo_base_class.c eo_private.h
+libeo_la_LIBADD = @EO_LIBS@
+libeo_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@
+
+clean-local:
+ rm -rf *.gcno
diff --git a/src/lib/eo.c b/src/lib/eo.c index 98a0631..59e11f3 100644 --- a/src/lib/eo.c +++ b/src/lib/eo.c @@ -1,10 +1,12 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <Eina.h> #include "Eo.h" #include "eo_private.h" -#include "config.h" - /* The last id that should be reserved for statically allocated classes. */ #define EO_CLASS_IDS_FIRST 1 #define EO_OP_IDS_FIRST 1 @@ -1569,4 +1571,3 @@ eo_manual_free(Eo *obj) _eo_free(obj); } - diff --git a/src/lib/eo_base_class.c b/src/lib/eo_base_class.c index acf3ac1..4657da2 100644 --- a/src/lib/eo_base_class.c +++ b/src/lib/eo_base_class.c @@ -1,10 +1,12 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif + #include <Eina.h> #include "Eo.h" #include "eo_private.h" -#include "config.h" - EAPI Eo_Op EO_BASE_BASE_ID = 0; static int event_freeze_count = 0; @@ -575,4 +577,3 @@ static const Eo_Class_Description class_desc = { }; EO_DEFINE_CLASS(eo_base_class_get, &class_desc, NULL, NULL) - diff --git a/src/lib/eo_private.h b/src/lib/eo_private.h index 7759a2a..0045645 100644 --- a/src/lib/eo_private.h +++ b/src/lib/eo_private.h @@ -57,4 +57,3 @@ extern int _eo_log_dom; void _eo_condtor_done(Eo *obj); #endif - |