summaryrefslogtreecommitdiff
path: root/libopie2
authormickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
committer mickeyl <mickeyl>2004-03-26 17:36:46 (UTC)
commit5df13d7b2acd41c54bed6253afac827bc864ea5a (patch) (unidiff)
tree8c3672a0be7f09094c0ec6658f98fd762108c17f /libopie2
parent5d2442fc6e0fb992b9fe3998cc7b9ee6dffb8e2b (diff)
downloadopie-5df13d7b2acd41c54bed6253afac827bc864ea5a.zip
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.gz
opie-5df13d7b2acd41c54bed6253afac827bc864ea5a.tar.bz2
conditionally link against -lopiedb, i.e. only when ENABLE_SQL_PIM_BACKEND=y
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/opiepim.pro7
1 files changed, 5 insertions, 2 deletions
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro
index b341819..c328315 100644
--- a/libopie2/opiepim/opiepim.pro
+++ b/libopie2/opiepim/opiepim.pro
@@ -1,27 +1,30 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on debug 2CONFIG += qt warn_on debug
3DESTDIR = $(OPIEDIR)/lib 3DESTDIR = $(OPIEDIR)/lib
4HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \ 4HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \
5 opimnotifymanager.h opimevent.h 5 opimnotifymanager.h opimevent.h
6 6
7SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotify.cpp \ 7SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp opimnotify.cpp \
8 opimnotifymanager.cpp opimevent.cpp 8 opimnotifymanager.cpp opimevent.cpp
9INTERFACES = 9INTERFACES =
10TARGET = opiepim2 10TARGET = opiepim2
11VERSION = 1.8.3 11VERSION = 1.8.4
12INCLUDEPATH += $(OPIEDIR)/include 12INCLUDEPATH += $(OPIEDIR)/include
13DEPENDPATH += $(OPIEDIR)/include 13DEPENDPATH += $(OPIEDIR)/include
14LIBS += -lopiecore2 -lopiedb2 14LIBS += -lopiecore2
15 15
16include ( core/core.pro ) 16include ( core/core.pro )
17include ( core/backends/backends.pro ) 17include ( core/backends/backends.pro )
18include ( ui/ui.pro ) 18include ( ui/ui.pro )
19 19
20contains( ENABLE_SQL_PIM_BACKEND, y )
21 LIBS += -lopiedb2
22
20!contains( platform, x11 ) { 23!contains( platform, x11 ) {
21 include ( $(OPIEDIR)/include.pro ) 24 include ( $(OPIEDIR)/include.pro )
22} 25}
23 26
24contains( platform, x11 ) { 27contains( platform, x11 ) {
25 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib 28 LIBS = -L$(OPIEDIR)/lib -Wl,-rpath,$(OPIEDIR)/lib
26} 29}
27 30