summaryrefslogtreecommitdiff
path: root/core/obex/obex.pro
Side-by-side diff
Diffstat (limited to 'core/obex/obex.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/obex.pro10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/obex/obex.pro b/core/obex/obex.pro
index 1fc6958..05118ab 100644
--- a/core/obex/obex.pro
+++ b/core/obex/obex.pro
@@ -2,4 +2,4 @@ TEMPLATE = lib
CONFIG += qt warn_on
-HEADERS = obex.h btobex.h obexhandler.h obexsend.h receiver.h obeximpl.h obexbase.h obexserver.h
-SOURCES = obex.cpp btobex.cpp obexsend.cpp obexhandler.cpp receiver.cpp obeximpl.cpp obexbase.cpp obexserver.cpp
+HEADERS = obex.h obexhandler.h obexsend.h receiver.h obeximpl.h obexbase.h obexserver.h
+SOURCES = obex.cpp obexsend.cpp obexhandler.cpp receiver.cpp obeximpl.cpp obexbase.cpp obexserver.cpp
TARGET = opieobex
@@ -16,2 +16,6 @@ target.path = $$prefix/plugins/applets
#FIXME: These parameters are used if bluetooth is used
+CONFTEST = $$system( echo $CONFIG_LIBOPIETOOTH )
+contains( CONFTEST, y ){
+HEADERS += btobex.h
+SOURCES += btobex.cpp
INCLUDEPATH += $(OPIEDIR)/noncore/net/opietooth/lib
@@ -19,2 +23,2 @@ LIBS += -lopietooth1 -lbluetooth -lopenobex
DEFINES += BLUETOOTH
-
+}