diff options
Diffstat (limited to 'audio/Makefile.am')
-rw-r--r-- | audio/Makefile.am | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am index 85025d5b..45afab3c 100644 --- a/audio/Makefile.am +++ b/audio/Makefile.am @@ -1,15 +1,23 @@ +if GLIB +glib_cflags = @GLIB_CFLAGS@ +glib_ldadd = @GLIB_LIBS@ +else +glib_cflags = +glib_ldadd = +endif + noinst_PROGRAMS = bt.audiod bt.headsetd bt_audiod_SOURCES = main.c -bt_audiod_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a +bt_audiod_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a bt_headsetd_SOURCES = headset.c -bt_headsetd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a +bt_headsetd_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ $(top_builddir)/common/libhelper.a -AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags) INCLUDES = -I$(top_srcdir)/common |