Hi Cedric, On 15 April 2016 at 08:08, Cedric BAIL <cedric.b...@free.fr> wrote:
> cedric pushed a commit to branch master. > > > http://git.enlightenment.org/core/efl.git/commit/?id=4c921204575a8bc96d9449810ab963d0461c6152 > > commit 4c921204575a8bc96d9449810ab963d0461c6152 > Author: Cedric BAIL <ced...@osg.samsung.com> > Date: Wed Apr 13 15:55:31 2016 -0700 > > evil: make it possible to build the library alone. > > So I have been battling with autotools on this for a full week now, > and what we want is basically impossible. A.k.a. one file definition > and possibility to do a full build or just a partial build of efl. > Even moving to just partial build require to land a massive patch that > change everything in our build system and this is just not a road I > want to take. > This patch will do for now. For reference, if one day automake allow the use of any kind of variable > (autoconf AC_SUBST expansion or $()) in the _SOURCES parameter, it will > be possible to fix. Alternatively if they allow to build subdirectory > before they do BUILT_SOURCE, it would make it possible to incrementaly > move to only partial build. In the mean time, a less problematic > solution > is to duplicate source code. > So if I understand correctly, this means every change to src/Makefile_XXX.am needs to be reflected in src/lib/XXX/Makefile.am? That's not a very elegant solution, but I understand there is no better way. Should we or can we have automated builds on Jenkins for those partial builds? Thanks, > --- > configure.ac | 1 + > src/lib/evil/Makefile.am | 81 > ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 82 insertions(+) > > diff --git a/configure.ac b/configure.ac > index c27d216..63daaf6 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -5483,6 +5483,7 @@ doc/Doxyfile > doc/previews/Makefile > doc/widgets/Makefile > src/Makefile > +src/lib/evil/Makefile > src/benchmarks/eina/Makefile > src/benchmarks/eo/Makefile > src/benchmarks/evas/Makefile > diff --git a/src/lib/evil/Makefile.am b/src/lib/evil/Makefile.am > new file mode 100644 > index 0000000..2ac122f > --- /dev/null > +++ b/src/lib/evil/Makefile.am > @@ -0,0 +1,81 @@ > +if HAVE_WINDOWS > + > +### Library > + > +lib_LTLIBRARIES = libevil.la > + > +install_evilheadersdir = $(includedir)/evil-@VMAJ@ > +dist_install_evilheaders_DATA = \ > +Evil.h \ > +evil_dlfcn.h \ > +evil_fcntl.h \ > +evil_inet.h \ > +evil_langinfo.h \ > +evil_locale.h \ > +evil_macro.h \ > +evil_macro_pop.h \ > +evil_macro_wrapper.h \ > +evil_main.h \ > +evil_stdio.h \ > +evil_stdlib.h \ > +evil_string.h \ > +evil_time.h \ > +evil_unistd.h \ > +evil_util.h \ > +dirent.h \ > +fnmatch.h \ > +pwd.h > + > +evilmmanheadersdir = $(includedir)/evil-@VMAJ@/sys > +dist_evilmmanheaders_DATA = \ > +sys/mman.h > + > +libevil_la_SOURCES = \ > +evil_dirent.c \ > +evil_dlfcn.c \ > +evil_fcntl.c \ > +evil_fnmatch.c \ > +evil_fnmatch_list_of_states.c \ > +evil_inet.c \ > +evil_langinfo.c \ > +evil_locale.c \ > +evil_link_xp.cpp \ > +evil_main.c \ > +evil_mman.c \ > +evil_pwd.c \ > +evil_stdio.c \ > +evil_stdlib.c \ > +evil_string.c \ > +evil_time.c \ > +evil_unistd.c \ > +evil_util.c \ > +evil_private.h \ > +evil_fnmatch_private.h > + > +libevil_la_CPPFLAGS = @EVIL_CPPFLAGS@ > +libevil_la_CFLAGS = @EVIL_CFLAGS@ @EVIL_CFLAGS_WRN@ > -D__USE_MINGW_ANSI_STDIO > +libevil_la_CXXFLAGS = @EVIL_CXXFLAGS@ @EVIL_CFLAGS@ > +libevil_la_LIBADD = @EVIL_SUBBUILD_LIBS@ > +libevil_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ > + > +# regex > + > +dist_install_evilheaders_DATA += \ > +regex/regex.h > + > +libevil_la_SOURCES += \ > +regex/regcomp.c \ > +regex/regerror.c \ > +regex/regexec.c \ > +regex/regfree.c \ > +regex/cclass.h \ > +regex/cname.h \ > +regex/regex2.h \ > +regex/utils.h > + > +libevil_la_CPPFLAGS += \ > +-I$(top_srcdir)/src/lib/evil \ > +-I$(top_srcdir)/src/lib/evil/regex \ > +-DPOSIX_MISTAKE > + > +endif > > -- > > -- > Jean-Philippe André > > ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel