forked from enlightenment/efl
eo: make it possible to build the library alone.
This commit is contained in:
parent
e109341fdb
commit
f4441e5a21
|
@ -5487,6 +5487,7 @@ src/lib/evil/Makefile
|
||||||
src/lib/eina/Makefile
|
src/lib/eina/Makefile
|
||||||
src/lib/emile/Makefile
|
src/lib/emile/Makefile
|
||||||
src/lib/eet/Makefile
|
src/lib/eet/Makefile
|
||||||
|
src/lib/eo/Makefile
|
||||||
src/benchmarks/eina/Makefile
|
src/benchmarks/eina/Makefile
|
||||||
src/benchmarks/eo/Makefile
|
src/benchmarks/eo/Makefile
|
||||||
src/benchmarks/evas/Makefile
|
src/benchmarks/evas/Makefile
|
||||||
|
|
|
@ -3,7 +3,7 @@ EOLIAN_GEN = @eolian_gen@
|
||||||
_EOLIAN_GEN_DEP = @eolian_gen@
|
_EOLIAN_GEN_DEP = @eolian_gen@
|
||||||
else
|
else
|
||||||
EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
|
EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
|
||||||
_EOLIAN_GEN_DEP = bin/eolian/eolian_gen${EXEEXT}
|
_EOLIAN_GEN_DEP = $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(top_srcdir)/src/Makefile_Eolian_Files_Helper.am
|
include $(top_srcdir)/src/Makefile_Eolian_Files_Helper.am
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
|
||||||
|
_EOLIAN_GEN_DEP =
|
||||||
|
|
||||||
|
EOLIAN_FLAGS += -I$(top_srcdir)/src/
|
||||||
|
|
||||||
|
include $(top_srcdir)/src/Makefile_Eolian_Files_Helper.am
|
|
@ -0,0 +1,44 @@
|
||||||
|
EOLIAN_FLAGS = -I$(srcdir)
|
||||||
|
|
||||||
|
include ../../Makefile_Eolian_Subbuild_Helper.am
|
||||||
|
|
||||||
|
### Library
|
||||||
|
eo_eolian_files = \
|
||||||
|
eo_base.eo \
|
||||||
|
eo_abstract_class.eo \
|
||||||
|
eo_interface.eo
|
||||||
|
|
||||||
|
eo_eolian_c = $(eo_eolian_files:%.eo=%.eo.c)
|
||||||
|
eo_eolian_h = $(eo_eolian_files:%.eo=%.eo.h)
|
||||||
|
|
||||||
|
BUILT_SOURCES = $(eo_eolian_c) \
|
||||||
|
$(eo_eolian_h)
|
||||||
|
|
||||||
|
CLEANFILES = $(eo_eolian_c) \
|
||||||
|
$(eo_eolian_h)
|
||||||
|
|
||||||
|
lib_LTLIBRARIES = libeo.la
|
||||||
|
|
||||||
|
installed_eomainheadersdir = $(includedir)/eo-@VMAJ@
|
||||||
|
dist_installed_eomainheaders_DATA = Eo.h
|
||||||
|
|
||||||
|
nodist_installed_eomainheaders_DATA = $(eo_eolian_h)
|
||||||
|
|
||||||
|
libeo_la_SOURCES = \
|
||||||
|
eo.c \
|
||||||
|
eo_ptr_indirection.c \
|
||||||
|
eo_ptr_indirection.h \
|
||||||
|
eo_base_class.c \
|
||||||
|
eo_class_class.c \
|
||||||
|
eo_add_fallback.c \
|
||||||
|
eo_add_fallback.h \
|
||||||
|
eo_private.h
|
||||||
|
|
||||||
|
libeo_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
|
||||||
|
libeo_la_LIBADD = @EO_SUBBUILD_LIBS@
|
||||||
|
libeo_la_DEPENDENCIES = @EO_SUBBUILD_INTERNAL_LIBS@
|
||||||
|
libeo_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
|
||||||
|
|
||||||
|
eoeolianfilesdir = $(datadir)/eolian/include/eo-@VMAJ@
|
||||||
|
eoeolianfiles_DATA = $(eo_eolian_files) \
|
||||||
|
eina_types.eot # We don't generate .c/.h on purpose
|
Loading…
Reference in New Issue