-rw-r--r-- | libopie/libopie.pro | 13 | ||||
-rw-r--r-- | libopie2/opiepim/backend/backends.pro | 22 | ||||
-rw-r--r-- | libopie2/opiepim/opiepim.pro | 7 |
3 files changed, 18 insertions, 24 deletions
diff --git a/libopie/libopie.pro b/libopie/libopie.pro index 145743d..783c11d 100644 --- a/libopie/libopie.pro +++ b/libopie/libopie.pro | |||
@@ -1,5 +1,5 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qte warn_on release | 2 | CONFIG += qte warn_on |
3 | HEADERS = ofontmenu.h \ | 3 | HEADERS = ofontmenu.h \ |
4 | ocolorbutton.h \ | 4 | ocolorbutton.h \ |
5 | ofiledialog.h ofileselector.h \ | 5 | ofiledialog.h ofileselector.h \ |
@@ -95,17 +95,6 @@ DESTDIR = $(OPIEDIR)/lib$(PROJMAK) | |||
95 | 95 | ||
96 | LIBS += -lqpe | 96 | LIBS += -lqpe |
97 | 97 | ||
98 | # Add SQL-Support if selected by config (eilers) | ||
99 | CONFTEST = $$system( echo $CONFIG_SQL_PIM_BACKEND ) | ||
100 | contains( CONFTEST, y ){ | ||
101 | |||
102 | DEFINES += __USE_SQL | ||
103 | LIBS += -lopiedb2 | ||
104 | HEADERS += pim/otodoaccesssql.h pim/ocontactaccessbackend_sql.h pim/odatebookaccessbackend_sql.h | ||
105 | SOURCES += pim/otodoaccesssql.cpp pim/ocontactaccessbackend_sql.cpp pim/odatebookaccessbackend_sql.cpp | ||
106 | |||
107 | } | ||
108 | |||
109 | INTERFACES = otimepickerbase.ui orecurrancebase.ui | 98 | INTERFACES = otimepickerbase.ui orecurrancebase.ui |
110 | TARGET = opie | 99 | TARGET = opie |
111 | 100 | ||
diff --git a/libopie2/opiepim/backend/backends.pro b/libopie2/opiepim/backend/backends.pro index 953d928..7049aab 100644 --- a/libopie2/opiepim/backend/backends.pro +++ b/libopie2/opiepim/backend/backends.pro | |||
@@ -1,4 +1,4 @@ | |||
1 | SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ | 1 | SOURCES += \ |
2 | core/backends/ocontactaccessbackend_vcard.cpp \ | 2 | core/backends/ocontactaccessbackend_vcard.cpp \ |
3 | core/backends/ocontactaccessbackend_xml.cpp \ | 3 | core/backends/ocontactaccessbackend_xml.cpp \ |
4 | core/backends/ocontactaccess.cpp \ | 4 | core/backends/ocontactaccess.cpp \ |
@@ -9,23 +9,31 @@ SOURCES += core/backends/ocontactaccessbackend_sql.cpp \ | |||
9 | core/backends/otodoaccesssql.cpp \ | 9 | core/backends/otodoaccesssql.cpp \ |
10 | core/backends/otodoaccessvcal.cpp \ | 10 | core/backends/otodoaccessvcal.cpp \ |
11 | core/backends/otodoaccessxml.cpp \ | 11 | core/backends/otodoaccessxml.cpp \ |
12 | core/backends/odatebookaccess.cpp \ | 12 | core/backends/odatebookaccess.cpp |
13 | core/backends/odatebookaccessbackend_sql.cpp | ||
14 | 13 | ||
15 | HEADERS += core/backends/obackendfactory.h \ | 14 | HEADERS += \ |
15 | core/backends/obackendfactory.h \ | ||
16 | core/backends/ocontactaccessbackend.h \ | 16 | core/backends/ocontactaccessbackend.h \ |
17 | core/backends/ocontactaccessbackend_sql.h \ | ||
18 | core/backends/ocontactaccessbackend_vcard.h \ | 17 | core/backends/ocontactaccessbackend_vcard.h \ |
19 | core/backends/ocontactaccessbackend_xml.h \ | 18 | core/backends/ocontactaccessbackend_xml.h \ |
20 | core/backends/ocontactaccess.h \ | 19 | core/backends/ocontactaccess.h \ |
21 | core/backends/odatebookaccessbackend.h \ | 20 | core/backends/odatebookaccessbackend.h \ |
22 | core/backends/odatebookaccessbackend_sql.h \ | ||
23 | core/backends/odatebookaccessbackend_xml.h \ | 21 | core/backends/odatebookaccessbackend_xml.h \ |
24 | core/backends/opimaccessbackend.h \ | 22 | core/backends/opimaccessbackend.h \ |
25 | core/backends/opimaccesstemplate.h \ | 23 | core/backends/opimaccesstemplate.h \ |
26 | core/backends/otodoaccessbackend.h \ | 24 | core/backends/otodoaccessbackend.h \ |
27 | core/backends/otodoaccess.h \ | 25 | core/backends/otodoaccess.h \ |
28 | core/backends/otodoaccesssql.h \ | ||
29 | core/backends/otodoaccessvcal.h \ | 26 | core/backends/otodoaccessvcal.h \ |
30 | core/backends/otodoaccessxml.h \ | 27 | core/backends/otodoaccessxml.h \ |
31 | core/backends/odatebookaccess.h | 28 | core/backends/odatebookaccess.h |
29 | |||
30 | contains( ENABLE_SQL_PIM_BACKEND, y ) { | ||
31 | DEFINES += __USE_SQL | ||
32 | LIBS += -lopiedb2 | ||
33 | HEADERS += core/backends/otodoaccesssql.h \ | ||
34 | core/backends/ocontactaccessbackend_sql.h \ | ||
35 | core/backends/odatebookaccessbackend_sql.h | ||
36 | SOURCES += core/backends/otodoaccesssql.cpp \ | ||
37 | core/backends/ocontactaccessbackend_sql.cpp \ | ||
38 | core/backends/odatebookaccessbackend_sql.cpp | ||
39 | } | ||
diff --git a/libopie2/opiepim/opiepim.pro b/libopie2/opiepim/opiepim.pro index c328315..416765e 100644 --- a/libopie2/opiepim/opiepim.pro +++ b/libopie2/opiepim/opiepim.pro | |||
@@ -1,5 +1,5 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qt warn_on debug | 2 | CONFIG += qt warn_on |
3 | DESTDIR = $(OPIEDIR)/lib | 3 | DESTDIR = $(OPIEDIR)/lib |
4 | HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \ | 4 | HEADERS = opimcontact.h opimcontactfields.h opimrecord.h opimtodo.h opimnotify.h \ |
5 | opimnotifymanager.h opimevent.h | 5 | opimnotifymanager.h opimevent.h |
@@ -8,7 +8,7 @@ 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.4 | 11 | VERSION = 1.8.5 |
12 | INCLUDEPATH += $(OPIEDIR)/include | 12 | INCLUDEPATH += $(OPIEDIR)/include |
13 | DEPENDPATH += $(OPIEDIR)/include | 13 | DEPENDPATH += $(OPIEDIR)/include |
14 | LIBS += -lopiecore2 | 14 | LIBS += -lopiecore2 |
@@ -17,9 +17,6 @@ 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 | |||
23 | !contains( platform, x11 ) { | 20 | !contains( platform, x11 ) { |
24 | include ( $(OPIEDIR)/include.pro ) | 21 | include ( $(OPIEDIR)/include.pro ) |
25 | } | 22 | } |