diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2007-01-15 10:49:43 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2007-01-15 10:49:43 +0000 |
commit | a567beac7aea3e557a436948572cb5fb5be91f42 (patch) | |
tree | 0fe14c5c74566b8d73bbcfa8e85529bff1fd95c1 | |
parent | 4107ee837ae309c89cdb2684b7c53d5d88407e97 (diff) |
Add compilation tweak for GLib support
-rw-r--r-- | transfer/Makefile.am | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/transfer/Makefile.am b/transfer/Makefile.am index 83a88b54..932ddd60 100644 --- a/transfer/Makefile.am +++ b/transfer/Makefile.am @@ -6,15 +6,23 @@ dbusdir = $(sysconfdir)/dbus-1/system.d dbus_DATA = bluetooth-transfer.conf endif +if GLIB +glib_cflags = @GLIB_CFLAGS@ +glib_ldadd = @GLIB_LIBS@ +else +glib_cflags = +glib_ldadd = +endif + noinst_PROGRAMS = transferd transferd_SOURCES = main.c -LDADD = $(top_builddir)/common/libhelper.a \ +LDADD = $(top_builddir)/common/libhelper.a $(glib_ldadd) \ @DBUS_LIBS@ @OPENOBEX_LIBS@ @BLUEZ_LIBS@ endif -AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENOBEX_CFLAGS@ @DBUS_CFLAGS@ +AM_CFLAGS = @BLUEZ_CFLAGS@ @OPENOBEX_CFLAGS@ @DBUS_CFLAGS@ $(glib_cflags) INCLUDES = -I$(top_srcdir)/common |