summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Audio.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_Audio.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_Audio.am')
-rw-r--r--src/Makefile_Ecore_Audio.am50
1 files changed, 20 insertions, 30 deletions
diff --git a/src/Makefile_Ecore_Audio.am b/src/Makefile_Ecore_Audio.am
index 1f2d3f28b2..4aee10204a 100644
--- a/src/Makefile_Ecore_Audio.am
+++ b/src/Makefile_Ecore_Audio.am
@@ -2,31 +2,28 @@ if HAVE_ECORE_AUDIO
2 2
3### Library 3### Library
4 4
5ecore_audio_eolian_files = \
6 lib/ecore_audio/ecore_audio.eo \
7 lib/ecore_audio/ecore_audio_in.eo \
8 lib/ecore_audio/ecore_audio_out.eo \
9 lib/ecore_audio/ecore_audio_in_sndfile.eo \
10 lib/ecore_audio/ecore_audio_out_sndfile.eo \
11 lib/ecore_audio/ecore_audio_out_pulse.eo \
12 lib/ecore_audio/ecore_audio_in_tone.eo
13
14ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c)
15ecore_audio_eolian_h = $(ecore_audio_eolian_files:%.eo=%.eo.h)
16
5BUILT_SOURCES += \ 17BUILT_SOURCES += \
6 lib/ecore_audio/ecore_audio.eo.c \ 18 $(ecore_audio_eolian_c) \
7 lib/ecore_audio/ecore_audio.eo.h \ 19 $(ecore_audio_eolian_h)
8 lib/ecore_audio/ecore_audio_in.eo.c \ 20
9 lib/ecore_audio/ecore_audio_in.eo.h \ 21CLEANFILES += \
10 lib/ecore_audio/ecore_audio_out.eo.c \ 22 $(ecore_audio_eolian_c) \
11 lib/ecore_audio/ecore_audio_out.eo.h \ 23 $(ecore_audio_eolian_h)
12 lib/ecore_audio/ecore_audio_in_sndfile.eo.c \
13 lib/ecore_audio/ecore_audio_in_sndfile.eo.h \
14 lib/ecore_audio/ecore_audio_out_sndfile.eo.c \
15 lib/ecore_audio/ecore_audio_out_sndfile.eo.h \
16 lib/ecore_audio/ecore_audio_out_pulse.eo.c \
17 lib/ecore_audio/ecore_audio_out_pulse.eo.h \
18 lib/ecore_audio/ecore_audio_in_tone.eo.c \
19 lib/ecore_audio/ecore_audio_in_tone.eo.h
20 24
21ecore_audioeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@ 25ecore_audioeolianfilesdir = $(datadir)/eolian/include/ecore-@VMAJ@
22ecore_audioeolianfiles_DATA = \ 26ecore_audioeolianfiles_DATA = $(ecore_audio_eolian_files)
23 lib/ecore_audio/ecore_audio.eo \
24 lib/ecore_audio/ecore_audio_in.eo \
25 lib/ecore_audio/ecore_audio_out.eo \
26 lib/ecore_audio/ecore_audio_in_sndfile.eo \
27 lib/ecore_audio/ecore_audio_out_sndfile.eo \
28 lib/ecore_audio/ecore_audio_out_pulse.eo \
29 lib/ecore_audio/ecore_audio_in_tone.eo
30 27
31EXTRA_DIST += \ 28EXTRA_DIST += \
32 ${ecore_audioeolianfiles_DATA} 29 ${ecore_audioeolianfiles_DATA}
@@ -42,14 +39,7 @@ lib/ecore_audio/ecore_audio_obj_out.h \
42lib/ecore_audio/ecore_audio_obj_in_tone.h \ 39lib/ecore_audio/ecore_audio_obj_in_tone.h \
43lib/ecore_audio/ecore_audio_protected.h 40lib/ecore_audio/ecore_audio_protected.h
44 41
45nodist_installed_ecoreaudiomainheaders_DATA = \ 42nodist_installed_ecoreaudiomainheaders_DATA = $(ecore_audio_eolian_h)
46 lib/ecore_audio/ecore_audio.eo.h \
47 lib/ecore_audio/ecore_audio_in.eo.h \
48 lib/ecore_audio/ecore_audio_out.eo.h \
49 lib/ecore_audio/ecore_audio_in_sndfile.eo.h \
50 lib/ecore_audio/ecore_audio_out_sndfile.eo.h \
51 lib/ecore_audio/ecore_audio_out_pulse.eo.h \
52 lib/ecore_audio/ecore_audio_in_tone.eo.h
53 43
54lib_ecore_audio_libecore_audio_la_SOURCES = \ 44lib_ecore_audio_libecore_audio_la_SOURCES = \
55lib/ecore_audio/ecore_audio.c \ 45lib/ecore_audio/ecore_audio.c \