aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Con.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_Ecore_Con.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_Ecore_Con.am')
-rw-r--r--src/Makefile_Ecore_Con.am41
1 files changed, 18 insertions, 23 deletions
diff --git a/src/Makefile_Ecore_Con.am b/src/Makefile_Ecore_Con.am
index 3fecaa2fef..dbeb331f33 100644
--- a/src/Makefile_Ecore_Con.am
+++ b/src/Makefile_Ecore_Con.am
@@ -1,33 +1,28 @@
### Library
-ecorecon_eobuiltheaders = \
- lib/ecore_con/ecore_con_base.eo.h \
- lib/ecore_con/ecore_con_base.eo.legacy.h \
- lib/ecore_con/ecore_con_client.eo.h \
- lib/ecore_con/ecore_con_client.eo.legacy.h \
- lib/ecore_con/ecore_con_server.eo.h \
- lib/ecore_con/ecore_con_server.eo.legacy.h \
- lib/ecore_con/ecore_con_connector.eo.h \
- lib/ecore_con/ecore_con_connector.eo.legacy.h \
- lib/ecore_con/ecore_con_url.eo.h \
- lib/ecore_con/ecore_con_url.eo.legacy.h
+ecore_con_eolian_files = \
+ lib/ecore_con/ecore_con_base.eo \
+ lib/ecore_con/ecore_con_client.eo \
+ lib/ecore_con/ecore_con_server.eo \
+ lib/ecore_con/ecore_con_connector.eo \
+ lib/ecore_con/ecore_con_url.eo
+
+ecore_con_eolian_c = $(ecore_con_eolian_files:%.eo=%.eo.c)
+ecore_con_eolian_h = $(ecore_con_eolian_files:%.eo=%.eo.h) \
+ $(ecore_con_eolian_files:%.eo=%.eo.legacy.h)
BUILT_SOURCES += \
- ${ecorecon_eobuiltheaders} \
- lib/ecore_con/ecore_con_base.eo.c \
- lib/ecore_con/ecore_con_client.eo.c \
- lib/ecore_con/ecore_con_server.eo.c \
- lib/ecore_con/ecore_con_connector.eo.c \
- lib/ecore_con/ecore_con_url.eo.c
+ $(ecore_con_eolian_c) \
+ $(ecore_con_eolian_h)
+
+CLEANFILES += \
+ $(ecore_con_eolian_c) \
+ $(ecore_con_eolian_h)
ecoreconeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
ecoreconeolianfiles_DATA = \
- lib/ecore_con/ecore_con_base.eo \
- lib/ecore_con/ecore_con_client.eo \
- lib/ecore_con/ecore_con_server.eo \
- lib/ecore_con/ecore_con_connector.eo \
- lib/ecore_con/ecore_con_url.eo
+ $(ecore_con_eolian_files)
EXTRA_DIST += \
${ecoreconeolianfiles_DATA}
@@ -42,7 +37,7 @@ lib/ecore_con/Ecore_Con_Eo.h \
lib/ecore_con/Ecore_Con_Eet.h
nodist_installed_ecoreconmainheaders_DATA = \
- ${ecorecon_eobuiltheaders}
+ $(ecore_con_eolian_h)
lib_ecore_con_libecore_con_la_SOURCES = \
lib/ecore_con/ecore_con_alloc.c \