diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-12 00:37:42 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-12 00:37:42 +0000 |
commit | c97480f11bdfdc3cbb867b8127074bcb6b047024 (patch) | |
tree | 885dff3c4d9f46567af438af0e266acdc932f281 /daemon/Makefile.am | |
parent | b6f6c5cf2f85f27b277b891acf0a22c4a068bbbe (diff) |
Allow compilation against GLib
Diffstat (limited to 'daemon/Makefile.am')
-rw-r--r-- | daemon/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 67758137..be4b738f 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -1,9 +1,17 @@ +if GLIB +glib_cflags = @GLIB_CFLAGS@ +glib_ldadd = @GLIB_LIBS@ +else +glib_cflags = +glib_ldadd = +endif + noinst_PROGRAMS = bluetoothd bluetoothd_SOURCES = main.c -bluetoothd_LDADD = @DBUS_LIBS@ @BLUEZ_LIBS@ \ +bluetoothd_LDADD = $(glib_ldadd) @DBUS_LIBS@ @BLUEZ_LIBS@ \ $(top_builddir)/hcid/libhciserver.a \ $(top_builddir)/sdpd/libsdpserver.a \ $(top_builddir)/common/libhelper.a @@ -12,7 +20,7 @@ if EXPAT bluetoothd_LDADD += -lexpat endif -AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ +AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags) INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd |