aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl.am
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-10-02 16:52:45 +0100
committerTom Hacohen <tom@stosb.com>2014-10-02 16:54:08 +0100
commit23143148f1a02b605bbdbc839e6d0c60dd6df300 (patch)
tree009be6d0f8516a87cd9090033cdbfe176b5ea6d2 /src/Makefile_Efl.am
parentevas: tests tgv file decoding. (diff)
downloadefl-23143148f1a02b605bbdbc839e6d0c60dd6df300.tar.gz
Build system: Clean up the generation of sources from eolian.
This cleans up a lot of the build system. This makes everything consistent, clean, less redundant and also fixes the issue of make clean not cleaning up generated files.
Diffstat (limited to 'src/Makefile_Efl.am')
-rw-r--r--src/Makefile_Efl.am21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am
index 9b8339fa5e..30815146d7 100644
--- a/src/Makefile_Efl.am
+++ b/src/Makefile_Efl.am
@@ -1,4 +1,4 @@
-EFL_EOS = \
+efl_eolian_files = \
lib/efl/interfaces/efl_control.eo \
lib/efl/interfaces/efl_file.eo \
lib/efl/interfaces/efl_image.eo \
@@ -6,17 +6,24 @@ EFL_EOS = \
lib/efl/interfaces/efl_text.eo \
lib/efl/interfaces/efl_text_properties.eo
-EFL_EOS_H = $(EFL_EOS:%.eo=%.eo.h)
-EFL_EOS_C = $(EFL_EOS:%.eo=%.eo.c)
+efl_eolian_files_h = $(efl_eolian_files:%.eo=%.eo.h)
+efl_eolian_files_c = $(efl_eolian_files:%.eo=%.eo.c)
+
+BUILT_SOURCES += \
+ $(efl_eolian_files_c) \
+ $(efl_eolian_files_h)
+
+CLEANFILES += \
+ $(efl_eolian_files_c) \
+ $(efl_eolian_files_h)
-BUILT_SOURCES += $(EFL_EOS_C) $(EFL_EOS_H)
EXTRA_DIST += \
lib/efl/Efl_Config.h \
lib/efl/Efl.h \
- $(EFL_EOS)
+ $(efl_eolian_files)
efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@
-efleolianfiles_DATA = $(EFL_EOS)
+efleolianfiles_DATA = $(efl_eolian_files)
lib_LTLIBRARIES += lib/efl/libefl.la
@@ -32,4 +39,4 @@ dist_installed_eflheaders_DATA = \
lib/efl/Efl.h
installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces
-nodist_installed_eflinterfaces_DATA = $(EFL_EOS_H)
+nodist_installed_eflinterfaces_DATA = $(efl_eolian_files_h)