summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore.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.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_Ecore.am')
-rw-r--r--src/Makefile_Ecore.am80
1 files changed, 27 insertions, 53 deletions
diff --git a/src/Makefile_Ecore.am b/src/Makefile_Ecore.am
index fe62dfd..7929314 100644
--- a/src/Makefile_Ecore.am
+++ b/src/Makefile_Ecore.am
@@ -1,46 +1,35 @@
1 1
2### Library 2### Library
3 3
4ecore_eolian_files_legacy = \
5 lib/ecore/ecore_timer.eo \
6 lib/ecore/ecore_poller.eo \
7 lib/ecore/ecore_job.eo \
8 lib/ecore/ecore_exe.eo \
9 lib/ecore/ecore_idler.eo \
10 lib/ecore/ecore_idle_enterer.eo \
11 lib/ecore/ecore_idle_exiter.eo \
12 lib/ecore/ecore_animator.eo
13
14ecore_eolian_files = \
15 $(ecore_eolian_files_legacy) \
16 lib/ecore/ecore_mainloop.eo \
17 lib/ecore/ecore_parent.eo
18
19ecore_eolian_c = $(ecore_eolian_files:%.eo=%.eo.c)
20ecore_eolian_h = $(ecore_eolian_files:%.eo=%.eo.h) \
21 $(ecore_eolian_files_legacy:%.eo=%.eo.legacy.h)
22
4BUILT_SOURCES += \ 23BUILT_SOURCES += \
5 lib/ecore/ecore_timer.eo.c \ 24 $(ecore_eolian_c) \
6 lib/ecore/ecore_timer.eo.h \ 25 $(ecore_eolian_h)
7 lib/ecore/ecore_timer.eo.legacy.h \ 26
8 lib/ecore/ecore_poller.eo.c \ 27CLEANFILES += \
9 lib/ecore/ecore_poller.eo.h \ 28 $(ecore_eolian_c) \
10 lib/ecore/ecore_poller.eo.legacy.h \ 29 $(ecore_eolian_h)
11 lib/ecore/ecore_exe.eo.c \
12 lib/ecore/ecore_exe.eo.h \
13 lib/ecore/ecore_exe.eo.legacy.h \
14 lib/ecore/ecore_job.eo.c \
15 lib/ecore/ecore_job.eo.h \
16 lib/ecore/ecore_job.eo.legacy.h \
17 lib/ecore/ecore_idler.eo.c \
18 lib/ecore/ecore_idler.eo.h \
19 lib/ecore/ecore_idler.eo.legacy.h \
20 lib/ecore/ecore_idle_enterer.eo.c \
21 lib/ecore/ecore_idle_enterer.eo.h \
22 lib/ecore/ecore_idle_exiter.eo.c \
23 lib/ecore/ecore_idle_exiter.eo.h \
24 lib/ecore/ecore_animator.eo.c \
25 lib/ecore/ecore_animator.eo.h \
26 lib/ecore/ecore_animator.eo.legacy.h \
27 lib/ecore/ecore_mainloop.eo.c \
28 lib/ecore/ecore_mainloop.eo.h \
29 lib/ecore/ecore_parent.eo.c \
30 lib/ecore/ecore_parent.eo.h
31 30
32ecoreeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@ 31ecoreeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
33ecoreeolianfiles_DATA = \ 32ecoreeolianfiles_DATA = $(ecore_eolian_files)
34 lib/ecore/ecore_timer.eo \
35 lib/ecore/ecore_poller.eo \
36 lib/ecore/ecore_job.eo \
37 lib/ecore/ecore_exe.eo \
38 lib/ecore/ecore_idler.eo \
39 lib/ecore/ecore_idle_enterer.eo \
40 lib/ecore/ecore_idle_exiter.eo \
41 lib/ecore/ecore_animator.eo \
42 lib/ecore/ecore_mainloop.eo \
43 lib/ecore/ecore_parent.eo
44 33
45EXTRA_DIST += \ 34EXTRA_DIST += \
46 ${ecoreeolianfiles_DATA} 35 ${ecoreeolianfiles_DATA}
@@ -56,22 +45,7 @@ lib/ecore/Ecore_Eo.h \
56lib/ecore/Ecore_Getopt.h 45lib/ecore/Ecore_Getopt.h
57 46
58nodist_installed_ecoremainheaders_DATA = \ 47nodist_installed_ecoremainheaders_DATA = \
59 lib/ecore/ecore_timer.eo.h \ 48 $(ecore_eolian_h)
60 lib/ecore/ecore_poller.eo.h \
61 lib/ecore/ecore_exe.eo.h \
62 lib/ecore/ecore_exe.eo.legacy.h \
63 lib/ecore/ecore_job.eo.h \
64 lib/ecore/ecore_idler.eo.h \
65 lib/ecore/ecore_idle_enterer.eo.h \
66 lib/ecore/ecore_idle_exiter.eo.h \
67 lib/ecore/ecore_animator.eo.h \
68 lib/ecore/ecore_mainloop.eo.h \
69 lib/ecore/ecore_parent.eo.h \
70 lib/ecore/ecore_timer.eo.legacy.h \
71 lib/ecore/ecore_poller.eo.legacy.h \
72 lib/ecore/ecore_job.eo.legacy.h \
73 lib/ecore/ecore_idler.eo.legacy.h \
74 lib/ecore/ecore_animator.eo.legacy.h
75 49
76lib_ecore_libecore_la_SOURCES = \ 50lib_ecore_libecore_la_SOURCES = \
77lib/ecore/ecore.c \ 51lib/ecore/ecore.c \