summaryrefslogtreecommitdiff
path: root/Makefile.obexd
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-12-10 21:56:44 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-12-10 22:01:03 +0100
commit7004597f9f294b2ef981662517d8499bcc996e48 (patch)
tree9df64e3affb518a4ab00c57d168b017be208dd5b /Makefile.obexd
parent93a2c454bcc5ce055ebe9bcc7c8ef8fbfbada954 (diff)
downloadbluez-7004597f9f294b2ef981662517d8499bcc996e48.tar.gz
build: Add support for building Phonebook Access profile
Diffstat (limited to 'Makefile.obexd')
-rw-r--r--Makefile.obexd15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.obexd b/Makefile.obexd
index eacf7302e..ebdb1568b 100644
--- a/Makefile.obexd
+++ b/Makefile.obexd
@@ -27,6 +27,17 @@ obexd_builtin_sources += obexd/plugins/opp.c
obexd_builtin_modules += ftp
obexd_builtin_sources += obexd/plugins/ftp.c obexd/plugins/ftp.h
+obexd_builtin_modules += irmc
+obexd_builtin_sources += obexd/plugins/irmc.c
+
+if OBEX
+obexd_builtin_modules += pbap
+obexd_builtin_sources += obexd/plugins/pbap.c \
+ obexd/plugins/vcard.h obexd/plugins/vcard.c \
+ obexd/plugins/phonebook.h \
+ obexd/plugins/phonebook-dummy.c
+endif
+
libexec_PROGRAMS += obexd/src/obexd
@@ -43,11 +54,11 @@ obexd_src_obexd_SOURCES = $(gdbus_sources) $(btio_sources) $(gobex_sources) \
obexd/src/server.h obexd/src/server.c
obexd_src_obexd_LDADD = lib/libbluetooth-private.la \
- @DBUS_LIBS@ @GLIB_LIBS@ -ldl
+ @ICAL_LIBS@ @DBUS_LIBS@ @GLIB_LIBS@ -ldl
obexd_src_obexd_LDFLAGS = -Wl,--export-dynamic
-obexd_src_obexd_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ \
+obexd_src_obexd_CFLAGS = @GLIB_CFLAGS@ @DBUS_CFLAGS@ @ICAL_CFLAGS@ \
-DOBEX_PLUGIN_BUILTIN \
-DPLUGINDIR=\""$(obex_plugindir)"\" \
-fPIC -D_FILE_OFFSET_BITS=64