From becdaf89c860b153214b9367b406f050c7a164db Mon Sep 17 00:00:00 2001 From: Savio Sena Date: Fri, 12 Sep 2014 16:07:34 -0300 Subject: [PATCH] autotools: Renamed EOS variable in the Makefiles uniquely. EOS in Makefile_Efl.am becomes EFL_EOS. EOS in examples/eolian_cxx/Makefile.am becomes ECXX_EXAMPLE_EOS. --- src/Makefile_Efl.am | 16 +++++++++------- src/examples/eolian_cxx/Makefile.am | 6 +++--- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index 508c694ec2..b6ec7e3d38 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -1,21 +1,23 @@ -EOS = \ - lib/efl/interfaces/efl_control.eo \ +EFL_EOS = \ + lib/efl/interfaces/efl_control.eo \ lib/efl/interfaces/efl_file.eo \ lib/efl/interfaces/efl_image.eo \ lib/efl/interfaces/efl_player.eo \ lib/efl/interfaces/efl_text.eo \ lib/efl/interfaces/efl_text_properties.eo -EOS_H = $(EOS:%.eo=%.eo.h) -EOS_C = $(EOS:%.eo=%.eo.c) +EFL_EOS_H = $(EFL_EOS:%.eo=%.eo.h) +EFL_EOS_C = $(EFL_EOS:%.eo=%.eo.c) +BUILT_SOURCES += $(EFL_EOS_C) $(EFL_EOS_H) EXTRA_DIST += \ ${efleolianfiles_DATA} \ lib/efl/Efl_Config.h \ - lib/efl/Efl.h + lib/efl/Efl.h \ + $(EFL_EOS) efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@ -efleolianfiles_DATA = $(EOS) +efleolianfiles_DATA = $(EFL_EOS) lib_LTLIBRARIES += lib/efl/libefl.la @@ -31,4 +33,4 @@ dist_installed_eflheaders_DATA = \ lib/efl/Efl.h installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces -nodist_installed_eflinterfaces_DATA = $(EOS_H) +nodist_installed_eflinterfaces_DATA = $(EFL_EOS_H) diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am index 3a79db6bb7..a434aa5eca 100644 --- a/src/examples/eolian_cxx/Makefile.am +++ b/src/examples/eolian_cxx/Makefile.am @@ -69,7 +69,7 @@ GENERATED = \ BUILT_SOURCES = $(GENERATED) CLEANFILES += $(BUILT_SOURCES) -EOS = \ +ECXX_EXAMPLE_EOS = \ colourable.eo \ colourablesquare.eo @@ -97,7 +97,7 @@ EXTRA_PROGRAMS = \ eolian_cxx_eo_events_01 \ eolian_cxx_complex_types_01 -DATA_FILES = Makefile.examples $(EOS) +DATA_FILES = Makefile.examples $(ECXX_EXAMPLE_EOS) EXTRA_DIST = $(DATA_FILES) eolian_cxx_simple_01_SOURCES = \ @@ -137,7 +137,7 @@ eolian_cxx_complex_types_01_SOURCES = eolian_cxx_complex_types_01.cc %.eo.h: %.eo $(AM_V_EOL)$(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $< -examples: $(EOS) $(GENERATED) $(EXTRA_PROGRAMS) +examples: $(ECXX_EXAMPLE_EOS) $(GENERATED) $(EXTRA_PROGRAMS) clean-local: rm -f $(EXTRA_PROGRAMS) $(GENERATED)