-rw-r--r-- | Rules.make | 7 | ||||
-rw-r--r-- | include.pro | 2 | ||||
-rw-r--r-- | libopie2/opiepim/opiepim.pro | 7 |
3 files changed, 12 insertions, 4 deletions
@@ -29,7 +29,12 @@ else | |||
29 | echo CONFIG -= quick-app >> $@ | 29 | echo CONFIG -= quick-app >> $@ |
30 | echo CONFIG += quick-app-bin >> $@ | 30 | echo CONFIG += quick-app-bin >> $@ |
31 | echo \} >> $@ | 31 | echo \} >> $@ |
32 | endif | 32 | endif |
33 | ifeq ($(CONFIG_SQL_PIM_BACKEND),y) | ||
34 | echo ENABLE_SQL_PIM_BACKEND=$(CONFIG_SQL_PIM_BACKEND) >> $@ | ||
35 | else | ||
36 | echo ENABLE_SQL_PIM_BACKEND=n >> $@ | ||
37 | endif | ||
33 | ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) | 38 | ifeq ($(CONFIG_OPIE_NO_OVERRIDE_QT),y) |
34 | echo CONFIG += no-override >> $@ | 39 | echo CONFIG += no-override >> $@ |
35 | endif | 40 | endif |
diff --git a/include.pro b/include.pro index c0019b0..c19e2f0 100644 --- a/include.pro +++ b/include.pro | |||
@@ -110,7 +110,7 @@ QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | |||
110 | # on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X | 110 | # on linux. Therefore I remove the "plugin" term, which is needed by MacOS-X |
111 | CONFIG -= plugin | 111 | CONFIG -= plugin |
112 | } | 112 | } |
113 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 113 | LIBS += -L$(OPIEDIR)/lib |
114 | 114 | ||
115 | MOC_DIR=.moc/$(PLATFORM) | 115 | MOC_DIR=.moc/$(PLATFORM) |
116 | OBJECTS_DIR=.obj/$(PLATFORM) | 116 | OBJECTS_DIR=.obj/$(PLATFORM) |
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 | |||
@@ -8,15 +8,18 @@ SOURCES = opimcontact.cpp opimcontactfields.cpp opimrecord.cpp opimtodo.cpp | |||
8 | opimnotifymanager.cpp opimevent.cpp | 8 | opimnotifymanager.cpp opimevent.cpp |
9 | INTERFACES = | 9 | INTERFACES = |
10 | TARGET = opiepim2 | 10 | TARGET = opiepim2 |
11 | VERSION = 1.8.3 | 11 | VERSION = 1.8.4 |
12 | INCLUDEPATH += $(OPIEDIR)/include | 12 | INCLUDEPATH += $(OPIEDIR)/include |
13 | DEPENDPATH += $(OPIEDIR)/include | 13 | DEPENDPATH += $(OPIEDIR)/include |
14 | LIBS += -lopiecore2 -lopiedb2 | 14 | LIBS += -lopiecore2 |
15 | 15 | ||
16 | include ( core/core.pro ) | 16 | include ( core/core.pro ) |
17 | include ( core/backends/backends.pro ) | 17 | include ( core/backends/backends.pro ) |
18 | include ( ui/ui.pro ) | 18 | include ( ui/ui.pro ) |
19 | 19 | ||
20 | contains( 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 | } |