diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-09-01 22:12:46 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-09-01 22:12:46 +0200 |
commit | f9176c049a50a86013bdfe65001400cdfc6b64b9 (patch) | |
tree | 7a3f44c0fea60d512bd9df40a0f20aaa4f904361 /audio/Makefile.am | |
parent | f320b46a67cef55aacde64efa203403a386aed4c (diff) |
Fix building of telephony driver
Diffstat (limited to 'audio/Makefile.am')
-rw-r--r-- | audio/Makefile.am | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index 59c37c98..290633fb 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -1,26 +1,24 @@ +BUILT_SOURCES = telephony.c + if AUDIOPLUGIN plugindir = $(libdir)/bluetooth/plugins plugin_LTLIBRARIES = audio.la audio_la_SOURCES = main.c \ - ipc.h ipc.c unix.h unix.c manager.h manager.c telephony.c \ + ipc.h ipc.c unix.h unix.c manager.h manager.c telephony.h \ device.h device.c headset.h headset.c gateway.h gateway.c \ avdtp.h avdtp.c a2dp.h a2dp.c sink.h sink.c control.h control.c +nodist_audio_la_SOURCES = $(BUILT_SOURCES) + audio_la_LDFLAGS = -module -avoid-version -no-undefined \ -export-symbols-regex bluetooth_plugin_desc LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ -BUILT_SOURCES = telephony.c - -nodist_audio_la_SOURCES = $(BUILT_SOURCES) - -CLEANFILES = $(BUILT_SOURCES) - if ALSA alsadir = $(libdir)/alsa-lib @@ -59,6 +57,8 @@ endif AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ +CLEANFILES = $(BUILT_SOURCES) + INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src EXTRA_DIST = audio.conf audio-api.txt test-audio asound.conf \ @@ -68,6 +68,3 @@ MAINTAINERCLEANFILES = Makefile.in telephony.c: @TELEPHONY_DRIVER@ @if [ ! -e $@ ] ; then $(LN_S) $< $@ ; fi - -clean-local: - @rm -f telephony.c |