efl/src/Makefile.am

224 lines
6.5 KiB
Makefile
Raw Normal View History

AUTOMAKE_OPTIONS= -Wno-portability
MAINTAINERCLEANFILES = Makefile.in
CLEANFILES =
BUILT_SOURCES =
PHONIES =
EOLIAN_FLAGS = -I$(srcdir)
EOLIAN_GEN_FLAGS = -S
LOG_COMPILER = dbus-run-session
AM_LOG_FLAGS = --
DIST_SUBDIRS =
SUBDIRS =
2016-03-23 23:07:41 -07:00
AM_TESTS_ENVIRONMENT =
lib_LTLIBRARIES =
bin_PROGRAMS =
bin_SCRIPTS =
noinst_PROGRAMS =
check_PROGRAMS =
TESTS =
EXTRA_DIST2 =
noinst_LTLIBRARIES =
noinst_DATA =
noinst_HEADERS =
GENERATED_JS_BINDINGS =
GENERATED_LUA_BINDINGS =
EFL_INSTALL_EXEC_HOOK=
include Makefile_Evil.am
include Makefile_Escape.am
include Makefile_Eina.am
include Makefile_Eo.am
include Makefile_Efl.am
emile: initial introduction of Emile. The intent of Emile is to be the common layer for serialisation, compression and ciphering. It will expose the library we currently use internally to an easier use from the outside (like gcrypt and lz4). It should improve portability. Instead of pushing JSON, XML and what's not to Eina, I do think that they will fit better in Emile. As for the naming of Emile, you will need to be French and say : "Un quoi ?" "Un serializer !" Regarding why it is put there in the stack. Right now there is two users of compression (eet and terminology), two users of cipher library (eet and ecore_con) and a few handful of user for serialization (eina, eet, efreet, ecore_con, ...). So the choice was quite simple, it needed to be below Eet. Now it could have been on top of Eo or integrated into Eina. One of the use case I am thinking of, is to compress Eo object when a canvas get hidden/minized. For that it require Eo to use that library and it can't be a higher level object. And with current implementation of Eo it is perfectly possible to implement such idea. So not at Eo level. As for Eina, I am starting to think it is getting to much things in its namespace. I do believe that infact Eina_Simple_XML and Eina_File should after all have landed in their own library. That's why I am putting the current logic in a new library. It is going to expand, I want it to provide an few SAX like parser for JSON, Eet_Data and protobuf with also an API like Eet_Data to directly feed those value into a C structure without using a DOM at all. It would also be the right place to experiment and benchmark for a new Eet_Data format that could be more efficient to use. So at the end, and due to how I see things going and being used, I do think it is better of in its own library.
2015-03-17 00:49:57 -07:00
include Makefile_Emile.am
include Makefile_Eet.am
include Makefile_Eolian.am
include Makefile_Ector.am
include Makefile_Ecore.am
include Makefile_Evas.am
include Makefile_Eldbus.am
include Makefile_Ecore_Con.am
include Makefile_Ecore_Ipc.am
include Makefile_Ecore_File.am
include Makefile_Eeze.am
include Makefile_Ecore_Input.am
include Makefile_Ecore_Input_Evas.am
include Makefile_Ecore_Cocoa.am
include Makefile_Ecore_FB.am
include Makefile_Ecore_SDL.am
include Makefile_Ecore_Wayland.am
include Makefile_Ecore_Wl2.am
include Makefile_Ecore_Win32.am
include Makefile_Ecore_X.am
include Makefile_Ecore_IMF.am
include Makefile_Ecore_IMF_Evas.am
include Makefile_Elput.am
include Makefile_Ecore_Drm.am
include Makefile_Ecore_Drm2.am
include Makefile_Ecore_Evas.am
include Makefile_Ecore_Audio.am
include Makefile_Ecore_Avahi.am
include Makefile_Embryo.am
include Makefile_Efreet.am
include Makefile_Eio.am
include Makefile_Ecore_Buffer.am
include Makefile_EPhysics.am
include Makefile_Edje.am
include Makefile_Emotion.am
include Makefile_Ethumb.am
include Makefile_Ethumb_Client.am
include Makefile_Elocation.am
include Makefile_Elementary.am
include Makefile_efl_wl.am
include Makefile_Cxx.am
include Makefile_Eolian_Cxx.am
include Makefile_Efl_Mono.am
include Makefile_Elua.am
include Makefile_Wayland_Protocols.am
if HAVE_JS
AM_V_CP = $(am__v_CP_@AM_V@)
am__v_CP_ = $(am__v_CP_@AM_DEFAULT_V@)
am__v_CP_0 = @echo " CP " $@;
CP = cp
if EFL_ENABLE_TESTS
if HAVE_NODEJS
AM_TESTS_ENVIRONMENT += NODE_PATH='$(abs_builddir)/bin/efl_js:$(abs_builddir)/tests/eolian_js:$(abs_builddir)/tests/efl_js'; export NODE_PATH;
endif
endif
endif
include Makefile_Eolian_Js.am
include Makefile_Efl_Js.am
.PHONY: benchmark examples $(PHONIES)
BENCHMARK_SUBDIRS = \
benchmarks/eina \
benchmarks/eo \
benchmarks/evas
DIST_SUBDIRS += $(BENCHMARK_SUBDIRS)
benchmark: all
@for d in $(BENCHMARK_SUBDIRS); do \
echo "Making benchmark in $$d"; \
$(MAKE) $(AM_MAKEFLAGS) -C $$d benchmark; \
done
EXAMPLES_SUBDIRS = \
examples
if ALWAYS_BUILD_EXAMPLES
SUBDIRS += . $(EXAMPLES_SUBDIRS)
endif
DIST_SUBDIRS += $(EXAMPLES_SUBDIRS)
if EFL_ENABLE_TESTS
noinst_PROGRAMS += tests/timeout
$(check_PROGRAMS): tests/timeout
check-build: all
@$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
endif
examples: all
@for d in $(EXAMPLES_SUBDIRS); do \
echo "Making examples in $$d"; \
$(MAKE) $(AM_MAKEFLAGS) -C $$d examples || exit 1; \
done
install-examples:
@for d in $(EXAMPLES_SUBDIRS); do \
echo "Making install-examples in $$d"; \
$(MAKE) $(AM_MAKEFLAGS) -C $$d install-examples || exit 1; \
done
dist-hook:
@mkdir -p $(distdir)/tests/elua/data/apps $(distdir)/tests/eolian/data
@mkdir -p $(distdir)/tests/evas/images $(distdir)/tests/evas/meshes
@mkdir -p $(distdir)/tests/evas/fonts $(distdir)/tests/eolian/data_aux
@mkdir -p $(distdir)/tests/efreet/data $(distdir)/tests/edje/data
@mkdir -p $(distdir)/tests/emotion/data $(distdir)/tests/evas/meshes/md2
@mkdir -p $(distdir)/tests/evas/meshes/obj $(distdir)/tests/efreet/data/sub
@mkdir -p $(distdir)/tests/efl_mono
@mkdir -p $(distdir)/scripts/eina $(distdir)/scripts/elua/modules
@mkdir -p $(distdir)/scripts/elua/core $(distdir)/scripts/elua/apps/docgen
@mkdir -p $(distdir)/lib/evas/common/evas_op_add $(distdir)/lib/evas/common/evas_op_copy
@mkdir -p $(distdir)/lib/evas/common/evas_op_mask $(distdir)/lib/evas/common/evas_op_mul
@mkdir -p $(distdir)/lib/evas/common/evas_op_sub $(distdir)/lib/evas/filters/blur
@mkdir -p $(distdir)/static_libs/http-parser/contrib $(distdir)/bindings/luajit/eina
@mkdir -p $(distdir)/wayland_protocol $(distdir)/lib/efl_wl/
2017-04-13 20:04:27 -07:00
@mkdir -p $(distdir)/modules/evas/engines/software_generic/filters/blur
@mkdir -p $(distdir)/bindings/mono/efl_mono
@mkdir -p $(distdir)/bindings/mono/eina_mono
@mkdir -p $(distdir)/bindings/mono/eldbus_mono
@mkdir -p $(distdir)/bindings/mono/eo_mono
for F in $(EXTRA_DIST2); do cp -f $(srcdir)/$$F $(distdir)/$$F; done
clean-local:
find . -type f -name '*.gcno' -delete
find . -type f -name '*.gcda' -delete
find . -type f -name check-results*.xml -delete
rm -f $(GENERATED_JS_BINDINGS)
rm -f $(GENERATED_LUA_BINDINGS)
rm -f $(BUILT_SOURCES)
install-exec-hook:
$(MKDIR_P) $(DESTDIR)$(libdir)
2014-07-02 14:16:16 -07:00
for i in $(lib_LTLIBRARIES); do \
FNAME="$(DESTDIR)$(libdir)/`echo $$i | sed "s#lib/.*/##"`"; \
FNAMEEXT="$$FNAME.$$$$"; \
sed "s/-luuid//" $$FNAME > $$FNAMEEXT; \
mv $$FNAMEEXT $$FNAME; \
done
$(EFL_INSTALL_EXEC_HOOK)
#At the bottom because .SECONDEXPANSION is applied to all following rules.
if HAVE_WAYLAND_SCANNER
#Stolen from weston's Makefile.am and modified for Enlightenment
.SECONDEXPANSION:
define protostability
$(if $(findstring unstable,$1),unstable,stable)
endef
define protoname
$(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/')
endef
#rules for generating protocol from wayland_protocols
%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
%-server-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
#rules for generating local protocols which must be in src/wayland_protocol
%-protocol.c : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@
%-server-protocol.h : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@
%-client-protocol.h : $(top_srcdir)/src/wayland_protocol/$(notdir $$*).xml
$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@
#End of weston stuff
endif