summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.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_Edje.am
parent308f000b394472d34560446baee51d67a339a426 (diff)
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_Edje.am')
-rw-r--r--src/Makefile_Edje.am27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index b09f0a3..c92372f 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -1,19 +1,25 @@
1 1
2### Library 2### Library
3 3
4edje_eolian_files = \
5 lib/edje/edje_object.eo \
6 lib/edje/edje_edit.eo
7
8edje_eolian_c = $(edje_eolian_files:%.eo=%.eo.c)
9edje_eolian_h = $(edje_eolian_files:%.eo=%.eo.h) \
10 $(edje_eolian_files:%.eo=%.eo.legacy.h)
11
4BUILT_SOURCES += \ 12BUILT_SOURCES += \
5 lib/edje/edje_object.eo.c \ 13 $(edje_eolian_c) \
6 lib/edje/edje_object.eo.h \ 14 $(edje_eolian_h)
7 lib/edje/edje_object.eo.legacy.h \
8 lib/edje/edje_edit.eo.c \
9 lib/edje/edje_edit.eo.h \
10 lib/edje/edje_edit.eo.legacy.h
11 15
16CLEANFILES += \
17 $(edje_eolian_c) \
18 $(edje_eolian_h)
12 19
13edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@ 20edjeeolianfilesdir = $(datadir)/eolian/include/edje-@VMAJ@
14edjeeolianfiles_DATA = \ 21edjeeolianfiles_DATA = \
15 lib/edje/edje_object.eo \ 22 $(edje_eolian_files)
16 lib/edje/edje_edit.eo
17 23
18EXTRA_DIST += \ 24EXTRA_DIST += \
19 ${edjeeolianfiles_DATA} 25 ${edjeeolianfiles_DATA}
@@ -40,10 +46,7 @@ lib/edje/Edje_Legacy.h \
40lib/edje/Edje_Edit.h 46lib/edje/Edje_Edit.h
41 47
42nodist_installed_edjemainheaders_DATA = \ 48nodist_installed_edjemainheaders_DATA = \
43 lib/edje/edje_object.eo.h \ 49 $(edje_eolian_h)
44 lib/edje/edje_edit.eo.h \
45 lib/edje/edje_object.eo.legacy.h \
46 lib/edje/edje_edit.eo.legacy.h
47 50
48lib_edje_libedje_la_SOURCES = \ 51lib_edje_libedje_la_SOURCES = \
49lib/edje/edje_private.h \ 52lib/edje/edje_private.h \