summaryrefslogtreecommitdiff
path: root/core/obex/obex.pro
authorkorovkin <korovkin>2006-12-03 14:09:33 (UTC)
committer korovkin <korovkin>2006-12-03 14:09:33 (UTC)
commita691909050b60b94f5525093062c23d0fab11d1b (patch) (side-by-side diff)
tree1e1d82e76d85cd75c094ae36441ec852bb5ac456 /core/obex/obex.pro
parent9813113f0024205e09af9e54328287dd859fa2e8 (diff)
downloadopie-a691909050b60b94f5525093062c23d0fab11d1b.zip
opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.gz
opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.bz2
Made OBEX library buildable if bluetooth support is disabled.
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
@@ -1,7 +1,7 @@
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
DESTDIR = $(OPIEDIR)/plugins/obex
INTERFACES = obexsendbase.ui
@@ -14,7 +14,11 @@ include( $(OPIEDIR)/include.pro )
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
LIBS += -lopietooth1 -lbluetooth -lopenobex
DEFINES += BLUETOOTH
-
+}