summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Audio.am
diff options
context:
space:
mode:
authorDaniel Willmann <d.willmann@samsung.com>2013-04-19 13:39:02 +0100
committerDaniel Willmann <d.willmann@samsung.com>2013-04-19 13:43:52 +0100
commitde265a994ac7e32f4b543df28798a793a7be1bef (patch)
treeb6769c2d44068e0e9c802c333dd6d68b3fdf0476 /src/Makefile_Ecore_Audio.am
parentfe292a34fba89e40287ba8b4d364edbe5d87ff3a (diff)
ecore_audio: Make efl compile with PA disabled again
Now instead of having ifdefs in the .c files we just don't compile the ones we don't need. Much cleaner. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
Diffstat (limited to 'src/Makefile_Ecore_Audio.am')
-rw-r--r--src/Makefile_Ecore_Audio.am26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/Makefile_Ecore_Audio.am b/src/Makefile_Ecore_Audio.am
index ded4d35785..06a3e03975 100644
--- a/src/Makefile_Ecore_Audio.am
+++ b/src/Makefile_Ecore_Audio.am
@@ -10,10 +10,7 @@ lib/ecore_audio/Ecore_Audio.h \
10lib/ecore_audio/ecore_audio_obj.h \ 10lib/ecore_audio/ecore_audio_obj.h \
11lib/ecore_audio/ecore_audio_obj_in.h \ 11lib/ecore_audio/ecore_audio_obj_in.h \
12lib/ecore_audio/ecore_audio_obj_out.h \ 12lib/ecore_audio/ecore_audio_obj_out.h \
13lib/ecore_audio/ecore_audio_obj_in_sndfile.h \
14lib/ecore_audio/ecore_audio_obj_out_sndfile.h \
15lib/ecore_audio/ecore_audio_obj_in_tone.h \ 13lib/ecore_audio/ecore_audio_obj_in_tone.h \
16lib/ecore_audio/ecore_audio_obj_out_pulse.h \
17lib/ecore_audio/ecore_audio_protected.h 14lib/ecore_audio/ecore_audio_protected.h
18 15
19 16
@@ -22,11 +19,7 @@ lib/ecore_audio/ecore_audio.c \
22lib/ecore_audio/ecore_audio_obj.c \ 19lib/ecore_audio/ecore_audio_obj.c \
23lib/ecore_audio/ecore_audio_obj_in.c \ 20lib/ecore_audio/ecore_audio_obj_in.c \
24lib/ecore_audio/ecore_audio_obj_out.c \ 21lib/ecore_audio/ecore_audio_obj_out.c \
25lib/ecore_audio/ecore_audio_obj_in_sndfile.c \
26lib/ecore_audio/ecore_audio_obj_out_sndfile.c \
27lib/ecore_audio/ecore_audio_obj_in_tone.c \ 22lib/ecore_audio/ecore_audio_obj_in_tone.c \
28lib/ecore_audio/ecore_audio_pulse_ml.c \
29lib/ecore_audio/ecore_audio_obj_out_pulse.c \
30lib/ecore_audio/ecore_audio_private.h 23lib/ecore_audio/ecore_audio_private.h
31 24
32lib_ecore_audio_libecore_audio_la_CPPFLAGS = @ECORE_AUDIO_CFLAGS@ 25lib_ecore_audio_libecore_audio_la_CPPFLAGS = @ECORE_AUDIO_CFLAGS@
@@ -34,4 +27,23 @@ lib_ecore_audio_libecore_audio_la_LIBADD = @ECORE_AUDIO_LIBS@
34lib_ecore_audio_libecore_audio_la_DEPENDENCIES = @ECORE_AUDIO_INTERNAL_LIBS@ 27lib_ecore_audio_libecore_audio_la_DEPENDENCIES = @ECORE_AUDIO_INTERNAL_LIBS@
35lib_ecore_audio_libecore_audio_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 28lib_ecore_audio_libecore_audio_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
36 29
30if HAVE_ECORE_AUDIO_PULSE
31dist_installed_ecoreaudiomainheaders_DATA += \
32lib/ecore_audio/ecore_audio_obj_out_pulse.h
33
34lib_ecore_audio_libecore_audio_la_SOURCES += \
35lib/ecore_audio/ecore_audio_pulse_ml.c \
36lib/ecore_audio/ecore_audio_obj_out_pulse.c
37endif
38
39if HAVE_ECORE_AUDIO_SNDFILE
40dist_installed_ecoreaudiomainheaders_DATA += \
41lib/ecore_audio/ecore_audio_obj_in_sndfile.h \
42lib/ecore_audio/ecore_audio_obj_out_sndfile.h
43
44lib_ecore_audio_libecore_audio_la_SOURCES += \
45lib/ecore_audio/ecore_audio_obj_in_sndfile.c \
46lib/ecore_audio/ecore_audio_obj_out_sndfile.c
47endif
48
37endif 49endif